Package net.minecraft.server.level
Class ChunkTaskPriorityQueue<T>
java.lang.Object
net.minecraft.server.level.ChunkTaskPriorityQueue<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.longs.LongSet
private int
private final int
private final String
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Runnable
acquire
(long p_140526_) (package private) it.unimi.dsi.fastutil.longs.LongSet
boolean
hasWork()
pop()
protected void
release
(long p_140531_, boolean p_140532_) protected void
resortChunkTasks
(int p_140522_, ChunkPos p_140523_, int p_140524_) protected void
toString()
-
Field Details
-
PRIORITY_LEVEL_COUNT
public static final int PRIORITY_LEVEL_COUNT -
taskQueue
-
firstQueue
private volatile int firstQueue -
name
-
acquired
private final it.unimi.dsi.fastutil.longs.LongSet acquired -
maxTasks
private final int maxTasks
-
-
Constructor Details
-
ChunkTaskPriorityQueue
-
-
Method Details