net.minecraft.world.ticks

public class LevelChunkTicks<T>

implements SerializableTickContainer<T>, TickContainerAccess<T>

fdk
net.minecraft.world.ticks.LevelChunkTicks
net.minecraft.class_6755
net.minecraft.unmapped.C_vzzkwuje
net.minecraft.world.tick.ChunkTickScheduler
net.minecraft.world.tick.ChunkTickScheduler
net.minecraft.src.C_183040_
net.minecraft.world.ticks.ContainerSingleItem

Field summary

Modifier and TypeField
private final Queue<ScheduledTick<T>>
a
tickQueue
field_35527
f_flihgfjo
tickQueue
scheduledTicks
f_193163_
private List<SavedTick<T>>
b
pendingTicks
field_35528
f_jfabzqdk
ticks
initialTicks
f_193164_
private final Set<ScheduledTick<?>>
c
ticksPerPosition
field_35529
f_sixwufro
queuedTicks
allTicks
f_193165_
private BiConsumer<LevelChunkTicks<T>, ScheduledTick<T>>
d
onTickAdded
field_35530
f_jotbaccv
tickConsumer
onTickScheduled
f_193166_

Constructor summary

ModifierConstructor
public ()
public (List<SavedTick<T>> ticks)

Method summary

Modifier and TypeMethod
public void
a(BiConsumer<fdk<T>, fdp<T>> arg0)
setOnTickAdded(BiConsumer<LevelChunkTicks<T>, ScheduledTick<T>> arg0)
method_39366(BiConsumer<class_6755<T>, class_6760<T>> arg0)
m_sjrhiyib(BiConsumer<C_vzzkwuje<T>, C_bokjrzyn<T>> arg0)
setTickConsumer(BiConsumer<ChunkTickScheduler<T>, OrderedTick<T>> tickConsumer)
setOnTickScheduled(BiConsumer<ChunkTickScheduler<T>, OrderedTick<T>> onTickScheduled)
m_193181_(BiConsumer<C_183040_<T>, C_183047_<T>> arg0)
public ScheduledTick<T>
b()
peek()
method_39369()
m_pntuedat()
peekNextTick()
peekNextTick()
m_193189_()
public ScheduledTick<T>
c()
poll()
method_39371()
m_zijrctpc()
pollNextTick()
pollNextTick()
m_193195_()
public void
a(fdp<T> arg0)
schedule(ScheduledTick<T> arg0)
method_39363(class_6760<T> arg0)
m_xyafeqsz(C_bokjrzyn<T> arg0)
scheduleTick(OrderedTick<T> arg0)
scheduleTick(OrderedTick<T> arg0)
m_183393_(C_183047_<T> arg0)
private void
b(fdp<T> arg0)
scheduleUnchecked(ScheduledTick<T> arg0)
method_39370(class_6760<T> arg0)
m_ruqbpqda(C_bokjrzyn<T> arg0)
queueTick(OrderedTick<T> orderedTick)
queueTick(OrderedTick<T> orderedTick)
m_193193_(C_183047_<T> arg0)
public boolean
a(jh arg0, T arg1)
hasScheduledTick(BlockPos arg0, T arg1)
method_8674(class_2338 arg0, T arg1)
m_ocfyfama(C_hynzadkk arg0, T arg1)
isQueued(BlockPos arg0, T arg1)
hasMatchingTick(BlockPos arg0, T arg1)
m_183582_(C_4675_ p_193180_, T arg1)
public void
a(Predicate<fdp<T>> arg0)
removeIf(Predicate<ScheduledTick<T>> arg0)
method_39367(Predicate<class_6760<T>> arg0)
m_zgsvdbka(Predicate<C_bokjrzyn<T>> arg0)
removeTicksIf(Predicate<OrderedTick<T>> predicate)
removeTicksIf(Predicate<OrderedTick<T>> predicate)
m_193183_(Predicate<C_183047_<T>> arg0)
public Stream<ScheduledTick<T>>
d()
getAll()
method_39372()
m_yizzksuf()
getQueueAsStream()
streamScheduled()
m_193196_()
public int
a()
count()
method_20825()
m_eayguafr()
getTickCount()
getTickCount()
m_183574_()
public List<SavedTick<T>>
a(long arg0)
pack(long arg0)
method_61898(long arg0)
m_khwqakbu(long arg0)
collectTicks(long arg0)
getAllTicks(long arg0)
m_183237_(long arg0)
public ListTag
a(long arg0, Function<T, String> arg1)
save(long arg0, Function<T, String> arg1)
method_39365(long arg0, Function<T, String> arg1)
m_dugyinpj(long arg0, Function<T, String> arg1)
toNbt(long time, Function<T, String> typeToNameFunction)
toNbt(long time, Function<T, String> typeToId)
m_193173_(long p_193175_, Function<T, String> arg1)
public void
b(long arg0)
unpack(long arg0)
method_39364(long arg0)
m_aqbfsfzl(long arg0)
disable(long time)
scheduleInitialTicks(long time)
m_193171_(long arg0)
public static <T> LevelChunkTicks<T>
a(vd arg0, Function<String, Optional<T>> arg1, dgn arg2)
load(ListTag arg0, Function<String, Optional<T>> arg1, ChunkPos arg2)
method_39368(class_2499 arg0, Function<String, Optional<T>> arg1, class_1923 arg2)
m_fwancvzb(C_hqhtfwlr arg0, Function<String, Optional<T>> arg1, C_ynrszrtu arg2)
create(NbtList tickQueue, Function<String, Optional<T>> nameToTypeFunction, ChunkPos pos)
create(NbtList tickList, Function<String, Optional<T>> identifierToTypeFunction, ChunkPos chunkPos)
m_193185_(C_4930_ p_193186_, Function<String, Optional<T>> p_193187_, C_1560_ p_193188_)