Class TicketManager.PlayerTicketTracker

Enclosing class:
TicketManager

class TicketManager.PlayerTicketTracker extends TicketManager.PlayerChunkTracker
  • Field Details

    • viewDistance

      private int viewDistance
    • queueLevels

      private final it.unimi.dsi.fastutil.longs.Long2IntMap queueLevels
    • toUpdate

      private final it.unimi.dsi.fastutil.longs.LongSet toUpdate
  • Constructor Details

    • PlayerTicketTracker

      protected PlayerTicketTracker(int p_i50682_2_)
  • Method Details

    • onLevelChange

      protected void onLevelChange(long p_215495_1_, int p_215495_3_, int p_215495_4_)
      Overrides:
      onLevelChange in class TicketManager.PlayerChunkTracker
    • updateViewDistance

      public void updateViewDistance(int p_215508_1_)
    • onLevelChange

      private void onLevelChange(long p_215504_1_, int p_215504_3_, boolean p_215504_4_, boolean p_215504_5_)
    • runAllUpdates

      public void runAllUpdates()
      Overrides:
      runAllUpdates in class TicketManager.PlayerChunkTracker
    • haveTicketFor

      private boolean haveTicketFor(int p_215505_1_)