Class TicketManager.PlayerChunkTracker

Direct Known Subclasses:
TicketManager.PlayerTicketTracker
Enclosing class:
TicketManager

class TicketManager.PlayerChunkTracker extends ChunkDistanceGraph
  • Field Details

    • chunks

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

      protected final int maxDistance
  • Constructor Details

    • PlayerChunkTracker

      protected PlayerChunkTracker(int p_i50684_2_)
  • Method Details

    • getLevel

      protected int getLevel(long p_215471_1_)
      Specified by:
      getLevel in class LevelBasedGraph
    • setLevel

      protected void setLevel(long p_215476_1_, int p_215476_3_)
      Specified by:
      setLevel in class LevelBasedGraph
    • onLevelChange

      protected void onLevelChange(long p_215495_1_, int p_215495_3_, int p_215495_4_)
    • getLevelFromSource

      protected int getLevelFromSource(long p_215492_1_)
      Specified by:
      getLevelFromSource in class ChunkDistanceGraph
    • havePlayer

      private boolean havePlayer(long p_215496_1_)
    • runAllUpdates

      public void runAllUpdates()