net.minecraft.server.level

public class ChunkTaskPriorityQueue

aql
net.minecraft.server.level.ChunkTaskPriorityQueue
net.minecraft.class_3899
net.minecraft.server.world.LevelPrioritizedQueue
net.minecraft.server.level.ChunkTaskQueue

Field summary

Modifier and TypeField
public static final int
a
PRIORITY_LEVEL_COUNT
field_17241
LEVEL_COUNT
private final List<it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<List<Runnable>>>
b
queuesPerPriority
field_54042
values
private volatile int
c
topPriorityQueueIndex
field_54043
topPriority
private final String
d
name
field_17247
name

Constructor summary

ModifierConstructor
public (String name)

Method summary

Modifier and TypeMethod
protected void
a(int arg0, dfp 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)
protected void
a(Runnable arg0, long arg1, int arg2)
submit(Runnable arg0, long arg1, int arg2)
method_17274(Runnable arg0, long arg1, int arg2)
add(Runnable task, long pos, int level)
protected void
a(long arg0, boolean arg1)
release(long arg0, boolean arg1)
method_17609(long arg0, boolean arg1)
remove(long pos, boolean removeElement)
public ChunkTaskPriorityQueue$TasksForChunk
a()
pop()
method_17606()
poll()
public boolean
b()
hasWork()
method_39993()
hasQueuedElement()