Class ChunkTicketManager.DistanceFromNearestPlayerTracker

java.lang.Object
net.minecraft.world.chunk.light.LevelPropagator
net.minecraft.world.ChunkPosDistanceLevelPropagator
net.minecraft.server.world.ChunkTicketManager.DistanceFromNearestPlayerTracker
Direct Known Subclasses:
ChunkTicketManager.NearbyChunkTicketUpdater
Enclosing class:
ChunkTicketManager

private class ChunkTicketManager.DistanceFromNearestPlayerTracker extends ChunkPosDistanceLevelPropagator
Mappings:
Namespace Name
official ahx$b
intermediary net/minecraft/class_3204$class_3205
named net/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker
  • Field Details

    • distanceFromNearestPlayer

      protected final Long2ByteMap distanceFromNearestPlayer
      Mappings:
      Namespace Name Mixin selector
      official a Lahx$b;a:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
      intermediary field_13896 Lnet/minecraft/class_3204$class_3205;field_13896:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
      named distanceFromNearestPlayer Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;distanceFromNearestPlayer:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
    • maxDistance

      protected final int maxDistance
      Mappings:
      Namespace Name Mixin selector
      official b Lahx$b;b:I
      intermediary field_17461 Lnet/minecraft/class_3204$class_3205;field_17461:I
      named maxDistance Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;maxDistance:I
  • Constructor Details

    • DistanceFromNearestPlayerTracker

      protected DistanceFromNearestPlayerTracker(int maxDistance)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lahx$b;<init>(Lahx;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

    • getLevel

      protected int getLevel(long id)
      Specified by:
      getLevel in class LevelPropagator
      Mappings:
      Namespace Name Mixin selector
      official c Ldwq;c(J)I
      intermediary method_15480 Lnet/minecraft/class_3554;method_15480(J)I
      named getLevel Lnet/minecraft/world/chunk/light/LevelPropagator;getLevel(J)I
    • setLevel

      protected void setLevel(long id, int level)
      Specified by:
      setLevel in class LevelPropagator
      Mappings:
      Namespace Name Mixin selector
      official a Ldwq;a(JI)V
      intermediary method_15485 Lnet/minecraft/class_3554;method_15485(JI)V
      named setLevel Lnet/minecraft/world/chunk/light/LevelPropagator;setLevel(JI)V
    • onDistanceChange

      protected void onDistanceChange(long pos, int oldDistance, int distance)
      Mappings:
      Namespace Name Mixin selector
      official a Lahx$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
    • getInitialLevel

      protected int getInitialLevel(long id)
      Specified by:
      getInitialLevel in class ChunkPosDistanceLevelPropagator
      Mappings:
      Namespace Name Mixin selector
      official b Lahu;b(J)I
      intermediary method_14028 Lnet/minecraft/class_3196;method_14028(J)I
      named getInitialLevel Lnet/minecraft/world/ChunkPosDistanceLevelPropagator;getInitialLevel(J)I
    • isPlayerInChunk

      private boolean isPlayerInChunk(long chunkPos)
      Mappings:
      Namespace Name Mixin selector
      official d Lahx$b;d(J)Z
      intermediary method_14056 Lnet/minecraft/class_3204$class_3205;method_14056(J)Z
      named isPlayerInChunk Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;isPlayerInChunk(J)Z
    • updateLevels

      public void updateLevels()
      Mappings:
      Namespace Name Mixin selector
      official a Lahx$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
    • dump

      private void dump(String path)
      Mappings:
      Namespace Name Mixin selector
      official a Lahx$b;a(Ljava/lang/String;)V
      intermediary method_34878 Lnet/minecraft/class_3204$class_3205;method_34878(Ljava/lang/String;)V
      named dump Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;dump(Ljava/lang/String;)V