Package net.minecraft.world.chunk
Class ServerChunkCache
java.lang.Object
net.minecraft.world.chunk.ServerChunkCache
- All Implemented Interfaces:
ChunkProvider
public class ServerChunkCache extends Object implements ChunkProvider
- Mappings:
Namespace Name official ldintermediary net/minecraft/class_1634named net/minecraft/world/chunk/ServerChunkCache
-
Field Summary
Fields Modifier and Type Field Description booleanfield_6611private Set<Long>field_6613private Chunkfield_6614private ChunkProviderfield_6615private ChunkWriterfield_6616private LongObjectStorage<Chunk>field_6617private List<Chunk>field_6618private static LoggerLOGGERprivate ServerWorldworld -
Constructor Summary
Constructors Constructor Description ServerChunkCache(ServerWorld world, ChunkWriter chunkWriter, ChunkProvider chunkProvider) -
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)private ChunkloadChunk(int int2, int int3)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()List<Chunk>method_6025()private voidmethod_6026(Chunk chunk)voidmethod_6027()voidmethod_6028(int int2, int int3)private voidmethod_6029(Chunk chunk)Chunkmethod_6030(int int2, int int3)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bLld;b:Lorg/apache/logging/log4j/Logger;intermediary field_6612Lnet/minecraft/class_1634;field_6612:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/world/chunk/ServerChunkCache;LOGGER:Lorg/apache/logging/log4j/Logger;
-
field_6613
- Mappings:
Namespace Name Mixin selector official cLld;c:Ljava/util/Set;intermediary field_6613Lnet/minecraft/class_1634;field_6613:Ljava/util/Set;named field_6613Lnet/minecraft/world/chunk/ServerChunkCache;field_6613:Ljava/util/Set;
-
field_6614
- Mappings:
Namespace Name Mixin selector official dLld;d:Lamy;intermediary field_6614Lnet/minecraft/class_1634;field_6614:Lnet/minecraft/class_399;named field_6614Lnet/minecraft/world/chunk/ServerChunkCache;field_6614:Lnet/minecraft/world/chunk/Chunk;
-
field_6615
- Mappings:
Namespace Name Mixin selector official eLld;e:Lamv;intermediary field_6615Lnet/minecraft/class_1634;field_6615:Lnet/minecraft/class_396;named field_6615Lnet/minecraft/world/chunk/ServerChunkCache;field_6615:Lnet/minecraft/world/chunk/ChunkProvider;
-
field_6616
- Mappings:
Namespace Name Mixin selector official fLld;f:Land;intermediary field_6616Lnet/minecraft/class_1634;field_6616:Lnet/minecraft/class_404;named field_6616Lnet/minecraft/world/chunk/ServerChunkCache;field_6616:Lnet/minecraft/world/chunk/ChunkWriter;
-
field_6611
public boolean field_6611- Mappings:
Namespace Name Mixin selector official aLld;a:Zintermediary field_6611Lnet/minecraft/class_1634;field_6611:Znamed field_6611Lnet/minecraft/world/chunk/ServerChunkCache;field_6611:Z
-
field_6617
- Mappings:
Namespace Name Mixin selector official gLld;g:Lnq;intermediary field_6617Lnet/minecraft/class_1634;field_6617:Lnet/minecraft/class_1701;named field_6617Lnet/minecraft/world/chunk/ServerChunkCache;field_6617:Lnet/minecraft/util/LongObjectStorage;
-
field_6618
- Mappings:
Namespace Name Mixin selector official hLld;h:Ljava/util/List;intermediary field_6618Lnet/minecraft/class_1634;field_6618:Ljava/util/List;named field_6618Lnet/minecraft/world/chunk/ServerChunkCache;field_6618:Ljava/util/List;
-
world
- Mappings:
Namespace Name Mixin selector official iLld;i:Lle;intermediary field_6619Lnet/minecraft/class_1634;field_6619:Lnet/minecraft/class_1635;named worldLnet/minecraft/world/chunk/ServerChunkCache;world:Lnet/minecraft/server/world/ServerWorld;
-
-
Constructor Details
-
ServerChunkCache
- Mappings:
Namespace Name Mixin selector official <init>Lld;<init>(Lle;Land;Lamv;)Vintermediary <init>Lnet/minecraft/class_1634;<init>(Lnet/minecraft/class_1635;Lnet/minecraft/class_404;Lnet/minecraft/class_396;)Vnamed <init>Lnet/minecraft/world/chunk/ServerChunkCache;<init>(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/chunk/ChunkWriter;Lnet/minecraft/world/chunk/ChunkProvider;)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_6025
- Mappings:
Namespace Name Mixin selector official aLld;a()Ljava/util/List;intermediary method_6025Lnet/minecraft/class_1634;method_6025()Ljava/util/List;named method_6025Lnet/minecraft/world/chunk/ServerChunkCache;method_6025()Ljava/util/List;
-
method_6028
public void method_6028(int int2, int int3)- Mappings:
Namespace Name Mixin selector official bLld;b(II)Vintermediary method_6028Lnet/minecraft/class_1634;method_6028(II)Vnamed method_6028Lnet/minecraft/world/chunk/ServerChunkCache;method_6028(II)V
-
method_6027
public void method_6027()- Mappings:
Namespace Name Mixin selector official bLld;b()Vintermediary method_6027Lnet/minecraft/class_1634;method_6027()Vnamed method_6027Lnet/minecraft/world/chunk/ServerChunkCache;method_6027()V
-
method_6030
- Mappings:
Namespace Name Mixin selector official cLld;c(II)Lamy;intermediary method_6030Lnet/minecraft/class_1634;method_6030(II)Lnet/minecraft/class_399;named method_6030Lnet/minecraft/world/chunk/ServerChunkCache;method_6030(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;
-
loadChunk
- Mappings:
Namespace Name Mixin selector official eLld;e(II)Lamy;intermediary method_6031Lnet/minecraft/class_1634;method_6031(II)Lnet/minecraft/class_399;named loadChunkLnet/minecraft/world/chunk/ServerChunkCache;loadChunk(II)Lnet/minecraft/world/chunk/Chunk;
-
method_6026
- Mappings:
Namespace Name Mixin selector official aLld;a(Lamy;)Vintermediary method_6026Lnet/minecraft/class_1634;method_6026(Lnet/minecraft/class_399;)Vnamed method_6026Lnet/minecraft/world/chunk/ServerChunkCache;method_6026(Lnet/minecraft/world/chunk/Chunk;)V
-
method_6029
- Mappings:
Namespace Name Mixin selector official bLld;b(Lamy;)Vintermediary method_6029Lnet/minecraft/class_1634;method_6029(Lnet/minecraft/class_399;)Vnamed method_6029Lnet/minecraft/world/chunk/ServerChunkCache;method_6029(Lnet/minecraft/world/chunk/Chunk;)V
-
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
-
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
-
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;
-