Package net.minecraft.world.level.chunk
Class ProtoTickList<T>
java.lang.Object
net.minecraft.world.level.chunk.ProtoTickList<T>
- All Implemented Interfaces:
TickList<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ChunkPosprivate LevelHeightAccessorprivate it.unimi.dsi.fastutil.shorts.ShortList[] -
Constructor Summary
ConstructorsConstructorDescriptionProtoTickList(Predicate<T> p_156499_, ChunkPos p_156500_, ListTag p_156501_, LevelHeightAccessor p_156502_)ProtoTickList(Predicate<T> p_156495_, ChunkPos p_156496_, LevelHeightAccessor p_156497_) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanhasScheduledTick(BlockPos p_63309_, T p_63310_)save()voidscheduleTick(BlockPos p_63312_, T p_63313_, int p_63314_, TickPriority p_63315_)intsize()booleanwillTickThisTick(BlockPos p_63318_, T p_63319_)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.TickList
scheduleTick
-
Field Details
-
ignore
-
chunkPos
-
toBeTicked
private final it.unimi.dsi.fastutil.shorts.ShortList[] toBeTicked -
levelHeightAccessor
-
-
Constructor Details
-
ProtoTickList
-
ProtoTickList
public ProtoTickList(Predicate<T> p_156499_, ChunkPos p_156500_, ListTag p_156501_, LevelHeightAccessor p_156502_)
-
-
Method Details
-
save
-
copyOut
-
hasScheduledTick
- Specified by:
hasScheduledTickin interfaceTickList<T>
-
scheduleTick
- Specified by:
scheduleTickin interfaceTickList<T>
-
willTickThisTick
- Specified by:
willTickThisTickin interfaceTickList<T>
-
size
public int size()
-