Class ChunkTicketManager.NearbyChunkTicketUpdater

Enclosing class:
ChunkTicketManager

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

    • watchDistance

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

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

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

    • NearbyChunkTicketUpdater

      protected NearbyChunkTicketUpdater(int maxDistance)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;<init>(Lnet/minecraft/server/world/ChunkTicketManager;I)V
      intermediary <init> Lnet/minecraft/class_3204$class_3205;<init>(Lnet/minecraft/class_3204;I)V
      official <init> Laqx$b;<init>(Laqx;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
      named onDistanceChange Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;onDistanceChange(JII)V
      intermediary method_17657 Lnet/minecraft/class_3204$class_3205;method_17657(JII)V
      official a Laqx$b;a(JII)V
    • setWatchDistance

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

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

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

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