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, update
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getLastLooted, hasPlayerLooted, setHasPlayerLooted
public GlowContainer(GlowBlock block)
public String getLootTableName()
getLootTableName
in interface com.destroystokyo.paper.loottable.Lootable
public boolean hasLootTable()
hasLootTable
in interface com.destroystokyo.paper.loottable.Lootable
public String setLootTable(String name)
setLootTable
in interface com.destroystokyo.paper.loottable.Lootable
public String setLootTable(String name, long seed)
setLootTable
in interface com.destroystokyo.paper.loottable.Lootable
public long getLootTableSeed()
getLootTableSeed
in interface com.destroystokyo.paper.loottable.Lootable
public long setLootTableSeed(long seed)
setLootTableSeed
in interface com.destroystokyo.paper.loottable.Lootable
public void clearLootTable()
clearLootTable
in interface com.destroystokyo.paper.loottable.Lootable
public boolean isRefillEnabled()
isRefillEnabled
in interface com.destroystokyo.paper.loottable.LootableInventory
public boolean hasBeenFilled()
hasBeenFilled
in interface com.destroystokyo.paper.loottable.LootableInventory
public boolean hasPlayerLooted(UUID uuid)
hasPlayerLooted
in interface com.destroystokyo.paper.loottable.LootableInventory
public Long getLastLooted(UUID uuid)
getLastLooted
in interface com.destroystokyo.paper.loottable.LootableInventory
public boolean setHasPlayerLooted(UUID uuid, boolean b)
setHasPlayerLooted
in interface com.destroystokyo.paper.loottable.LootableInventory
public boolean hasPendingRefill()
hasPendingRefill
in interface com.destroystokyo.paper.loottable.LootableInventory
public long getLastFilled()
getLastFilled
in interface com.destroystokyo.paper.loottable.LootableInventory
public long getNextRefill()
getNextRefill
in interface com.destroystokyo.paper.loottable.LootableInventory
public long setNextRefill(long l)
setNextRefill
in interface com.destroystokyo.paper.loottable.LootableInventory
public boolean isLocked()
isLocked
in interface org.bukkit.block.Lockable
public org.bukkit.inventory.Inventory getSnapshotInventory()
getSnapshotInventory
in interface org.bukkit.block.Container
public String getLock()
getLock
in interface org.bukkit.block.Lockable
public void setLock(String lock)
setLock
in interface org.bukkit.block.Lockable
public String getCustomName()
getCustomName
in interface org.bukkit.Nameable
public void setCustomName(String customName)
setCustomName
in interface org.bukkit.Nameable
Copyright © 2021. All rights reserved.