public abstract class GlowContainer extends GlowBlockState implements com.destroystokyo.paper.loottable.LootableBlockInventory, org.bukkit.block.Lockable, org.bukkit.Nameable, org.bukkit.block.Container
data, typeId| Constructor and Description |
|---|
GlowContainer(GlowBlock block) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearLootTable() |
String |
getCustomName() |
long |
getLastFilled() |
Long |
getLastLooted(UUID uuid) |
String |
getLock() |
String |
getLootTableName() |
long |
getLootTableSeed() |
long |
getNextRefill() |
org.bukkit.inventory.Inventory |
getSnapshotInventory() |
boolean |
hasBeenFilled() |
boolean |
hasLootTable() |
boolean |
hasPendingRefill() |
boolean |
hasPlayerLooted(UUID uuid) |
boolean |
isLocked() |
boolean |
isRefillEnabled() |
void |
setCustomName(String customName) |
boolean |
setHasPlayerLooted(UUID uuid,
boolean b) |
void |
setLock(String lock) |
String |
setLootTable(String name) |
String |
setLootTable(String name,
long seed) |
long |
setLootTableSeed(long seed) |
long |
setNextRefill(long l) |
equals, getBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getMetadata, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, hashCode, hasMetadata, isFlowed, isPlaced, removeMetadata, setData, setFlowed, setMetadata, setRawData, setType, setTypeId, update, update, updateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetLastLooted, hasPlayerLooted, setHasPlayerLootedpublic GlowContainer(GlowBlock block)
public String getLootTableName()
getLootTableName in interface com.destroystokyo.paper.loottable.Lootablepublic boolean hasLootTable()
hasLootTable in interface com.destroystokyo.paper.loottable.Lootablepublic String setLootTable(String name)
setLootTable in interface com.destroystokyo.paper.loottable.Lootablepublic String setLootTable(String name, long seed)
setLootTable in interface com.destroystokyo.paper.loottable.Lootablepublic long getLootTableSeed()
getLootTableSeed in interface com.destroystokyo.paper.loottable.Lootablepublic long setLootTableSeed(long seed)
setLootTableSeed in interface com.destroystokyo.paper.loottable.Lootablepublic void clearLootTable()
clearLootTable in interface com.destroystokyo.paper.loottable.Lootablepublic boolean isRefillEnabled()
isRefillEnabled in interface com.destroystokyo.paper.loottable.LootableInventorypublic boolean hasBeenFilled()
hasBeenFilled in interface com.destroystokyo.paper.loottable.LootableInventorypublic boolean hasPlayerLooted(UUID uuid)
hasPlayerLooted in interface com.destroystokyo.paper.loottable.LootableInventorypublic Long getLastLooted(UUID uuid)
getLastLooted in interface com.destroystokyo.paper.loottable.LootableInventorypublic boolean setHasPlayerLooted(UUID uuid, boolean b)
setHasPlayerLooted in interface com.destroystokyo.paper.loottable.LootableInventorypublic boolean hasPendingRefill()
hasPendingRefill in interface com.destroystokyo.paper.loottable.LootableInventorypublic long getLastFilled()
getLastFilled in interface com.destroystokyo.paper.loottable.LootableInventorypublic long getNextRefill()
getNextRefill in interface com.destroystokyo.paper.loottable.LootableInventorypublic long setNextRefill(long l)
setNextRefill in interface com.destroystokyo.paper.loottable.LootableInventorypublic boolean isLocked()
isLocked in interface org.bukkit.block.Lockablepublic org.bukkit.inventory.Inventory getSnapshotInventory()
getSnapshotInventory in interface org.bukkit.block.Containerpublic String getLock()
getLock in interface org.bukkit.block.Lockablepublic void setLock(String lock)
setLock in interface org.bukkit.block.Lockablepublic String getCustomName()
getCustomName in interface org.bukkit.Nameablepublic void setCustomName(String customName)
setCustomName in interface org.bukkit.NameableCopyright © 2021. All rights reserved.