Package net.minecraft.world.ticks
Class ProtoChunkTicks<T>
java.lang.Object
net.minecraft.world.ticks.ProtoChunkTicks<T>
- All Implemented Interfaces:
SerializableTickContainer<T>
,TickAccess<T>
,TickContainerAccess<T>
public class ProtoChunkTicks<T>
extends Object
implements SerializableTickContainer<T>, TickContainerAccess<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
count()
boolean
hasScheduledTick
(BlockPos p_193300_, T p_193301_) static <T> ProtoChunkTicks<T>
private void
void
schedule
(ScheduledTick<T> p_193298_)
-
Field Details
-
ticks
-
ticksPerPosition
-
-
Constructor Details
-
ProtoChunkTicks
public ProtoChunkTicks()
-
-
Method Details
-
schedule
- Specified by:
schedule
in interfaceTickAccess<T>
-
schedule
-
hasScheduledTick
- Specified by:
hasScheduledTick
in interfaceTickAccess<T>
-
count
public int count()- Specified by:
count
in interfaceTickAccess<T>
-
save
- Specified by:
save
in interfaceSerializableTickContainer<T>
-
scheduledTicks
-
load
-