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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isCollectible
(GlowBlockState target) Check if the BlockState block is collectible by a bucket.void
updateBlock
(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, updatePhysicsAfterEvent
Methods 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, warnMaterialData
Methods 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:BlockLiquid
Check if the BlockState block is collectible by a bucket.- Specified by:
isCollectible
in classBlockLiquid
- Parameters:
target
- The block state to check- Returns:
- Boolean representing if its collectible
-
updateBlock
Description copied from class:BlockType
Called when this block needs to be updated.- Overrides:
updateBlock
in classBlockType
- Parameters:
block
- The block that needs an update
-