public class BlockMycel extends BlockType
ItemType.Context
ADJACENT, drops, placeSound, SIDES
Constructor and Description |
---|
BlockMycel() |
Modifier and Type | Method and Description |
---|---|
boolean |
canTickRandomly()
Called to check if this block can perform random tick updates.
|
void |
updateBlock(GlowBlock block)
Called when this block needs to be updated.
|
afterDestroy, afterPlace, blockDestroy, blockInteract, canAbsorb, canOverride, canPlaceAt, createBlockEntity, getDrops, getMinedDrops, getOppositeBlockFace, getPlaceAs, getPlaceSound, getPulseTickSpeed, isPulseOnce, leftClickBlock, onBlockChanged, onEntityStep, onNearBlockChanged, onRedstoneUpdate, placeBlock, receivePulse, requestPulse, rightClickBlock, setDrops, setPlaceSound, updatePhysics, updatePhysicsAfterEvent, warnMaterialData
getContext, getId, getMaterial, getMaxStackSize, rightClickAir, setId, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toString
public boolean canTickRandomly()
BlockType
canTickRandomly
in class BlockType
public void updateBlock(GlowBlock block)
BlockType
updateBlock
in class BlockType
block
- The block that needs an updateCopyright © 2021. All rights reserved.