Package net.minecraft.world
Class ChunkTickScheduler<T>
java.lang.Object
net.minecraft.world.ChunkTickScheduler<T>
- All Implemented Interfaces:
TickScheduler<T>
public class ChunkTickScheduler<T> extends Object implements TickScheduler<T>
-
Field Summary
Fields Modifier and Type Field Description private HeightLimitViewfield_27230private ChunkPosposprivate ShortList[]scheduledPositionsprotected Predicate<T>shouldExclude -
Constructor Summary
Constructors Constructor Description ChunkTickScheduler(Predicate<T> predicate, ChunkPos chunkPos, ListTag tag, HeightLimitView heightLimitView)ChunkTickScheduler(Predicate<T> shouldExclude, ChunkPos pos, HeightLimitView heightLimitView) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.TickScheduler
schedule
-
Field Details
-
shouldExclude
-
pos
-
scheduledPositions
-
field_27230
-
-
Constructor Details
-
ChunkTickScheduler
public ChunkTickScheduler(Predicate<T> shouldExclude, ChunkPos pos, HeightLimitView heightLimitView) -
ChunkTickScheduler
public ChunkTickScheduler(Predicate<T> predicate, ChunkPos chunkPos, ListTag tag, HeightLimitView heightLimitView)
-
-
Method Details
-
toNbt
-
tick
-
isScheduled
- Specified by:
isScheduledin interfaceTickScheduler<T>
-
schedule
- Specified by:
schedulein interfaceTickScheduler<T>
-
isTicking
- Specified by:
isTickingin interfaceTickScheduler<T>
-