public class BlockCauldron extends BlockNeedsTool
ItemType.ContextADJACENT, drops, placeSound, SIDES| Constructor and Description |
|---|
BlockCauldron() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
blockInteract(GlowPlayer player,
GlowBlock block,
org.bukkit.block.BlockFace face,
org.bukkit.util.Vector clickedLoc)
Called when a player attempts to interact with (right-click) a block of this type already in
the world.
|
Collection<org.bukkit.inventory.ItemStack> |
getMinedDrops(GlowBlock block)
Get the items that would be dropped if the block was successfully mined.
|
protected MaterialMatcher |
getNeededMiningTool(GlowBlock block) |
getDropsafterDestroy, afterPlace, blockDestroy, canAbsorb, canOverride, canPlaceAt, canTickRandomly, createBlockEntity, getOppositeBlockFace, getPlaceAs, getPlaceSound, getPulseTickSpeed, isPulseOnce, leftClickBlock, onBlockChanged, onEntityStep, onNearBlockChanged, onRedstoneUpdate, placeBlock, receivePulse, requestPulse, rightClickBlock, setDrops, setPlaceSound, updateBlock, updatePhysics, updatePhysicsAfterEvent, warnMaterialDatagetContext, getId, getMaterial, getMaxStackSize, rightClickAir, setId, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toStringpublic boolean blockInteract(GlowPlayer player, GlowBlock block, org.bukkit.block.BlockFace face, org.bukkit.util.Vector clickedLoc)
BlockTypeblockInteract in class BlockTypeplayer - the player interactingblock - the block interacted withface - the clicked faceclickedLoc - where in the block the click occurredpublic Collection<org.bukkit.inventory.ItemStack> getMinedDrops(GlowBlock block)
BlockTypegetMinedDrops in class BlockTypeblock - The block.protected MaterialMatcher getNeededMiningTool(GlowBlock block)
getNeededMiningTool in class BlockNeedsToolCopyright © 2021. All rights reserved.