net.minecraft.world.level

public class ChunkTickList<T>

implements TickList<T>

bvw
net.minecraft.world.level.ChunkTickList
net.minecraft.class_4296
net.minecraft.server.world.SimpleTickScheduler
net.minecraft.src.C_1562_
net.minecraft.world.level.TickListChunk

Field summary

Modifier and TypeField
private final List<ChunkTickList$ScheduledTick<T>>
a
ticks
field_19275
scheduledTicks
f_45631_
private final Function<T, ResourceLocation>
b
toId
field_19276
identifierProvider
f_45632_

Constructor summary

ModifierConstructor
public (Function<T, ResourceLocation> identifierProvider, List<TickNextTickData<T>> scheduledTicks, long startTime)
private (Function<T, ResourceLocation> identifierProvider, List<ChunkTickList$ScheduledTick<T>> scheduledTicks)

Method summary

Modifier and TypeMethod
public boolean
a(gg arg0, T arg1)
hasScheduledTick(BlockPos arg0, T arg1)
method_8674(class_2338 arg0, T arg1)
isScheduled(BlockPos arg0, T arg1)
m_5916_(C_4675_ p_45650_, T arg1)
public void
a(gg arg0, T arg1, int arg2, bxk arg3)
scheduleTick(BlockPos arg0, T arg1, int arg2, TickPriority arg3)
method_8675(class_2338 arg0, T arg1, int arg2, class_1953 arg3)
schedule(BlockPos arg0, T arg1, int arg2, TickPriority arg3)
m_7663_(C_4675_ p_45653_, T p_45654_, int p_45655_, C_1624_ arg3)
public boolean
b(gg arg0, T arg1)
willTickThisTick(BlockPos arg0, T arg1)
method_8677(class_2338 arg0, T arg1)
isTicking(BlockPos arg0, T arg1)
m_5913_(C_4675_ p_45663_, T arg1)
public ListTag
b()
save()
method_20463()
toNbt()
m_45660_()
public static <T> ChunkTickList<T>
a(ng arg0, Function<T, ww> arg1, Function<ww, T> arg2)
create(ListTag arg0, Function<T, ResourceLocation> arg1, Function<ResourceLocation, T> arg2)
method_20512(class_2499 arg0, Function<T, class_2960> arg1, Function<class_2960, T> arg2)
fromNbt(NbtList ticks, Function<T, Identifier> arg1, Function<Identifier, T> arg2)
m_45656_(C_4930_ p_45657_, Function<T, C_5265_> p_45658_, Function<C_5265_, T> p_45659_)
public void
a(bxi<T> arg0)
copyOut(TickList<T> arg0)
method_26368(class_1951<T> arg0)
scheduleTo(TickScheduler<T> scheduler)
m_45643_(C_1622_<T> arg0)
public int
a()
size()
method_20825()
getTicks()
m_142536_()