Package net.minecraft.world.chunk
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 bczintermediary net/minecraft/class_904named net/minecraft/world/chunk/ClientChunkCache
-
Field Summary
Fields Modifier and Type Field Description private List<Chunk>chunksprivate LongObjectStorage<Chunk>chunkStorageprivate ChunkemptyChunkprivate static LoggerLOGGERprivate Worldworld -
Constructor Summary
Constructors Constructor Description ClientChunkCache(World world) -
Method Summary
Modifier and Type Method Description booleanchunkExists(int chunkX, int chunkZ)ChunkgetChunk(int int2, int int3)StringgetChunkProviderName()intgetLoadedChunksCount()BlockPosgetNearestStructurePos(World world, String structureName, BlockPos pos)List<Biome.SpawnEntry>getSpawnEntries(EntityCategory category, BlockPos pos)voidmethod_1323(ChunkProvider chunkProvider, int int2, int int3)booleanmethod_1324(ChunkProvider chunkProvider, Chunk chunk, int int2, int int3)voidmethod_1325(Chunk chunk, int int2, int int3)Chunkmethod_1326(BlockPos pos)booleanmethod_1328(boolean bool, ProgressListener progressListener)voidmethod_1329()booleanmethod_1330()booleanmethod_1332()voidmethod_3120(int int2, int int3)Chunkmethod_3121(int int2, int int3)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLbcz;a:Lorg/apache/logging/log4j/Logger;intermediary field_3983Lnet/minecraft/class_904;field_3983:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/world/chunk/ClientChunkCache;LOGGER:Lorg/apache/logging/log4j/Logger;
-
emptyChunk
- Mappings:
Namespace Name Mixin selector official bLbcz;b:Lamy;intermediary field_3984Lnet/minecraft/class_904;field_3984:Lnet/minecraft/class_399;named emptyChunkLnet/minecraft/world/chunk/ClientChunkCache;emptyChunk:Lnet/minecraft/world/chunk/Chunk;
-
chunkStorage
- Mappings:
Namespace Name Mixin selector official cLbcz;c:Lnq;intermediary field_3985Lnet/minecraft/class_904;field_3985:Lnet/minecraft/class_1701;named chunkStorageLnet/minecraft/world/chunk/ClientChunkCache;chunkStorage:Lnet/minecraft/util/LongObjectStorage;
-
chunks
- Mappings:
Namespace Name Mixin selector official dLbcz;d:Ljava/util/List;intermediary field_3986Lnet/minecraft/class_904;field_3986:Ljava/util/List;named chunksLnet/minecraft/world/chunk/ClientChunkCache;chunks:Ljava/util/List;
-
world
- Mappings:
Namespace Name Mixin selector official eLbcz;e:Ladm;intermediary field_3987Lnet/minecraft/class_904;field_3987:Lnet/minecraft/class_99;named worldLnet/minecraft/world/chunk/ClientChunkCache;world:Lnet/minecraft/world/World;
-
-
Constructor Details
-
ClientChunkCache
- Mappings:
Namespace Name Mixin selector official <init>Lbcz;<init>(Ladm;)Vintermediary <init>Lnet/minecraft/class_904;<init>(Lnet/minecraft/class_99;)Vnamed <init>Lnet/minecraft/world/chunk/ClientChunkCache;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
chunkExists
public boolean chunkExists(int chunkX, int chunkZ)- Specified by:
chunkExistsin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLamv;a(II)Zintermediary method_1321Lnet/minecraft/class_396;method_1321(II)Znamed chunkExistsLnet/minecraft/world/chunk/ChunkProvider;chunkExists(II)Z
-
method_3120
public void method_3120(int int2, int int3)- Mappings:
Namespace Name Mixin selector official bLbcz;b(II)Vintermediary method_3120Lnet/minecraft/class_904;method_3120(II)Vnamed method_3120Lnet/minecraft/world/chunk/ClientChunkCache;method_3120(II)V
-
method_3121
- Mappings:
Namespace Name Mixin selector official cLbcz;c(II)Lamy;intermediary method_3121Lnet/minecraft/class_904;method_3121(II)Lnet/minecraft/class_399;named method_3121Lnet/minecraft/world/chunk/ClientChunkCache;method_3121(II)Lnet/minecraft/world/chunk/Chunk;
-
getChunk
- Specified by:
getChunkin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official dLamv;d(II)Lamy;intermediary method_1331Lnet/minecraft/class_396;method_1331(II)Lnet/minecraft/class_399;named getChunkLnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/chunk/Chunk;
-
method_1328
- Specified by:
method_1328in interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLamv;a(ZLnu;)Zintermediary method_1328Lnet/minecraft/class_396;method_1328(ZLnet/minecraft/class_1707;)Znamed method_1328Lnet/minecraft/world/chunk/ChunkProvider;method_1328(ZLnet/minecraft/util/ProgressListener;)Z
-
method_1329
public void method_1329()- Specified by:
method_1329in interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official cLamv;c()Vintermediary method_1329Lnet/minecraft/class_396;method_1329()Vnamed method_1329Lnet/minecraft/world/chunk/ChunkProvider;method_1329()V
-
method_1330
public boolean method_1330()- Specified by:
method_1330in interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official dLamv;d()Zintermediary method_1330Lnet/minecraft/class_396;method_1330()Znamed method_1330Lnet/minecraft/world/chunk/ChunkProvider;method_1330()Z
-
method_1332
public boolean method_1332()- Specified by:
method_1332in interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official eLamv;e()Zintermediary method_1332Lnet/minecraft/class_396;method_1332()Znamed method_1332Lnet/minecraft/world/chunk/ChunkProvider;method_1332()Z
-
method_1323
- Specified by:
method_1323in interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLamv;a(Lamv;II)Vintermediary method_1323Lnet/minecraft/class_396;method_1323(Lnet/minecraft/class_396;II)Vnamed method_1323Lnet/minecraft/world/chunk/ChunkProvider;method_1323(Lnet/minecraft/world/chunk/ChunkProvider;II)V
-
method_1324
- Specified by:
method_1324in interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLamv;a(Lamv;Lamy;II)Zintermediary method_1324Lnet/minecraft/class_396;method_1324(Lnet/minecraft/class_396;Lnet/minecraft/class_399;II)Znamed method_1324Lnet/minecraft/world/chunk/ChunkProvider;method_1324(Lnet/minecraft/world/chunk/ChunkProvider;Lnet/minecraft/world/chunk/Chunk;II)Z
-
getChunkProviderName
- Specified by:
getChunkProviderNamein interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official fLamv;f()Ljava/lang/String;intermediary method_1333Lnet/minecraft/class_396;method_1333()Ljava/lang/String;named getChunkProviderNameLnet/minecraft/world/chunk/ChunkProvider;getChunkProviderName()Ljava/lang/String;
-
getSpawnEntries
- Specified by:
getSpawnEntriesin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLamv;a(Lpt;Lcj;)Ljava/util/List;intermediary method_1327Lnet/minecraft/class_396;method_1327(Lnet/minecraft/class_1755;Lnet/minecraft/class_1372;)Ljava/util/List;named getSpawnEntriesLnet/minecraft/world/chunk/ChunkProvider;getSpawnEntries(Lnet/minecraft/entity/EntityCategory;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;
-
getNearestStructurePos
- Specified by:
getNearestStructurePosin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLamv;a(Ladm;Ljava/lang/String;Lcj;)Lcj;intermediary method_1322Lnet/minecraft/class_396;method_1322(Lnet/minecraft/class_99;Ljava/lang/String;Lnet/minecraft/class_1372;)Lnet/minecraft/class_1372;named getNearestStructurePosLnet/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:
getLoadedChunksCountin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official gLamv;g()Iintermediary method_1334Lnet/minecraft/class_396;method_1334()Inamed getLoadedChunksCountLnet/minecraft/world/chunk/ChunkProvider;getLoadedChunksCount()I
-
method_1325
- Specified by:
method_1325in interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLamv;a(Lamy;II)Vintermediary method_1325Lnet/minecraft/class_396;method_1325(Lnet/minecraft/class_399;II)Vnamed method_1325Lnet/minecraft/world/chunk/ChunkProvider;method_1325(Lnet/minecraft/world/chunk/Chunk;II)V
-
method_1326
- Specified by:
method_1326in interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLamv;a(Lcj;)Lamy;intermediary method_1326Lnet/minecraft/class_396;method_1326(Lnet/minecraft/class_1372;)Lnet/minecraft/class_399;named method_1326Lnet/minecraft/world/chunk/ChunkProvider;method_1326(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/chunk/Chunk;
-