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
named net/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker
intermediary net/minecraft/class_3204$class_3205
official arv$b
  • Field Details

    • distanceFromNearestPlayer

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

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

    • DistanceFromNearestPlayerTracker

      protected DistanceFromNearestPlayerTracker(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> Larv$b;<init>(Larv;I)V
  • Method Details

    • getLevel

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

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

      protected void onDistanceChange(long pos, int oldDistance, int distance)
      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 Larv$b;a(JII)V
    • getInitialLevel

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

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

      public void updateLevels()
      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 Larv$b;a()V
    • dump

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