public class BlockConcretePowder extends BlockFalling
ItemType.ContextADJACENT, drops, placeSound, SIDES| Constructor and Description |
|---|
BlockConcretePowder() |
| Modifier and Type | Method and Description |
|---|---|
void |
onBlockChanged(GlowBlock block,
org.bukkit.Material oldType,
byte oldData,
org.bukkit.Material newType,
byte data)
Called when this block has just changed to some other type.
|
void |
onNearBlockChanged(GlowBlock me,
org.bukkit.block.BlockFace face,
GlowBlock other,
org.bukkit.Material oldType,
byte oldData,
org.bukkit.Material newType,
byte newData)
Called when a neighboring block (within a 3x3x3 cube) has changed its type or data and
physics checks should occur.
|
afterPlace, transformToFallingEntity, updatePhysicsAfterEventafterDestroy, blockDestroy, blockInteract, canAbsorb, canOverride, canPlaceAt, canTickRandomly, createBlockEntity, getDrops, getMinedDrops, getOppositeBlockFace, getPlaceAs, getPlaceSound, getPulseTickSpeed, isPulseOnce, leftClickBlock, onEntityStep, onRedstoneUpdate, placeBlock, receivePulse, requestPulse, rightClickBlock, setDrops, setPlaceSound, updateBlock, updatePhysics, warnMaterialDatagetContext, getId, getMaterial, getMaxStackSize, rightClickAir, setId, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toStringpublic void onNearBlockChanged(GlowBlock me, org.bukkit.block.BlockFace face, GlowBlock other, org.bukkit.Material oldType, byte oldData, org.bukkit.Material newType, byte newData)
BlockTypeonNearBlockChanged in class BlockFallingme - The block to perform physics checks forface - The BlockFace to the changed block, or null if unavailableother - The neighboring block that has changedoldType - The old type of the changed blockoldData - The old data of the changed blocknewType - The new type of the changed blocknewData - The new data of the changed blockpublic void onBlockChanged(GlowBlock block, org.bukkit.Material oldType, byte oldData, org.bukkit.Material newType, byte data)
BlockTypeThis is called whenever GlowBlock.setTypeIdAndData(int, byte, boolean), GlowBlock.setType(org.bukkit.Material)
or GlowBlock.setData(byte) is called with physics enabled, and might
be called from plugins or other means of changing the block.
onBlockChanged in class BlockTypeblock - The block that was changedoldType - The old MaterialoldData - The old datanewType - The new Materialdata - The new dataCopyright © 2021. All rights reserved.