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 bcz
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 Lbcz;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 Lbcz;b:Lamy;
      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<Chunk> chunkStorage
      Mappings:
      Namespace Name Mixin selector
      official c Lbcz;c:Lnq;
      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<Chunk> chunks
      Mappings:
      Namespace Name Mixin selector
      official d Lbcz;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 Lbcz;e:Ladm;
      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> Lbcz;<init>(Ladm;)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 Lamv;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 Lbcz;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)
      Mappings:
      Namespace Name Mixin selector
      official c Lbcz;c(II)Lamy;
      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 Lamv;d(II)Lamy;
      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 Lamv;a(ZLnu;)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 c Lamv;c()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 d Lamv;d()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 e Lamv;e()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 Lamv;a(Lamv;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
    • isChunkModified

      public boolean isChunkModified(ChunkProvider chunkProvider, Chunk chunk, int x, int z)
      Specified by:
      isChunkModified in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lamv;Lamy;II)Z
      intermediary method_9122 Lnet/minecraft/class_1193;method_9122(Lnet/minecraft/class_1193;Lnet/minecraft/class_1196;II)Z
      named isChunkModified Lnet/minecraft/world/chunk/ChunkProvider;isChunkModified(Lnet/minecraft/world/chunk/ChunkProvider;Lnet/minecraft/world/chunk/Chunk;II)Z
    • getChunkProviderName

      public String getChunkProviderName()
      Specified by:
      getChunkProviderName in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official f Lamv;f()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;
    • getSpawnEntries

      public List<Biome.SpawnEntry> getSpawnEntries(EntityCategory category, BlockPos pos)
      Specified by:
      getSpawnEntries in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lpt;Lcj;)Ljava/util/List;
      intermediary method_9124 Lnet/minecraft/class_1193;method_9124(Lnet/minecraft/class_872;Lnet/minecraft/class_2552;)Ljava/util/List;
      named getSpawnEntries Lnet/minecraft/world/chunk/ChunkProvider;getSpawnEntries(Lnet/minecraft/entity/EntityCategory;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;
    • getNearestStructurePos

      public BlockPos getNearestStructurePos(World world, String structureName, BlockPos pos)
      Specified by:
      getNearestStructurePos in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Ladm;Ljava/lang/String;Lcj;)Lcj;
      intermediary method_3866 Lnet/minecraft/class_1193;method_3866(Lnet/minecraft/class_1150;Ljava/lang/String;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2552;
      named getNearestStructurePos Lnet/minecraft/world/chunk/ChunkProvider;getNearestStructurePos(Lnet/minecraft/world/World;Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
    • getLoadedChunksCount

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

      public void handleInitialLoad(Chunk chunk, int x, int z)
      Specified by:
      handleInitialLoad in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lamy;II)V
      intermediary method_4702 Lnet/minecraft/class_1193;method_4702(Lnet/minecraft/class_1196;II)V
      named handleInitialLoad Lnet/minecraft/world/chunk/ChunkProvider;handleInitialLoad(Lnet/minecraft/world/chunk/Chunk;II)V
    • getChunk

      public Chunk getChunk(BlockPos pos)
      Specified by:
      getChunk in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lcj;)Lamy;
      intermediary method_9123 Lnet/minecraft/class_1193;method_9123(Lnet/minecraft/class_2552;)Lnet/minecraft/class_1196;
      named getChunk Lnet/minecraft/world/chunk/ChunkProvider;getChunk(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/chunk/Chunk;