class WorldChunk.DirectBlockEntityTickInvoker<T extends BlockEntity> extends Object implements BlockEntityTickInvoker
| Modifier and Type | Field and Description |
|---|---|
private T |
blockEntity |
private boolean |
hasWarned |
private BlockEntityTicker<T> |
ticker |
| Modifier | Constructor and Description |
|---|---|
private |
DirectBlockEntityTickInvoker(T t,
BlockEntityTicker<T> blockEntityTicker) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
BlockPos |
getPos() |
boolean |
isRemoved() |
void |
tick() |
String |
toString() |
private final T extends BlockEntity blockEntity
private final BlockEntityTicker<T extends BlockEntity> ticker
private boolean hasWarned
private DirectBlockEntityTickInvoker(T t, BlockEntityTicker<T> blockEntityTicker)
public void tick()
tick in interface BlockEntityTickInvokerpublic boolean isRemoved()
isRemoved in interface BlockEntityTickInvokerpublic BlockPos getPos()
getPos in interface BlockEntityTickInvokerpublic String getName()
getName in interface BlockEntityTickInvoker