Class ClientChunkCache

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

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lbcz;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_3983 Lnet/minecraft/class_904;field_3983:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/world/chunk/ClientChunkCache;LOGGER:Lorg/apache/logging/log4j/Logger;
    • emptyChunk

      private Chunk emptyChunk
      Mappings:
      Namespace Name Mixin selector
      official b Lbcz;b:Lamy;
      intermediary field_3984 Lnet/minecraft/class_904;field_3984:Lnet/minecraft/class_399;
      named emptyChunk Lnet/minecraft/world/chunk/ClientChunkCache;emptyChunk:Lnet/minecraft/world/chunk/Chunk;
    • chunkStorage

      private LongObjectStorage<Chunk> chunkStorage
      Mappings:
      Namespace Name Mixin selector
      official c Lbcz;c:Lnq;
      intermediary field_3985 Lnet/minecraft/class_904;field_3985:Lnet/minecraft/class_1701;
      named chunkStorage Lnet/minecraft/world/chunk/ClientChunkCache;chunkStorage:Lnet/minecraft/util/LongObjectStorage;
    • chunks

      private List<Chunk> chunks
      Mappings:
      Namespace Name Mixin selector
      official d Lbcz;d:Ljava/util/List;
      intermediary field_3986 Lnet/minecraft/class_904;field_3986:Ljava/util/List;
      named chunks Lnet/minecraft/world/chunk/ClientChunkCache;chunks:Ljava/util/List;
    • world

      private World world
      Mappings:
      Namespace Name Mixin selector
      official e Lbcz;e:Ladm;
      intermediary field_3987 Lnet/minecraft/class_904;field_3987:Lnet/minecraft/class_99;
      named world Lnet/minecraft/world/chunk/ClientChunkCache;world:Lnet/minecraft/world/World;
  • Constructor Details

    • ClientChunkCache

      public ClientChunkCache​(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbcz;<init>(Ladm;)V
      intermediary <init> Lnet/minecraft/class_904;<init>(Lnet/minecraft/class_99;)V
      named <init> Lnet/minecraft/world/chunk/ClientChunkCache;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • chunkExists

      public boolean chunkExists​(int chunkX, int chunkZ)
      Specified by:
      chunkExists in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(II)Z
      intermediary method_1321 Lnet/minecraft/class_396;method_1321(II)Z
      named chunkExists Lnet/minecraft/world/chunk/ChunkProvider;chunkExists(II)Z
    • method_3120

      public void method_3120​(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official b Lbcz;b(II)V
      intermediary method_3120 Lnet/minecraft/class_904;method_3120(II)V
      named method_3120 Lnet/minecraft/world/chunk/ClientChunkCache;method_3120(II)V
    • method_3121

      public Chunk method_3121​(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official c Lbcz;c(II)Lamy;
      intermediary method_3121 Lnet/minecraft/class_904;method_3121(II)Lnet/minecraft/class_399;
      named method_3121 Lnet/minecraft/world/chunk/ClientChunkCache;method_3121(II)Lnet/minecraft/world/chunk/Chunk;
    • getChunk

      public Chunk getChunk​(int int2, int int3)
      Specified by:
      getChunk in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official d Lamv;d(II)Lamy;
      intermediary method_1331 Lnet/minecraft/class_396;method_1331(II)Lnet/minecraft/class_399;
      named getChunk Lnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/chunk/Chunk;
    • method_1328

      public boolean method_1328​(boolean bool, ProgressListener progressListener)
      Specified by:
      method_1328 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(ZLnu;)Z
      intermediary method_1328 Lnet/minecraft/class_396;method_1328(ZLnet/minecraft/class_1707;)Z
      named method_1328 Lnet/minecraft/world/chunk/ChunkProvider;method_1328(ZLnet/minecraft/util/ProgressListener;)Z
    • method_1329

      public void method_1329()
      Specified by:
      method_1329 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official c Lamv;c()V
      intermediary method_1329 Lnet/minecraft/class_396;method_1329()V
      named method_1329 Lnet/minecraft/world/chunk/ChunkProvider;method_1329()V
    • method_1330

      public boolean method_1330()
      Specified by:
      method_1330 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official d Lamv;d()Z
      intermediary method_1330 Lnet/minecraft/class_396;method_1330()Z
      named method_1330 Lnet/minecraft/world/chunk/ChunkProvider;method_1330()Z
    • method_1332

      public boolean method_1332()
      Specified by:
      method_1332 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official e Lamv;e()Z
      intermediary method_1332 Lnet/minecraft/class_396;method_1332()Z
      named method_1332 Lnet/minecraft/world/chunk/ChunkProvider;method_1332()Z
    • method_1323

      public void method_1323​(ChunkProvider chunkProvider, int int2, int int3)
      Specified by:
      method_1323 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lamv;II)V
      intermediary method_1323 Lnet/minecraft/class_396;method_1323(Lnet/minecraft/class_396;II)V
      named method_1323 Lnet/minecraft/world/chunk/ChunkProvider;method_1323(Lnet/minecraft/world/chunk/ChunkProvider;II)V
    • method_1324

      public boolean method_1324​(ChunkProvider chunkProvider, Chunk chunk, int int2, int int3)
      Specified by:
      method_1324 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lamv;Lamy;II)Z
      intermediary method_1324 Lnet/minecraft/class_396;method_1324(Lnet/minecraft/class_396;Lnet/minecraft/class_399;II)Z
      named method_1324 Lnet/minecraft/world/chunk/ChunkProvider;method_1324(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_1333 Lnet/minecraft/class_396;method_1333()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_1327 Lnet/minecraft/class_396;method_1327(Lnet/minecraft/class_1755;Lnet/minecraft/class_1372;)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_1322 Lnet/minecraft/class_396;method_1322(Lnet/minecraft/class_99;Ljava/lang/String;Lnet/minecraft/class_1372;)Lnet/minecraft/class_1372;
      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_1334 Lnet/minecraft/class_396;method_1334()I
      named getLoadedChunksCount Lnet/minecraft/world/chunk/ChunkProvider;getLoadedChunksCount()I
    • method_1325

      public void method_1325​(Chunk chunk, int int2, int int3)
      Specified by:
      method_1325 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lamy;II)V
      intermediary method_1325 Lnet/minecraft/class_396;method_1325(Lnet/minecraft/class_399;II)V
      named method_1325 Lnet/minecraft/world/chunk/ChunkProvider;method_1325(Lnet/minecraft/world/chunk/Chunk;II)V
    • method_1326

      public Chunk method_1326​(BlockPos pos)
      Specified by:
      method_1326 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lcj;)Lamy;
      intermediary method_1326 Lnet/minecraft/class_396;method_1326(Lnet/minecraft/class_1372;)Lnet/minecraft/class_399;
      named method_1326 Lnet/minecraft/world/chunk/ChunkProvider;method_1326(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/chunk/Chunk;