Class ClientChunkProvider

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

@Environment(CLIENT) public class ClientChunkProvider extends Object implements ChunkProvider
Mappings:
Namespace Name
official biw
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 Lbiw;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 Chunk emptyChunk
      Mappings:
      Namespace Name Mixin selector
      official b Lbiw;b:Laoi;
      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;
    • chunkStorage

      private LongObjectStorage chunkStorage
      Mappings:
      Namespace Name Mixin selector
      official c Lbiw;c:Lop;
      intermediary field_1643 Lnet/minecraft/class_476;field_1643:Lnet/minecraft/class_835;
      named chunkStorage Lnet/minecraft/world/chunk/ClientChunkProvider;chunkStorage:Lnet/minecraft/util/collection/LongObjectStorage;
    • chunks

      private List chunks
      Mappings:
      Namespace Name Mixin selector
      official d Lbiw;d:Ljava/util/List;
      intermediary field_1644 Lnet/minecraft/class_476;field_1644:Ljava/util/List;
      named chunks Lnet/minecraft/world/chunk/ClientChunkProvider;chunks:Ljava/util/List;
    • world

      private World world
      Mappings:
      Namespace Name Mixin selector
      official e Lbiw;e:Lafm;
      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> Lbiw;<init>(Lafm;)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

    • chunkExists

      public boolean chunkExists(int x, int z)
      Specified by:
      chunkExists in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Laof;a(II)Z
      intermediary method_3864 Lnet/minecraft/class_1193;method_3864(II)Z
      named chunkExists Lnet/minecraft/world/chunk/ChunkProvider;chunkExists(II)Z
    • unloadChunk

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

      public Chunk getOrGenerateChunk(int x, int z)
      Specified by:
      getOrGenerateChunk in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official method_3871 Lbiw;method_3871(II)Laoi;
      intermediary method_3871 Lnet/minecraft/class_476;method_3871(II)Lnet/minecraft/class_1196;
      named getOrGenerateChunk Lnet/minecraft/world/chunk/ClientChunkProvider;getOrGenerateChunk(II)Lnet/minecraft/world/chunk/Chunk;
    • getChunk

      public Chunk getChunk(int x, int z)
      Specified by:
      getChunk in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official d Laof;d(II)Laoi;
      intermediary method_3873 Lnet/minecraft/class_1193;method_3873(II)Lnet/minecraft/class_1196;
      named getChunk Lnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/chunk/Chunk;
    • saveChunks

      public boolean saveChunks(boolean saveEntities, ProgressListener progressListener)
      Specified by:
      saveChunks in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Laof;a(ZLow;)Z
      intermediary method_3868 Lnet/minecraft/class_1193;method_3868(ZLnet/minecraft/class_841;)Z
      named saveChunks Lnet/minecraft/world/chunk/ChunkProvider;saveChunks(ZLnet/minecraft/util/ProgressListener;)Z
    • flushChunks

      public void flushChunks()
      Specified by:
      flushChunks in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official b Laof;b()V
      intermediary method_4727 Lnet/minecraft/class_1193;method_4727()V
      named flushChunks Lnet/minecraft/world/chunk/ChunkProvider;flushChunks()V
    • tickChunks

      public boolean tickChunks()
      Specified by:
      tickChunks in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official c Laof;c()Z
      intermediary method_3869 Lnet/minecraft/class_1193;method_3869()Z
      named tickChunks Lnet/minecraft/world/chunk/ChunkProvider;tickChunks()Z
    • isSavingEnabled

      public boolean isSavingEnabled()
      Specified by:
      isSavingEnabled in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official d Laof;d()Z
      intermediary method_3870 Lnet/minecraft/class_1193;method_3870()Z
      named isSavingEnabled Lnet/minecraft/world/chunk/ChunkProvider;isSavingEnabled()Z
    • decorateChunk

      public void decorateChunk(ChunkProvider provider, int x, int z)
      Specified by:
      decorateChunk in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Laof;a(Laof;II)V
      intermediary method_3867 Lnet/minecraft/class_1193;method_3867(Lnet/minecraft/class_1193;II)V
      named decorateChunk Lnet/minecraft/world/chunk/ChunkProvider;decorateChunk(Lnet/minecraft/world/chunk/ChunkProvider;II)V
    • getChunkProviderName

      public String getChunkProviderName()
      Specified by:
      getChunkProviderName in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official e Laof;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_3865

      public List method_3865(EntityCategory entityCategory, int int2, int int3, int int4)
      Specified by:
      method_3865 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Laof;a(Lri;III)Ljava/util/List;
      intermediary method_3865 Lnet/minecraft/class_1193;method_3865(Lnet/minecraft/class_872;III)Ljava/util/List;
      named method_3865 Lnet/minecraft/world/chunk/ChunkProvider;method_3865(Lnet/minecraft/entity/EntityCategory;III)Ljava/util/List;
    • method_3866

      public Vec3i method_3866(World world, String string, int int2, int int3, int int4)
      Specified by:
      method_3866 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Laof;a(Lafm;Ljava/lang/String;III)Lafe;
      intermediary method_3866 Lnet/minecraft/class_1193;method_3866(Lnet/minecraft/class_1150;Ljava/lang/String;III)Lnet/minecraft/class_1167;
      named method_3866 Lnet/minecraft/world/chunk/ChunkProvider;method_3866(Lnet/minecraft/world/World;Ljava/lang/String;III)Lnet/minecraft/util/math/Vec3i;
    • getLoadedChunksCount

      public int getLoadedChunksCount()
      Specified by:
      getLoadedChunksCount in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official f Laof;f()I
      intermediary method_3874 Lnet/minecraft/class_1193;method_3874()I
      named getLoadedChunksCount Lnet/minecraft/world/chunk/ChunkProvider;getLoadedChunksCount()I
    • method_4702

      public void method_4702(int int2, int int3)
      Specified by:
      method_4702 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official e Laof;e(II)V
      intermediary method_4702 Lnet/minecraft/class_1193;method_4702(II)V
      named method_4702 Lnet/minecraft/world/chunk/ChunkProvider;method_4702(II)V