Class ClientChunkManager.ClientChunkMap

java.lang.Object
net.minecraft.client.world.ClientChunkManager.ClientChunkMap
Enclosing class:
ClientChunkManager

@Environment(CLIENT) private final class ClientChunkManager.ClientChunkMap extends Object
Mappings:
Namespace Name
named net/minecraft/client/world/ClientChunkManager$ClientChunkMap
intermediary net/minecraft/class_631$class_3681
official gff$a
  • Field Details

    • chunks

      Mappings:
      Namespace Name Mixin selector
      named chunks Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;chunks:Ljava/util/concurrent/atomic/AtomicReferenceArray;
      intermediary field_16251 Lnet/minecraft/class_631$class_3681;field_16251:Ljava/util/concurrent/atomic/AtomicReferenceArray;
      official b Lgff$a;b:Ljava/util/concurrent/atomic/AtomicReferenceArray;
    • activeSections

      final LongOpenHashSet activeSections
      Mappings:
      Namespace Name Mixin selector
      named activeSections Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;activeSections:Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;
      intermediary field_53836 Lnet/minecraft/class_631$class_3681;field_53836:Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;
      official c Lgff$a;c:Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;
    • radius

      final int radius
      Mappings:
      Namespace Name Mixin selector
      named radius Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;radius:I
      intermediary field_16253 Lnet/minecraft/class_631$class_3681;field_16253:I
      official d Lgff$a;d:I
    • diameter

      private final int diameter
      Mappings:
      Namespace Name Mixin selector
      named diameter Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;diameter:I
      intermediary field_16252 Lnet/minecraft/class_631$class_3681;field_16252:I
      official e Lgff$a;e:I
    • centerChunkX

      volatile int centerChunkX
      Mappings:
      Namespace Name Mixin selector
      named centerChunkX Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;centerChunkX:I
      intermediary field_19204 Lnet/minecraft/class_631$class_3681;field_19204:I
      official f Lgff$a;f:I
    • centerChunkZ

      volatile int centerChunkZ
      Mappings:
      Namespace Name Mixin selector
      named centerChunkZ Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;centerChunkZ:I
      intermediary field_19205 Lnet/minecraft/class_631$class_3681;field_19205:I
      official g Lgff$a;g:I
    • loadedChunkCount

      int loadedChunkCount
      Mappings:
      Namespace Name Mixin selector
      named loadedChunkCount Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;loadedChunkCount:I
      intermediary field_19143 Lnet/minecraft/class_631$class_3681;field_19143:I
      official h Lgff$a;h:I
  • Constructor Details

    • ClientChunkMap

      ClientChunkMap(int radius)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;<init>(Lnet/minecraft/client/world/ClientChunkManager;I)V
      intermediary <init> Lnet/minecraft/class_631$class_3681;<init>(Lnet/minecraft/class_631;I)V
      official <init> Lgff$a;<init>(Lgff;I)V
  • Method Details

    • getIndex

      int getIndex(int chunkX, int chunkZ)
      Mappings:
      Namespace Name Mixin selector
      named getIndex Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;getIndex(II)I
      intermediary method_16027 Lnet/minecraft/class_631$class_3681;method_16027(II)I
      official a Lgff$a;a(II)I
    • set

      void set(int index, @Nullable @Nullable WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named set Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;set(ILnet/minecraft/world/chunk/WorldChunk;)V
      intermediary method_16031 Lnet/minecraft/class_631$class_3681;method_16031(ILnet/minecraft/class_2818;)V
      official a Lgff$a;a(ILdzz;)V
    • unloadChunk

      void unloadChunk(int index, WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named unloadChunk Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;unloadChunk(ILnet/minecraft/world/chunk/WorldChunk;)V
      intermediary method_62893 Lnet/minecraft/class_631$class_3681;method_62893(ILnet/minecraft/class_2818;)V
      official b Lgff$a;b(ILdzz;)V
    • onSectionStatusChanged

      public void onSectionStatusChanged(int x, int sectionY, int z, boolean previouslyEmpty)
      Mappings:
      Namespace Name Mixin selector
      named onSectionStatusChanged Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;onSectionStatusChanged(IIIZ)V
      intermediary method_62891 Lnet/minecraft/class_631$class_3681;method_62891(IIIZ)V
      official a Lgff$a;a(IIIZ)V
    • unloadChunkSections

      private void unloadChunkSections(WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named unloadChunkSections Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;unloadChunkSections(Lnet/minecraft/world/chunk/WorldChunk;)V
      intermediary method_62892 Lnet/minecraft/class_631$class_3681;method_62892(Lnet/minecraft/class_2818;)V
      official a Lgff$a;a(Ldzz;)V
    • loadChunkSections

      private void loadChunkSections(WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named loadChunkSections Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;loadChunkSections(Lnet/minecraft/world/chunk/WorldChunk;)V
      intermediary method_62894 Lnet/minecraft/class_631$class_3681;method_62894(Lnet/minecraft/class_2818;)V
      official b Lgff$a;b(Ldzz;)V
    • isInRadius

      boolean isInRadius(int chunkX, int chunkZ)
      Mappings:
      Namespace Name Mixin selector
      named isInRadius Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;isInRadius(II)Z
      intermediary method_16034 Lnet/minecraft/class_631$class_3681;method_16034(II)Z
      official b Lgff$a;b(II)Z
    • getChunk

      @Nullable protected @Nullable WorldChunk getChunk(int index)
      Mappings:
      Namespace Name Mixin selector
      named getChunk Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;getChunk(I)Lnet/minecraft/world/chunk/WorldChunk;
      intermediary method_16033 Lnet/minecraft/class_631$class_3681;method_16033(I)Lnet/minecraft/class_2818;
      official a Lgff$a;a(I)Ldzz;
    • writePositions

      private void writePositions(String fileName)
      Mappings:
      Namespace Name Mixin selector
      named writePositions Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;writePositions(Ljava/lang/String;)V
      intermediary method_35751 Lnet/minecraft/class_631$class_3681;method_35751(Ljava/lang/String;)V
      official a Lgff$a;a(Ljava/lang/String;)V