public class BlockPotato extends BlockCrops
ItemType.ContextADJACENT, drops, placeSound, SIDES| Constructor and Description |
|---|
BlockPotato() |
| Modifier and Type | Method and Description |
|---|---|
Collection<org.bukkit.inventory.ItemStack> |
getDrops(GlowBlock block,
org.bukkit.inventory.ItemStack tool)
Get the items that will be dropped by digging the block.
|
canGrowWithChance, canPlaceAt, canTickRandomly, getGrowthRateModifier, grow, isFertilizable, updateBlockcanAttachTo, dropMe, getAttachedFace, onNearBlockChanged, updatePhysicsAfterEventafterDestroy, afterPlace, blockDestroy, blockInteract, canAbsorb, canOverride, createBlockEntity, getMinedDrops, getOppositeBlockFace, getPlaceAs, getPlaceSound, getPulseTickSpeed, isPulseOnce, leftClickBlock, onBlockChanged, onEntityStep, onRedstoneUpdate, placeBlock, receivePulse, requestPulse, rightClickBlock, setDrops, setPlaceSound, updatePhysics, warnMaterialDatagetContext, getId, getMaterial, getMaxStackSize, rightClickAir, setId, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toStringpublic Collection<org.bukkit.inventory.ItemStack> getDrops(GlowBlock block, org.bukkit.inventory.ItemStack tool)
BlockTypegetDrops in class BlockCropsblock - The block being dug.tool - The tool used or null if fists or no tool was used.Copyright © 2021. All rights reserved.