net.minecraft.world.ticks

public class LevelChunkTicks<T>

implements SerializableTickContainer<T>, TickContainerAccess<T>

eiu
net.minecraft.world.ticks.LevelChunkTicks
net.minecraft.class_6755
net.minecraft.world.tick.ChunkTickScheduler
net.minecraft.src.C_183040_
net.minecraft.world.ticks.LevelChunkTicks

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(BiConsumer<eiu<T>, eiz<T>> arg0)
setOnTickAdded(BiConsumer<LevelChunkTicks<T>, ScheduledTick<T>> arg0)
method_39366(BiConsumer<class_6755<T>, class_6760<T>> arg0)
setTickConsumer(BiConsumer<ChunkTickScheduler<T>, OrderedTick<T>> tickConsumer)
m_193181_(BiConsumer<C_183040_<T>, C_183047_<T>> arg0)
public ScheduledTick<T>
b()
peek()
method_39369()
peekNextTick()
m_193189_()
public ScheduledTick<T>
c()
poll()
method_39371()
pollNextTick()
m_193195_()
public void
a(eiz<T> arg0)
schedule(ScheduledTick<T> arg0)
method_39363(class_6760<T> arg0)
scheduleTick(OrderedTick<T> arg0)
m_183393_(C_183047_<T> arg0)
private void
b(eiz<T> arg0)
scheduleUnchecked(ScheduledTick<T> arg0)
method_39370(class_6760<T> arg0)
queueTick(OrderedTick<T> orderedTick)
m_193193_(C_183047_<T> arg0)
public boolean
a(gw arg0, T arg1)
hasScheduledTick(BlockPos arg0, T arg1)
method_8674(class_2338 arg0, T arg1)
isQueued(BlockPos arg0, T arg1)
m_183582_(C_4675_ p_193180_, T arg1)
public void
a(Predicate<eiz<T>> arg0)
removeIf(Predicate<ScheduledTick<T>> arg0)
method_39367(Predicate<class_6760<T>> arg0)
removeTicksIf(Predicate<OrderedTick<T>> predicate)
m_193183_(Predicate<C_183047_<T>> arg0)
public Stream<ScheduledTick<T>>
d()
getAll()
method_39372()
getQueueAsStream()
m_193196_()
public int
a()
count()
method_20825()
getTickCount()
m_183574_()
public ListTag
a(long arg0, Function<T, String> arg1)
save(long arg0, Function<T, String> arg1)
method_39365(long arg0, Function<T, String> arg1)
toNbt(long arg0, Function<T, String> arg1)
m_183237_(long p_193175_, Function<T, String> arg1)
public void
a(long arg0)
unpack(long arg0)
method_39364(long arg0)
disable(long time)
m_193171_(long arg0)
public static <T> LevelChunkTicks<T>
a(rc arg0, Function<String, Optional<T>> arg1, cpc arg2)
load(ListTag arg0, Function<String, Optional<T>> arg1, ChunkPos arg2)
method_39368(class_2499 arg0, Function<String, Optional<T>> arg1, class_1923 arg2)
create(NbtList tickQueue, Function<String, Optional<T>> nameToTypeFunction, ChunkPos pos)
m_193185_(C_4930_ p_193186_, Function<String, Optional<T>> p_193187_, C_1560_ p_193188_)