public class BlockStone extends BlockNeedsTool
ItemType.Context
ADJACENT, drops, placeSound, SIDES
Constructor and Description |
---|
BlockStone() |
Modifier and Type | Method and Description |
---|---|
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) |
getDrops
afterDestroy, afterPlace, blockDestroy, blockInteract, canAbsorb, canOverride, canPlaceAt, canTickRandomly, createBlockEntity, getOppositeBlockFace, getPlaceAs, getPlaceSound, getPulseTickSpeed, isPulseOnce, leftClickBlock, onBlockChanged, onEntityStep, onNearBlockChanged, onRedstoneUpdate, placeBlock, receivePulse, requestPulse, rightClickBlock, setDrops, setPlaceSound, updateBlock, updatePhysics, updatePhysicsAfterEvent, warnMaterialData
getContext, getId, getMaterial, getMaxStackSize, rightClickAir, setId, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toString
protected MaterialMatcher getNeededMiningTool(GlowBlock block)
getNeededMiningTool
in class BlockNeedsTool
public Collection<org.bukkit.inventory.ItemStack> getMinedDrops(GlowBlock block)
BlockType
getMinedDrops
in class BlockType
block
- The block.Copyright © 2021. All rights reserved.