Class ClientChunkProvider

java.lang.Object
net.minecraft.world.chunk.ClientChunkProvider
All Implemented Interfaces:
AutoCloseable, ChunkProvider

@Environment(CLIENT) public class ClientChunkProvider extends Object implements ChunkProvider
Mappings:
Namespace Name
official crb
intermediary net/minecraft/class_476
named net/minecraft/world/chunk/ClientChunkProvider
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lcrb;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_7924 Lnet/minecraft/class_476;field_7924:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/world/chunk/ClientChunkProvider;LOGGER:Lorg/apache/logging/log4j/Logger;
    • emptyChunk

      private final Chunk emptyChunk
      Mappings:
      Namespace Name Mixin selector
      official b Lcrb;b:Lbnj;
      intermediary field_1642 Lnet/minecraft/class_476;field_1642:Lnet/minecraft/class_1196;
      named emptyChunk Lnet/minecraft/world/chunk/ClientChunkProvider;emptyChunk:Lnet/minecraft/world/chunk/Chunk;
    • chunkMap

      private final Long2ObjectMap<Chunk> chunkMap
      Mappings:
      Namespace Name Mixin selector
      official c Lcrb;c:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
      intermediary field_13400 Lnet/minecraft/class_476;field_13400:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
      named chunkMap Lnet/minecraft/world/chunk/ClientChunkProvider;chunkMap:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
    • world

      private final World world
      Mappings:
      Namespace Name Mixin selector
      official d Lcrb;d:Laxy;
      intermediary field_1645 Lnet/minecraft/class_476;field_1645:Lnet/minecraft/class_1150;
      named world Lnet/minecraft/world/chunk/ClientChunkProvider;world:Lnet/minecraft/world/World;
  • Constructor Details

    • ClientChunkProvider

      public ClientChunkProvider(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcrb;<init>(Laxy;)V
      intermediary <init> Lnet/minecraft/class_476;<init>(Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/world/chunk/ClientChunkProvider;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • unloadChunk

      public void unloadChunk(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lcrb;a(II)V
      intermediary method_1220 Lnet/minecraft/class_476;method_1220(II)V
      named unloadChunk Lnet/minecraft/world/chunk/ClientChunkProvider;unloadChunk(II)V
    • method_17044

      @Nullable public Chunk method_17044(int int2, int int3, boolean bool, boolean bool2)
      Specified by:
      method_17044 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lbnc;a(IIZZ)Lbnj;
      intermediary method_17044 Lnet/minecraft/class_1193;method_17044(IIZZ)Lnet/minecraft/class_1196;
      named method_17044 Lnet/minecraft/world/chunk/ChunkProvider;method_17044(IIZZ)Lnet/minecraft/world/chunk/Chunk;
    • method_18954

      public Chunk method_18954(int int2, int int3, PacketByteBuf packetByteBuf, int int4, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lcrb;a(IILhy;IZ)Lbnj;
      intermediary method_18954 Lnet/minecraft/class_476;method_18954(IILnet/minecraft/class_1967;IZ)Lnet/minecraft/class_1196;
      named method_18954 Lnet/minecraft/world/chunk/ClientChunkProvider;method_18954(IILnet/minecraft/util/PacketByteBuf;IZ)Lnet/minecraft/world/chunk/Chunk;
    • method_17045

      public boolean method_17045(BooleanSupplier booleanSupplier)
      Specified by:
      method_17045 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lbnc;a(Ljava/util/function/BooleanSupplier;)Z
      intermediary method_17045 Lnet/minecraft/class_1193;method_17045(Ljava/util/function/BooleanSupplier;)Z
      named method_17045 Lnet/minecraft/world/chunk/ChunkProvider;method_17045(Ljava/util/function/BooleanSupplier;)Z
    • getChunkProviderName

      public String getChunkProviderName()
      Specified by:
      getChunkProviderName in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official e Lbnc;e()Ljava/lang/String;
      intermediary method_3872 Lnet/minecraft/class_1193;method_3872()Ljava/lang/String;
      named getChunkProviderName Lnet/minecraft/world/chunk/ChunkProvider;getChunkProviderName()Ljava/lang/String;
    • method_17046

      public ChunkGenerator<?> method_17046()
      Specified by:
      method_17046 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official f Lbnc;f()Lbmy;
      intermediary method_17046 Lnet/minecraft/class_1193;method_17046()Lnet/minecraft/class_2744;
      named method_17046 Lnet/minecraft/world/chunk/ChunkProvider;method_17046()Lnet/minecraft/server/world/ChunkGenerator;