net.minecraft.server.level

public class ChunkTaskPriorityQueue<T>

wq
net.minecraft.server.level.ChunkTaskPriorityQueue
net.minecraft.class_3899
net.minecraft.server.world.LevelPrioritizedQueue
net.minecraft.world.chunk.ChunkTaskPriorityQueue
net.minecraft.server.v1_15_R1.ChunkTaskQueue

Field summary

Modifier and TypeField
public static final int
a
PRIORITY_LEVEL_COUNT
field_17241
LEVEL_COUNT
field_219419_a
private final List<it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<List<Optional<T>>>>
b
taskQueue
field_17243
levelToPosToElements
field_219420_b
private volatile int
c
firstQueue
field_17244
firstNonEmptyLevel
field_219421_c
private final String
d
name
field_17247
name
field_219422_d
private final it.unimi.dsi.fastutil.longs.LongSet
e
acquired
field_17444
chunkPositions
field_219423_e
private final int
f
maxTasks
field_17445
maxSize
field_219424_f

Constructor summary

ModifierConstructor
public (String name, int maxSize)

Method summary

Modifier and TypeMethod
protected void
a(int arg0, bje arg1, int arg2)
resortChunkTasks(int arg0, ChunkPos arg1, int arg2)
method_17272(int arg0, class_1923 arg1, int arg2)
updateLevel(int fromLevel, ChunkPos pos, int toLevel)
func_219407_a(int arg0, ChunkPos arg1, int arg2)
protected void
a(Optional<T> arg0, long arg1, int arg2)
submit(Optional<T> arg0, long arg1, int arg2)
method_17274(Optional<T> arg0, long arg1, int arg2)
add(Optional<T> element, long pos, int level)
func_219412_a(Optional<T> arg0, long arg1, int arg2)
protected void
a(long arg0, boolean arg1)
release(long arg0, boolean arg1)
method_17609(long arg0, boolean arg1)
clearPosition(long pos, boolean includePresent)
func_219416_a(long arg0, boolean arg1)
private Runnable
a(long arg0)
acquire(long arg0)
method_17607(long arg0)
createPositionAdder(long pos)
func_219418_a(long arg0)
public Stream<com.mojang.datafixers.util.Either<T, Runnable>>
a()
pop()
method_17606()
poll()
func_219417_a()
it.unimi.dsi.fastutil.longs.LongSet
b()
getAcquired()
method_21679()
func_225414_b()