public class BlockWater extends BlockLiquid
ItemType.Context
ADJACENT, drops, placeSound, SIDES
Constructor and Description |
---|
BlockWater() |
Modifier and Type | Method and Description |
---|---|
boolean |
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.
|
getBucketType, getPulseTickSpeed, isPulseOnce, onNearBlockChanged, placeBlock, receivePulse, updatePhysicsAfterEvent
afterDestroy, afterPlace, blockDestroy, blockInteract, canAbsorb, canOverride, canPlaceAt, canTickRandomly, createBlockEntity, getDrops, getMinedDrops, getOppositeBlockFace, getPlaceAs, getPlaceSound, leftClickBlock, onBlockChanged, onEntityStep, onRedstoneUpdate, requestPulse, rightClickBlock, setDrops, setPlaceSound, updatePhysics, warnMaterialData
getContext, getId, getMaterial, getMaxStackSize, rightClickAir, setId, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toString
public boolean isCollectible(GlowBlockState target)
BlockLiquid
isCollectible
in class BlockLiquid
target
- The block state to checkpublic void updateBlock(GlowBlock block)
BlockType
updateBlock
in class BlockType
block
- The block that needs an updateCopyright © 2021. All rights reserved.