public class BlockMagma extends BlockDirectDrops
ItemType.Context
ADJACENT, drops, placeSound, SIDES
Constructor and Description |
---|
BlockMagma() |
Modifier and Type | Method and Description |
---|---|
void |
onEntityStep(GlowBlock block,
org.bukkit.entity.LivingEntity entity)
Called when an entity gets updated on top of the block.
|
getDrops, getMinedDrops, getNeededMiningTool
getDrops
afterDestroy, afterPlace, blockDestroy, blockInteract, canAbsorb, canOverride, canPlaceAt, canTickRandomly, createBlockEntity, getOppositeBlockFace, getPlaceAs, getPlaceSound, getPulseTickSpeed, isPulseOnce, leftClickBlock, onBlockChanged, onNearBlockChanged, onRedstoneUpdate, placeBlock, receivePulse, requestPulse, rightClickBlock, setDrops, setPlaceSound, updateBlock, updatePhysics, updatePhysicsAfterEvent, warnMaterialData
getContext, getId, getMaterial, getMaxStackSize, rightClickAir, setId, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toString
public void onEntityStep(GlowBlock block, org.bukkit.entity.LivingEntity entity)
BlockType
onEntityStep
in class BlockType
block
- the block that was stepped onentity
- the entityCopyright © 2021. All rights reserved.