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 SummaryFieldsModifier and TypeFieldDescriptionprivate ChunkPosprivate LevelHeightAccessorprivate it.unimi.dsi.fastutil.shorts.ShortList[]
- 
Constructor SummaryConstructorsConstructorDescriptionProtoTickList(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 SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.TickListscheduleTick
- 
Field Details- 
ignore
- 
chunkPos
- 
toBeTickedprivate final it.unimi.dsi.fastutil.shorts.ShortList[] toBeTicked
- 
levelHeightAccessor
 
- 
- 
Constructor Details- 
ProtoTickList
- 
ProtoTickListpublic ProtoTickList(Predicate<T> p_156499_, ChunkPos p_156500_, ListTag p_156501_, LevelHeightAccessor p_156502_)
 
- 
- 
Method Details- 
save
- 
copyOut
- 
hasScheduledTick- Specified by:
- hasScheduledTickin interface- TickList<T>
 
- 
scheduleTick- Specified by:
- scheduleTickin interface- TickList<T>
 
- 
willTickThisTick- Specified by:
- willTickThisTickin interface- TickList<T>
 
- 
sizepublic int size()
 
-