Class DistanceManager.FixedPlayerDistanceChunkTracker

java.lang.Object
net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
net.minecraft.server.level.ChunkTracker
net.minecraft.server.level.DistanceManager.FixedPlayerDistanceChunkTracker
Direct Known Subclasses:
DistanceManager.PlayerTicketTracker
Enclosing class:
DistanceManager

class DistanceManager.FixedPlayerDistanceChunkTracker extends ChunkTracker
  • Field Details

    • chunks

      protected final it.unimi.dsi.fastutil.longs.Long2ByteMap chunks
    • maxDistance

      protected final int maxDistance
  • Constructor Details

    • FixedPlayerDistanceChunkTracker

      protected FixedPlayerDistanceChunkTracker(int p_140891_)
  • Method Details

    • getLevel

      protected int getLevel(long p_140901_)
      Specified by:
      getLevel in class DynamicGraphMinFixedPoint
    • setLevel

      protected void setLevel(long p_140893_, int p_140894_)
      Specified by:
      setLevel in class DynamicGraphMinFixedPoint
    • onLevelChange

      protected void onLevelChange(long p_140895_, int p_140896_, int p_140897_)
    • getLevelFromSource

      protected int getLevelFromSource(long p_140899_)
      Specified by:
      getLevelFromSource in class ChunkTracker
    • havePlayer

      private boolean havePlayer(long p_140903_)
    • runAllUpdates

      public void runAllUpdates()
    • dumpChunks

      private void dumpChunks(String p_143213_)