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
Modifier and TypeFieldDescriptionprivate ChunkPos
private LevelHeightAccessor
private it.unimi.dsi.fastutil.shorts.ShortList[]
-
Constructor Summary
ConstructorDescriptionProtoTickList(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 TypeMethodDescriptionvoid
boolean
hasScheduledTick(BlockPos p_63309_, T p_63310_)
save()
void
scheduleTick(BlockPos p_63312_, T p_63313_, int p_63314_, TickPriority p_63315_)
int
size()
boolean
willTickThisTick(BlockPos p_63318_, T p_63319_)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
hasScheduledTick
in interfaceTickList<T>
-
scheduleTick
- Specified by:
scheduleTick
in interfaceTickList<T>
-
willTickThisTick
- Specified by:
willTickThisTick
in interfaceTickList<T>
-
size
public int size()
-