Package net.glowstone.block.blocktype
Class BlockMagma
java.lang.Object
net.glowstone.block.itemtype.ItemType
net.glowstone.block.blocktype.BlockType
net.glowstone.block.blocktype.BlockNeedsTool
net.glowstone.block.blocktype.BlockDirectDrops
net.glowstone.block.blocktype.BlockMagma
-
Nested Class Summary
Nested classes/interfaces inherited from class net.glowstone.block.itemtype.ItemType
ItemType.Context
-
Field Summary
Fields inherited from class net.glowstone.block.blocktype.BlockType
ADJACENT, drops, placeSound, SIDES, soundGroup
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onEntityStep
(GlowBlock block, org.bukkit.entity.LivingEntity entity) Called when an entity gets updated on top of the block.Methods inherited from class net.glowstone.block.blocktype.BlockDirectDrops
getDrops, getMinedDrops, getNeededMiningTool
Methods inherited from class net.glowstone.block.blocktype.BlockNeedsTool
getDrops
Methods inherited from class net.glowstone.block.blocktype.BlockType
afterDestroy, afterPlace, blockDestroy, blockInteract, canAbsorb, canOverride, canPlaceAt, canTickRandomly, createBlockEntity, getCastedBlockData, getOppositeBlockFace, getPlaceAs, getPlaceSound, getPulseTickSpeed, getSoundGroup, isPulseOnce, leftClickBlock, onBlockChanged, onNearBlockChanged, onRedstoneUpdate, placeBlock, receivePulse, requestPulse, rightClickBlock, setDrops, setPlaceSound, updateBlock, updatePhysics, updatePhysicsAfterEvent, warnMaterialData
Methods inherited from class net.glowstone.block.itemtype.ItemType
getContext, getMaterial, getMaterials, getMaxStackSize, rightClickAir, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toString
-
Constructor Details
-
BlockMagma
public BlockMagma()
-
-
Method Details
-
onEntityStep
Description copied from class:BlockType
Called when an entity gets updated on top of the block.- Overrides:
onEntityStep
in classBlockType
- Parameters:
block
- the block that was stepped onentity
- the entity
-