public interface StackedBarrel extends StackedObject<org.bukkit.block.Block>
Modifier and Type | Method and Description |
---|---|
void |
createDisplayBlock()
Display the block armor-stand inside the cauldron.
|
org.bukkit.inventory.ItemStack |
getBarrelItem(int amount)
Get the block inside the item as an item-stack.
|
org.bukkit.block.Block |
getBlock()
Get the block object of bukkit.
|
short |
getData()
Get the data value of the block that is inside the barrel..
|
org.bukkit.entity.ArmorStand |
getDisplayBlock()
Get the block armor-stand inside the cauldron.
|
org.bukkit.Material |
getType()
Get the material type of the block that is inside the barrel.
|
void |
removeDisplayBlock()
Destroy the block armor-stand inside the cauldron.
|
canStackInto, getLocation, getMergeRadius, getStackAmount, getStackLimit, getWorld, isBlacklisted, isCached, isSimilar, isWhitelisted, isWorldDisabled, remove, runStack, runStack, runStackAsync, runStackCheck, runUnstack, runUnstack, setStackAmount, spawnStackParticle, tryStack, tryStackInto, tryUnstack, updateName
org.bukkit.block.Block getBlock()
org.bukkit.Material getType()
short getData()
void createDisplayBlock()
void removeDisplayBlock()
org.bukkit.entity.ArmorStand getDisplayBlock()
org.bukkit.inventory.ItemStack getBarrelItem(int amount)
amount
- the amount of the item-stack.