Class ChunkTicketManager.NearbyChunkTicketUpdater

Enclosing class:
ChunkTicketManager

private class ChunkTicketManager.NearbyChunkTicketUpdater extends ChunkTicketManager.DistanceFromNearestPlayerTracker
Mappings:
Namespace Name
official ahf$c
intermediary net/minecraft/class_3204$class_3948
named net/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater
  • Field Details

    • watchDistance

      private int watchDistance
      Mappings:
      Namespace Name Mixin selector
      official e Lahf$c;e:I
      intermediary field_17464 Lnet/minecraft/class_3204$class_3948;field_17464:I
      named watchDistance Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;watchDistance:I
    • distances

      private final Long2IntMap distances
      Mappings:
      Namespace Name Mixin selector
      official f Lahf$c;f:Lit/unimi/dsi/fastutil/longs/Long2IntMap;
      intermediary field_17465 Lnet/minecraft/class_3204$class_3948;field_17465:Lit/unimi/dsi/fastutil/longs/Long2IntMap;
      named distances Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;distances:Lit/unimi/dsi/fastutil/longs/Long2IntMap;
    • positionsAffected

      private final LongSet positionsAffected
      Mappings:
      Namespace Name Mixin selector
      official g Lahf$c;g:Lit/unimi/dsi/fastutil/longs/LongSet;
      intermediary field_17466 Lnet/minecraft/class_3204$class_3948;field_17466:Lit/unimi/dsi/fastutil/longs/LongSet;
      named positionsAffected Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;positionsAffected:Lit/unimi/dsi/fastutil/longs/LongSet;
  • Constructor Details

    • NearbyChunkTicketUpdater

      protected NearbyChunkTicketUpdater(int maxDistance)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lahf$b;<init>(Lahf;I)V
      intermediary <init> Lnet/minecraft/class_3204$class_3205;<init>(Lnet/minecraft/class_3204;I)V
      named <init> Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;<init>(Lnet/minecraft/server/world/ChunkTicketManager;I)V
  • Method Details

    • onDistanceChange

      protected void onDistanceChange(long pos, int oldDistance, int distance)
      Overrides:
      onDistanceChange in class ChunkTicketManager.DistanceFromNearestPlayerTracker
      Mappings:
      Namespace Name Mixin selector
      official a Lahf$b;a(JII)V
      intermediary method_17657 Lnet/minecraft/class_3204$class_3205;method_17657(JII)V
      named onDistanceChange Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;onDistanceChange(JII)V
    • setWatchDistance

      public void setWatchDistance(int watchDistance)
      Mappings:
      Namespace Name Mixin selector
      official a Lahf$c;a(I)V
      intermediary method_17658 Lnet/minecraft/class_3204$class_3948;method_17658(I)V
      named setWatchDistance Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;setWatchDistance(I)V
    • updateTicket

      private void updateTicket(long pos, int distance, boolean oldWithinViewDistance, boolean withinViewDistance)
      Mappings:
      Namespace Name Mixin selector
      official a Lahf$c;a(JIZZ)V
      intermediary method_17660 Lnet/minecraft/class_3204$class_3948;method_17660(JIZZ)V
      named updateTicket Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;updateTicket(JIZZ)V
    • updateLevels

      public void updateLevels()
      Overrides:
      updateLevels in class ChunkTicketManager.DistanceFromNearestPlayerTracker
      Mappings:
      Namespace Name Mixin selector
      official a Lahf$b;a()V
      intermediary method_14057 Lnet/minecraft/class_3204$class_3205;method_14057()V
      named updateLevels Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;updateLevels()V
    • isWithinViewDistance

      private boolean isWithinViewDistance(int distance)
      Mappings:
      Namespace Name Mixin selector
      official c Lahf$c;c(I)Z
      intermediary method_17664 Lnet/minecraft/class_3204$class_3948;method_17664(I)Z
      named isWithinViewDistance Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;isWithinViewDistance(I)Z