Package net.minecraft.world.level.chunk
Class LevelChunk.BoundTickingBlockEntity<T extends BlockEntity>
java.lang.Object
net.minecraft.world.level.chunk.LevelChunk.BoundTickingBlockEntity<T>
- All Implemented Interfaces:
TickingBlockEntity
- Enclosing class:
- LevelChunk
class LevelChunk.BoundTickingBlockEntity<T extends BlockEntity>
extends Object
implements TickingBlockEntity
-
Field Summary
Modifier and TypeFieldDescriptionprivate final T
private boolean
private final BlockEntityTicker<T>
-
Constructor Summary
-
Method Summary
-
Field Details
-
blockEntity
-
ticker
-
loggedInvalidBlockState
private boolean loggedInvalidBlockState
-
-
Constructor Details
-
BoundTickingBlockEntity
BoundTickingBlockEntity(T p_156433_, BlockEntityTicker<T> p_156434_)
-
-
Method Details
-
tick
public void tick()- Specified by:
tick
in interfaceTickingBlockEntity
-
isRemoved
public boolean isRemoved()- Specified by:
isRemoved
in interfaceTickingBlockEntity
-
getPos
- Specified by:
getPos
in interfaceTickingBlockEntity
-
getType
- Specified by:
getType
in interfaceTickingBlockEntity
-
toString
-