Class ClientChunkManager

java.lang.Object
net.minecraft.world.chunk.ChunkManager
net.minecraft.client.world.ClientChunkManager
All Implemented Interfaces:
AutoCloseable, ChunkProvider

@Environment(CLIENT) public class ClientChunkManager extends ChunkManager
Mappings:
Namespace Name
named net/minecraft/client/world/ClientChunkManager
intermediary net/minecraft/class_631
official gfw
  • Field Details Link icon

    • LOGGER Link icon

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/world/ClientChunkManager;LOGGER:Lorg/slf4j/Logger;
      intermediary field_3679 Lnet/minecraft/class_631;field_3679:Lorg/slf4j/Logger;
      official a Lgfw;a:Lorg/slf4j/Logger;
    • emptyChunk Link icon

      private final WorldChunk emptyChunk
      Mappings:
      Namespace Name Mixin selector
      named emptyChunk Lnet/minecraft/client/world/ClientChunkManager;emptyChunk:Lnet/minecraft/world/chunk/WorldChunk;
      intermediary field_3676 Lnet/minecraft/class_631;field_3676:Lnet/minecraft/class_2818;
      official b Lgfw;b:Ldzd;
    • lightingProvider Link icon

      private final LightingProvider lightingProvider
      Mappings:
      Namespace Name Mixin selector
      named lightingProvider Lnet/minecraft/client/world/ClientChunkManager;lightingProvider:Lnet/minecraft/world/chunk/light/LightingProvider;
      intermediary field_3677 Lnet/minecraft/class_631;field_3677:Lnet/minecraft/class_3568;
      official c Lgfw;c:Lesp;
    • chunks Link icon

      Mappings:
      Namespace Name Mixin selector
      named chunks Lnet/minecraft/client/world/ClientChunkManager;chunks:Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;
      intermediary field_16246 Lnet/minecraft/class_631;field_16246:Lnet/minecraft/class_631$class_3681;
      official d Lgfw;d:Lgfw$a;
    • world Link icon

      final ClientWorld world
      Mappings:
      Namespace Name Mixin selector
      named world Lnet/minecraft/client/world/ClientChunkManager;world:Lnet/minecraft/client/world/ClientWorld;
      intermediary field_16525 Lnet/minecraft/class_631;field_16525:Lnet/minecraft/class_638;
      official e Lgfw;e:Lgga;
  • Constructor Details Link icon

    • ClientChunkManager Link icon

      public ClientChunkManager(ClientWorld world, int loadDistance)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/world/ClientChunkManager;<init>(Lnet/minecraft/client/world/ClientWorld;I)V
      intermediary <init> Lnet/minecraft/class_631;<init>(Lnet/minecraft/class_638;I)V
      official <init> Lgfw;<init>(Lgga;I)V
  • Method Details Link icon

    • getLightingProvider Link icon

      public LightingProvider getLightingProvider()
      Specified by:
      getLightingProvider in class ChunkManager
      Mappings:
      Namespace Name Mixin selector
      named getLightingProvider Lnet/minecraft/world/chunk/ChunkManager;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;
      intermediary method_12130 Lnet/minecraft/class_2802;method_12130()Lnet/minecraft/class_3568;
      official p Ldyx;p()Lesp;
    • positionEquals Link icon

      private static boolean positionEquals(@Nullable @Nullable WorldChunk chunk, int x, int z)
      Mappings:
      Namespace Name Mixin selector
      named positionEquals Lnet/minecraft/client/world/ClientChunkManager;positionEquals(Lnet/minecraft/world/chunk/WorldChunk;II)Z
      intermediary method_20181 Lnet/minecraft/class_631;method_20181(Lnet/minecraft/class_2818;II)Z
      official a Lgfw;a(Ldzd;II)Z
    • unload Link icon

      public void unload(ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      named unload Lnet/minecraft/client/world/ClientChunkManager;unload(Lnet/minecraft/util/math/ChunkPos;)V
      intermediary method_2859 Lnet/minecraft/class_631;method_2859(Lnet/minecraft/class_1923;)V
      official a Lgfw;a(Ldfp;)V
    • getChunk Link icon

      @Nullable public @Nullable WorldChunk getChunk(int int2, int int3, ChunkStatus chunkStatus, boolean bool)
      Specified by:
      getChunk in class ChunkManager
      Mappings:
      Namespace Name Mixin selector
      named getChunk Lnet/minecraft/client/world/ClientChunkManager;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/WorldChunk;
      intermediary method_2857 Lnet/minecraft/class_631;method_2857(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2818;
      official b Lgfw;b(IILdzu;Z)Ldzd;
    • getWorld Link icon

      public BlockView getWorld()
      Mappings:
      Namespace Name Mixin selector
      named getWorld Lnet/minecraft/world/chunk/ChunkProvider;getWorld()Lnet/minecraft/world/BlockView;
      intermediary method_16399 Lnet/minecraft/class_2823;method_16399()Lnet/minecraft/class_1922;
      official q Ldzg;q()Ldfo;
    • onChunkBiomeData Link icon

      public void onChunkBiomeData(int x, int z, PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named onChunkBiomeData Lnet/minecraft/client/world/ClientChunkManager;onChunkBiomeData(IILnet/minecraft/network/PacketByteBuf;)V
      intermediary method_49630 Lnet/minecraft/class_631;method_49630(IILnet/minecraft/class_2540;)V
      official a Lgfw;a(IILvl;)V
    • loadChunkFromPacket Link icon

      @Nullable public @Nullable WorldChunk loadChunkFromPacket(int x, int z, PacketByteBuf buf, NbtCompound nbt, Consumer<ChunkData.BlockEntityVisitor> consumer)
      Mappings:
      Namespace Name Mixin selector
      named loadChunkFromPacket Lnet/minecraft/client/world/ClientChunkManager;loadChunkFromPacket(IILnet/minecraft/network/PacketByteBuf;Lnet/minecraft/nbt/NbtCompound;Ljava/util/function/Consumer;)Lnet/minecraft/world/chunk/WorldChunk;
      intermediary method_16020 Lnet/minecraft/class_631;method_16020(IILnet/minecraft/class_2540;Lnet/minecraft/class_2487;Ljava/util/function/Consumer;)Lnet/minecraft/class_2818;
      official a Lgfw;a(IILvl;Ltq;Ljava/util/function/Consumer;)Ldzd;
    • tick Link icon

      public void tick(BooleanSupplier shouldKeepTicking, boolean tickChunks)
      Specified by:
      tick in class ChunkManager
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/world/chunk/ChunkManager;tick(Ljava/util/function/BooleanSupplier;Z)V
      intermediary method_12127 Lnet/minecraft/class_2802;method_12127(Ljava/util/function/BooleanSupplier;Z)V
      official a Ldyx;a(Ljava/util/function/BooleanSupplier;Z)V
    • setChunkMapCenter Link icon

      public void setChunkMapCenter(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      named setChunkMapCenter Lnet/minecraft/client/world/ClientChunkManager;setChunkMapCenter(II)V
      intermediary method_20317 Lnet/minecraft/class_631;method_20317(II)V
      official d Lgfw;d(II)V
    • updateLoadDistance Link icon

      public void updateLoadDistance(int loadDistance)
      Mappings:
      Namespace Name Mixin selector
      named updateLoadDistance Lnet/minecraft/client/world/ClientChunkManager;updateLoadDistance(I)V
      intermediary method_20180 Lnet/minecraft/class_631;method_20180(I)V
      official a Lgfw;a(I)V
    • getChunkMapRadius Link icon

      private static int getChunkMapRadius(int loadDistance)
      Mappings:
      Namespace Name Mixin selector
      named getChunkMapRadius Lnet/minecraft/client/world/ClientChunkManager;getChunkMapRadius(I)I
      intermediary method_20230 Lnet/minecraft/class_631;method_20230(I)I
      official b Lgfw;b(I)I
    • getDebugString Link icon

      public String getDebugString()
      Specified by:
      getDebugString in class ChunkManager
      Mappings:
      Namespace Name Mixin selector
      named getDebugString Lnet/minecraft/world/chunk/ChunkManager;getDebugString()Ljava/lang/String;
      intermediary method_12122 Lnet/minecraft/class_2802;method_12122()Ljava/lang/String;
      official e Ldyx;e()Ljava/lang/String;
    • getLoadedChunkCount Link icon

      public int getLoadedChunkCount()
      Specified by:
      getLoadedChunkCount in class ChunkManager
      Mappings:
      Namespace Name Mixin selector
      named getLoadedChunkCount Lnet/minecraft/world/chunk/ChunkManager;getLoadedChunkCount()I
      intermediary method_14151 Lnet/minecraft/class_2802;method_14151()I
      official j Ldyx;j()I
    • onLightUpdate Link icon

      public void onLightUpdate(LightType type, ChunkSectionPos pos)
      Mappings:
      Namespace Name Mixin selector
      named onLightUpdate Lnet/minecraft/world/chunk/ChunkProvider;onLightUpdate(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/ChunkSectionPos;)V
      intermediary method_12247 Lnet/minecraft/class_2823;method_12247(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;)V
      official a Ldzg;a(Ldgs;Lkk;)V
    • getActiveSections Link icon

      public LongOpenHashSet getActiveSections()
      Mappings:
      Namespace Name Mixin selector
      named getActiveSections Lnet/minecraft/client/world/ClientChunkManager;getActiveSections()Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;
      intermediary method_62890 Lnet/minecraft/class_631;method_62890()Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;
      official a Lgfw;a()Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;
    • onSectionStatusChanged Link icon

      public void onSectionStatusChanged(int x, int sectionY, int z, boolean previouslyEmpty)
      Overrides:
      onSectionStatusChanged in class ChunkManager
      Mappings:
      Namespace Name Mixin selector
      named onSectionStatusChanged Lnet/minecraft/world/chunk/ChunkManager;onSectionStatusChanged(IIIZ)V
      intermediary method_62872 Lnet/minecraft/class_2802;method_62872(IIIZ)V
      official a Ldyx;a(IIIZ)V