类 LeveledPriorityQueue

java.lang.Object
net.minecraft.world.level.lighting.LeveledPriorityQueue

public class LeveledPriorityQueue extends Object
  • 字段详细资料

    • levelCount

      private final int levelCount
    • queues

      private final it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet[] queues
    • firstQueuedLevel

      private int firstQueuedLevel
  • 构造器详细资料

    • LeveledPriorityQueue

      public LeveledPriorityQueue(int pLevelCount, int pExpectedSize)
  • 方法详细资料

    • removeFirstLong

      public long removeFirstLong()
    • isEmpty

      public boolean isEmpty()
    • dequeue

      public void dequeue(long pValue, int pLevelIndex, int pEndIndex)
    • enqueue

      public void enqueue(long pValue, int pLevelIndex)
    • checkFirstQueuedLevel

      private void checkFirstQueuedLevel(int pEndLevelIndex)