Package net.glowstone.block.blocktype
Class BlockLava
java.lang.Object
net.glowstone.block.itemtype.ItemType
net.glowstone.block.blocktype.BlockType
net.glowstone.block.blocktype.BlockLiquid
net.glowstone.block.blocktype.BlockLava
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisCollectible(GlowBlockState target) Check if the BlockState block is collectible by a bucket.voidupdateBlock(GlowBlock block) Called when this block needs to be updated.Methods inherited from class net.glowstone.block.blocktype.BlockLiquid
getBucketType, getPulseTickSpeed, isPulseOnce, onNearBlockChanged, placeBlock, receivePulse, updatePhysicsAfterEventMethods inherited from class net.glowstone.block.blocktype.BlockType
afterDestroy, afterPlace, blockDestroy, blockInteract, canAbsorb, canOverride, canPlaceAt, canTickRandomly, createBlockEntity, getCastedBlockData, getDrops, getMinedDrops, getOppositeBlockFace, getPlaceAs, getPlaceSound, getSoundGroup, leftClickBlock, onBlockChanged, onEntityStep, onRedstoneUpdate, requestPulse, rightClickBlock, setDrops, setPlaceSound, updatePhysics, warnMaterialDataMethods inherited from class net.glowstone.block.itemtype.ItemType
getContext, getMaterial, getMaterials, getMaxStackSize, rightClickAir, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toString
-
Constructor Details
-
BlockLava
public BlockLava()
-
-
Method Details
-
isCollectible
Description copied from class:BlockLiquidCheck if the BlockState block is collectible by a bucket.- Specified by:
isCollectiblein classBlockLiquid- Parameters:
target- The block state to check- Returns:
- Boolean representing if its collectible
-
updateBlock
Description copied from class:BlockTypeCalled when this block needs to be updated.- Overrides:
updateBlockin classBlockType- Parameters:
block- The block that needs an update
-