Class LeveledPriorityQueue
java.lang.Object
net.minecraft.world.level.lighting.LeveledPriorityQueue
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private final int
private final it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkFirstQueuedLevel
(int p_278303_) void
dequeue
(long p_278232_, int p_278338_, int p_278345_) void
enqueue
(long p_278311_, int p_278335_) boolean
isEmpty()
long
-
Field Details
-
levelCount
private final int levelCount -
queues
private final it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet[] queues -
firstQueuedLevel
private int firstQueuedLevel
-
-
Constructor Details
-
LeveledPriorityQueue
public LeveledPriorityQueue(int p_278289_, int p_278259_)
-
-
Method Details
-
removeFirstLong
public long removeFirstLong() -
isEmpty
public boolean isEmpty() -
dequeue
public void dequeue(long p_278232_, int p_278338_, int p_278345_) -
enqueue
public void enqueue(long p_278311_, int p_278335_) -
checkFirstQueuedLevel
private void checkFirstQueuedLevel(int p_278303_)
-