net.minecraft.world.ticks

public class LevelTicks<T>

implements LevelTickAccess<T>

eem
net.minecraft.world.ticks.LevelTicks
net.minecraft.class_6757
net.minecraft.unmapped.C_cropbciq
net.minecraft.world.tick.WorldTickScheduler
net.minecraft.world.tick.WorldTickScheduler
net.minecraft.src.C_183042_
net.minecraft.world.ticks.TickListServer

Field summary

Modifier and TypeField
private static final Comparator<LevelChunkTicks<?>>
a
CONTAINER_DRAIN_ORDER
field_35531
f_yhenzbok
COMPARATOR
COMPARATOR
f_193199_
private final LongPredicate
b
tickCheck
field_35532
f_yocvhxug
tickingFutureReadyPredicate
tickCheckPredicate
f_193200_
private final Supplier<ProfilerFiller>
c
profiler
field_35533
f_uefcjhha
profilerGetter
profiler
f_193201_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<LevelChunkTicks<T>>
d
allContainers
field_35534
f_duvyjqsr
chunkTickSchedulers
chunkTickSchedulers
f_193202_
private final it.unimi.dsi.fastutil.longs.Long2LongMap
e
nextTickForContainer
field_35535
f_nialqvxh
nextTriggerTickByChunkPos
nextTickByChunkPos
f_193203_
private final Queue<LevelChunkTicks<T>>
f
containersToTick
field_35536
f_dyoozhkl
tickableChunkTickSchedulers
tickableChunkTickSchedulers
f_193204_
private final Queue<ScheduledTick<T>>
g
toRunThisTick
field_35537
f_sikbusov
tickableTicks
tickableTicks
f_193205_
private final List<ScheduledTick<T>>
h
alreadyRunThisTick
field_35538
f_kyfxxkam
tickedTicks
alreadyTickedTicks
f_193206_
private final Set<ScheduledTick<?>>
i
toRunThisTickSet
field_35539
f_gcvwqutn
copiedTickableTicksList
tickableTicksSet
f_193207_
private final BiConsumer<LevelChunkTicks<T>, ScheduledTick<T>>
j
chunkScheduleUpdater
field_35540
f_dxznqiir
queuedTickConsumer
chunkScheduleUpdater
f_193208_

Constructor summary

ModifierConstructor
public (LongPredicate tickingFutureReadyPredicate, Supplier<ProfilerFiller> profilerGetter)

Method summary

Modifier and TypeMethod
public void
a(clp arg0, eek<T> arg1)
addContainer(ChunkPos arg0, LevelChunkTicks<T> arg1)
method_39379(class_1923 arg0, class_6755<T> arg1)
m_kbqdobwk(C_ynrszrtu arg0, C_vzzkwuje<T> arg1)
addChunkTickScheduler(ChunkPos pos, ChunkTickScheduler<T> scheduler)
addChunkTickScheduler(ChunkPos pos, ChunkTickScheduler<T> chunkTickScheduler)
m_193231_(C_1560_ p_193233_, C_183040_<T> arg1)
public void
a(clp arg0)
removeContainer(ChunkPos arg0)
method_39378(class_1923 arg0)
m_lodesjul(C_ynrszrtu arg0)
removeChunkTickScheduler(ChunkPos pos)
removeChunkTickScheduler(ChunkPos pos)
m_193229_(C_1560_ arg0)
public void
a(eep<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)
public void
a(long arg0, int arg1, BiConsumer<gt, T> arg2)
tick(long arg0, int arg1, BiConsumer<BlockPos, T> arg2)
method_39377(long arg0, int arg1, BiConsumer<class_2338, T> arg2)
m_ojdselff(long arg0, int arg1, BiConsumer<C_hynzadkk, T> arg2)
tick(long time, int maxTicks, BiConsumer<BlockPos, T> ticker)
tick(long time, int maxTicks, BiConsumer<BlockPos, T> ticker)
m_193225_(long p_193227_, int arg1, BiConsumer<C_4675_, T> arg2)
private void
a(long arg0, int arg1, bao arg2)
collectTicks(long arg0, int arg1, ProfilerFiller arg2)
method_39376(long arg0, int arg1, class_3695 arg2)
m_artlbdzf(long arg0, int arg1, C_eslcbfsq arg2)
collectTickableTicks(long time, int maxTicks, Profiler profiler)
collectTicks(long time, int maxTicks, Profiler profiler)
m_193221_(long p_193223_, int arg1, C_442_ arg2)
private void
a(long arg0)
sortContainersToTick(long arg0)
method_39374(long arg0)
m_qtgueepu(long arg0)
collectTickableChunkTickSchedulers(long time)
collectTickableChunkTickSchedulers(long time)
m_193216_(long arg0)
private void
a(long arg0, int arg1)
drainContainers(long arg0, int arg1)
method_39375(long arg0, int arg1)
m_twpciapk(long arg0, int arg1)
addTickableTicks(long time, int maxTicks)
addTickableTicks(long time, int maxTicks)
m_193218_(long p_193220_, int arg1)
private void
b()
rescheduleLeftoverContainers()
method_39392()
m_mpiwjtfs()
delayAllTicks()
delayAllTicks()
m_193278_()
private void
b(eep<T> arg0)
updateContainerScheduling(ScheduledTick<T> arg0)
method_39393(class_6760<T> arg0)
m_gnhzbdvm(C_bokjrzyn<T> arg0)
schedule(OrderedTick<T> tick)
schedule(OrderedTick<T> rick)
m_193279_(C_183047_<T> arg0)
private void
a(Queue<eek<T>> arg0, eek<T> arg1, long arg2, int arg3)
drainFromCurrentContainer(Queue<LevelChunkTicks<T>> arg0, LevelChunkTicks<T> arg1, long arg2, int arg3)
method_39389(Queue<class_6755<T>> arg0, class_6755<T> arg1, long arg2, int arg3)
m_qrrlhfwv(Queue<C_vzzkwuje<T>> arg0, C_vzzkwuje<T> arg1, long arg2, int arg3)
addTickableTicks(Queue<ChunkTickScheduler<T>> tickableChunkTickSchedulers, ChunkTickScheduler<T> chunkTickScheduler, long tick, int maxTicks)
addTickableTicks(Queue<ChunkTickScheduler<T>> tickableChunkTickSchedulers, ChunkTickScheduler<T> chunkTickScheduler, long time, int maxTicks)
m_193267_(Queue<C_183040_<T>> p_193269_, C_183040_<T> p_193270_, long p_193271_, int arg3)
private void
c(eep<T> arg0)
scheduleForThisTick(ScheduledTick<T> arg0)
method_39395(class_6760<T> arg0)
m_owggwntl(C_bokjrzyn<T> arg0)
addTickableTick(OrderedTick<T> tick)
addTickableTick(OrderedTick<T> tick)
m_193285_(C_183047_<T> arg0)
private boolean
a(int arg0)
canScheduleMoreTicks(int arg0)
method_39373(int arg0)
m_txmpppgy(int arg0)
isTickableTicksCountUnder(int maxTicks)
canScheduleMoreTicks(int maxTicks)
m_193214_(int arg0)
private void
a(BiConsumer<gt, T> arg0)
runCollectedTicks(BiConsumer<BlockPos, T> arg0)
method_39390(BiConsumer<class_2338, T> arg0)
m_qnihjvcl(BiConsumer<C_hynzadkk, T> arg0)
tick(BiConsumer<BlockPos, T> ticker)
tick(BiConsumer<BlockPos, T> ticker)
m_193272_(BiConsumer<C_4675_, T> arg0)
private void
c()
cleanupAfterTick()
method_39394()
m_mxvuxgia()
clear()
clear()
m_193284_()
public boolean
a(gt 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)
isQueued(BlockPos arg0, T arg1)
m_183582_(C_4675_ p_193255_, T arg1)
public boolean
b(gt arg0, T arg1)
willTickThisTick(BlockPos arg0, T arg1)
method_8677(class_2338 arg0, T arg1)
m_eblfkkrv(C_hynzadkk arg0, T arg1)
isTicking(BlockPos arg0, T arg1)
willTick(BlockPos arg0, T arg1)
m_183588_(C_4675_ p_193283_, T arg1)
private void
d()
calculateTickSetIfNeeded()
method_39396()
m_uopbsucb()
copyTickableTicksList()
copyTickableTicksList()
m_193287_()
private void
a(drh arg0, eem$a<T> arg1)
forContainersInArea(BoundingBox arg0, LevelTicks$PosAndContainerConsumer<T> arg1)
method_39381(class_3341 arg0, class_6757$class_6758<T> arg1)
m_oeewtkni(C_hmqypqzz arg0, C_cropbciq$C_bruemznp<T> arg1)
visitChunks(BlockBox box, WorldTickScheduler$ChunkVisitor<T> visitor)
visitChunks(BlockBox area, WorldTickScheduler$ChunkVisitor<T> visitor)
m_193236_(C_2478_ p_193238_, C_183042_$C_183043_<T> arg1)
public void
a(drh arg0)
clearArea(BoundingBox arg0)
method_39380(class_3341 arg0)
m_ivauxqhk(C_hmqypqzz arg0)
clearNextTicks(BlockBox box)
clearNextTicksInArea(BlockBox area)
m_193234_(C_2478_ arg0)
public void
a(drh arg0, hy arg1)
copyArea(BoundingBox arg0, Vec3i arg1)
method_39383(class_3341 arg0, class_2382 arg1)
m_etctsxlj(C_hmqypqzz arg0, C_ceivtqhh arg1)
scheduleTicks(BlockBox box, Vec3i offset)
scheduleTicks(BlockBox area, Vec3i offset)
m_193242_(C_2478_ p_193244_, C_4713_ arg1)
public void
a(eem<T> arg0, drh arg1, hy arg2)
copyAreaFrom(LevelTicks<T> arg0, BoundingBox arg1, Vec3i arg2)
method_48167(class_6757<T> arg0, class_3341 arg1, class_2382 arg2)
m_tjhcqdwk(C_cropbciq<T> arg0, C_hmqypqzz arg1, C_ceivtqhh arg2)
scheduleTicks(WorldTickScheduler<T> scheduler, BlockBox box, Vec3i offset)
m_264560_(C_183042_<T> p_265172_, C_2478_ p_265318_, C_4713_ arg2)
public int
a()
count()
method_20825()
m_eayguafr()
getTickCount()
getTickCount()
m_183574_()