public class BlockIce extends BlockType
ItemType.ContextADJACENT, drops, placeSound, SIDES| Constructor and Description |
|---|
BlockIce() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canTickRandomly()
Called to check if this block can perform random tick updates.
|
Collection<org.bukkit.inventory.ItemStack> |
getDrops(GlowBlock me,
org.bukkit.inventory.ItemStack tool)
Get the items that will be dropped by digging the block.
|
void |
updateBlock(GlowBlock block)
Called when this block needs to be updated.
|
afterDestroy, afterPlace, blockDestroy, blockInteract, canAbsorb, canOverride, canPlaceAt, createBlockEntity, getMinedDrops, getOppositeBlockFace, getPlaceAs, getPlaceSound, getPulseTickSpeed, isPulseOnce, leftClickBlock, onBlockChanged, onEntityStep, onNearBlockChanged, onRedstoneUpdate, placeBlock, receivePulse, requestPulse, rightClickBlock, setDrops, setPlaceSound, updatePhysics, updatePhysicsAfterEvent, warnMaterialDatagetContext, getId, getMaterial, getMaxStackSize, rightClickAir, setId, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toStringpublic Collection<org.bukkit.inventory.ItemStack> getDrops(GlowBlock me, org.bukkit.inventory.ItemStack tool)
BlockTypepublic boolean canTickRandomly()
BlockTypecanTickRandomly in class BlockTypepublic void updateBlock(GlowBlock block)
BlockTypeupdateBlock in class BlockTypeblock - The block that needs an updateCopyright © 2021. All rights reserved.