Package net.minecraft.world.chunk
Class ChunkPrimerTickList<T>
- java.lang.Object
-
- net.minecraft.world.chunk.ChunkPrimerTickList<T>
-
-
Field Summary
Fields Modifier and Type Field Description private ChunkPos
chunkPos
protected java.util.function.Predicate<T>
ignore
private it.unimi.dsi.fastutil.shorts.ShortList[]
toBeTicked
-
Constructor Summary
Constructors Constructor Description ChunkPrimerTickList(java.util.function.Predicate<T> p_i51495_1_, ChunkPos p_i51495_2_)
ChunkPrimerTickList(java.util.function.Predicate<T> p_i51496_1_, ChunkPos p_i51496_2_, ListNBT p_i51496_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copyOut(ITickList<T> p_205381_1_, java.util.function.Function<BlockPos,T> p_205381_2_)
boolean
hasScheduledTick(BlockPos p_205359_1_, T p_205359_2_)
ListNBT
save()
void
scheduleTick(BlockPos p_205362_1_, T p_205362_2_, int p_205362_3_, TickPriority p_205362_4_)
boolean
willTickThisTick(BlockPos p_205361_1_, T p_205361_2_)
-
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.ITickList
scheduleTick
-
-
-
-
Method Detail
-
save
public ListNBT save()
-
copyOut
public void copyOut(ITickList<T> p_205381_1_, java.util.function.Function<BlockPos,T> p_205381_2_)
-
hasScheduledTick
public boolean hasScheduledTick(BlockPos p_205359_1_, T p_205359_2_)
- Specified by:
hasScheduledTick
in interfaceITickList<T>
-
scheduleTick
public void scheduleTick(BlockPos p_205362_1_, T p_205362_2_, int p_205362_3_, TickPriority p_205362_4_)
- Specified by:
scheduleTick
in interfaceITickList<T>
-
willTickThisTick
public boolean willTickThisTick(BlockPos p_205361_1_, T p_205361_2_)
- Specified by:
willTickThisTick
in interfaceITickList<T>
-
-