Package net.minecraft.world.chunk
Class LegacyChunkCache
java.lang.Object
net.minecraft.world.chunk.LegacyChunkCache
- All Implemented Interfaces:
ChunkSource
- Mappings:
Namespace Name intermediary net/minecraft/class_390glue class_423server net/minecraft/class_390client kxnamed net/minecraft/world/chunk/LegacyChunkCache
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Chunk(package private) int(package private) intprivate Chunk[]private Chunkprivate ChunkSourceprivate intprivate intprivate ChunkStorageprivate World -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanSave()voiddecorate(ChunkSource source, int x, int z) getChunk(int chunkX, int chunkZ) booleanisChunkLoaded(int x, int z) booleanisSpawnChunk(int chunkX, int chunkZ) loadChunk(int chunkX, int chunkZ) private ChunkloadChunkFromStorage(int chunkX, int chunkZ) booleansave(boolean saveEntities, LoadingDisplay display) private voidprivate voidsaveEntities(Chunk chunk) voidsetSpawnPoint(int chunkX, int chunkZ) booleantick()
-
Field Details
-
empty
- Mappings:
Namespace Name Mixin selector intermediary field_1511Lnet/minecraft/class_390;field_1511:Lnet/minecraft/class_43;glue field_1673Lclass_423;field_1673:Lclass_279;server field_1511Lnet/minecraft/class_390;field_1511:Lhi;client cLkx;c:Llm;named emptyLnet/minecraft/world/chunk/LegacyChunkCache;empty:Lnet/minecraft/world/chunk/Chunk;
-
generator
- Mappings:
Namespace Name Mixin selector intermediary field_1512Lnet/minecraft/class_390;field_1512:Lnet/minecraft/class_51;glue field_1674Lclass_423;field_1674:Lclass_60;server field_1512Lnet/minecraft/class_390;field_1512:Lbl;client dLkx;d:Lcl;named generatorLnet/minecraft/world/chunk/LegacyChunkCache;generator:Lnet/minecraft/world/chunk/ChunkSource;
-
storage
- Mappings:
Namespace Name Mixin selector intermediary field_1513Lnet/minecraft/class_390;field_1513:Lnet/minecraft/class_243;glue field_1675Lclass_423;field_1675:Lclass_26;server field_1513Lnet/minecraft/class_390;field_1513:Lan;client eLkx;e:Lbf;named storageLnet/minecraft/world/chunk/LegacyChunkCache;storage:Lnet/minecraft/world/chunk/storage/ChunkStorage;
-
chunks
- Mappings:
Namespace Name Mixin selector intermediary field_1514Lnet/minecraft/class_390;field_1514:[Lnet/minecraft/class_43;glue field_1676Lclass_423;field_1676:[Lclass_279;server field_1514Lnet/minecraft/class_390;field_1514:[Lhi;client fLkx;f:[Llm;named chunksLnet/minecraft/world/chunk/LegacyChunkCache;chunks:[Lnet/minecraft/world/chunk/Chunk;
-
world
- Mappings:
Namespace Name Mixin selector intermediary field_1515Lnet/minecraft/class_390;field_1515:Lnet/minecraft/class_18;glue field_1677Lclass_423;field_1677:Lclass_129;server field_1515Lnet/minecraft/class_390;field_1515:Ldj;client gLkx;g:Lfd;named worldLnet/minecraft/world/chunk/LegacyChunkCache;world:Lnet/minecraft/world/World;
-
cachedChunkX
int cachedChunkX- Mappings:
Namespace Name Mixin selector intermediary field_1509Lnet/minecraft/class_390;field_1509:Iglue field_1671Lclass_423;field_1671:Iserver field_1509Lnet/minecraft/class_390;field_1509:Iclient aLkx;a:Inamed cachedChunkXLnet/minecraft/world/chunk/LegacyChunkCache;cachedChunkX:I
-
cachedChunkZ
int cachedChunkZ- Mappings:
Namespace Name Mixin selector intermediary field_1510Lnet/minecraft/class_390;field_1510:Iglue field_1672Lclass_423;field_1672:Iserver field_1510Lnet/minecraft/class_390;field_1510:Iclient bLkx;b:Inamed cachedChunkZLnet/minecraft/world/chunk/LegacyChunkCache;cachedChunkZ:I
-
cachedChunk
- Mappings:
Namespace Name Mixin selector intermediary field_1516Lnet/minecraft/class_390;field_1516:Lnet/minecraft/class_43;glue field_1678Lclass_423;field_1678:Lclass_279;server field_1516Lnet/minecraft/class_390;field_1516:Lhi;client hLkx;h:Llm;named cachedChunkLnet/minecraft/world/chunk/LegacyChunkCache;cachedChunk:Lnet/minecraft/world/chunk/Chunk;
-
spawnChunkX
private int spawnChunkX- Mappings:
Namespace Name Mixin selector intermediary field_1517Lnet/minecraft/class_390;field_1517:Iglue field_1679Lclass_423;field_1679:Iserver field_1517Lnet/minecraft/class_390;field_1517:Iclient iLkx;i:Inamed spawnChunkXLnet/minecraft/world/chunk/LegacyChunkCache;spawnChunkX:I
-
spawnChunkZ
private int spawnChunkZ- Mappings:
Namespace Name Mixin selector intermediary field_1518Lnet/minecraft/class_390;field_1518:Iglue field_1680Lclass_423;field_1680:Iserver field_1518Lnet/minecraft/class_390;field_1518:Iclient jLkx;j:Inamed spawnChunkZLnet/minecraft/world/chunk/LegacyChunkCache;spawnChunkZ:I
-
-
Constructor Details
-
LegacyChunkCache
public LegacyChunkCache()
-
-
Method Details
-
setSpawnPoint
public void setSpawnPoint(int chunkX, int chunkZ) - Mappings:
Namespace Name Mixin selector intermediary method_1242Lnet/minecraft/class_390;method_1242(II)Vglue method_1589Lclass_423;method_1589(II)Vserver method_1242Lnet/minecraft/class_390;method_1242(II)Vclient dLkx;d(II)Vnamed setSpawnPointLnet/minecraft/world/chunk/LegacyChunkCache;setSpawnPoint(II)V
-
isSpawnChunk
public boolean isSpawnChunk(int chunkX, int chunkZ) - Mappings:
Namespace Name Mixin selector intermediary method_1243Lnet/minecraft/class_390;method_1243(II)Zglue method_1590Lclass_423;method_1590(II)Zserver method_1243Lnet/minecraft/class_390;method_1243(II)Zclient eLkx;e(II)Znamed isSpawnChunkLnet/minecraft/world/chunk/LegacyChunkCache;isSpawnChunk(II)Z
-
isChunkLoaded
public boolean isChunkLoaded(int x, int z) - Specified by:
isChunkLoadedin interfaceChunkSource- Mappings:
Namespace Name Mixin selector intermediary method_1802Lnet/minecraft/class_51;method_1802(II)Zglue method_186Lclass_60;method_186(II)Zserver aLbl;a(II)Zclient aLcl;a(II)Znamed isChunkLoadedLnet/minecraft/world/chunk/ChunkSource;isChunkLoaded(II)Z
-
loadChunk
- Specified by:
loadChunkin interfaceChunkSource- Mappings:
Namespace Name Mixin selector intermediary method_1807Lnet/minecraft/class_51;method_1807(II)Lnet/minecraft/class_43;glue method_191Lclass_60;method_191(II)Lclass_279;server cLbl;c(II)Lhi;client cLcl;c(II)Llm;named loadChunkLnet/minecraft/world/chunk/ChunkSource;loadChunk(II)Lnet/minecraft/world/chunk/Chunk;
-
getChunk
- Specified by:
getChunkin interfaceChunkSource- Mappings:
Namespace Name Mixin selector intermediary method_1806Lnet/minecraft/class_51;method_1806(II)Lnet/minecraft/class_43;glue method_190Lclass_60;method_190(II)Lclass_279;server bLbl;b(II)Lhi;client bLcl;b(II)Llm;named getChunkLnet/minecraft/world/chunk/ChunkSource;getChunk(II)Lnet/minecraft/world/chunk/Chunk;
-
loadChunkFromStorage
- Mappings:
Namespace Name Mixin selector intermediary method_1244Lnet/minecraft/class_390;method_1244(II)Lnet/minecraft/class_43;glue method_1591Lclass_423;method_1591(II)Lclass_279;server method_1244Lnet/minecraft/class_390;method_1244(II)Lhi;client fLkx;f(II)Llm;named loadChunkFromStorageLnet/minecraft/world/chunk/LegacyChunkCache;loadChunkFromStorage(II)Lnet/minecraft/world/chunk/Chunk;
-
saveEntities
- Mappings:
Namespace Name Mixin selector intermediary method_1240Lnet/minecraft/class_390;method_1240(Lnet/minecraft/class_43;)Vglue method_1587Lclass_423;method_1587(Lclass_279;)Vserver method_1240Lnet/minecraft/class_390;method_1240(Lhi;)Vclient aLkx;a(Llm;)Vnamed saveEntitiesLnet/minecraft/world/chunk/LegacyChunkCache;saveEntities(Lnet/minecraft/world/chunk/Chunk;)V
-
saveChunk
- Mappings:
Namespace Name Mixin selector intermediary method_1241Lnet/minecraft/class_390;method_1241(Lnet/minecraft/class_43;)Vglue method_1588Lclass_423;method_1588(Lclass_279;)Vserver method_1241Lnet/minecraft/class_390;method_1241(Lhi;)Vclient bLkx;b(Llm;)Vnamed saveChunkLnet/minecraft/world/chunk/LegacyChunkCache;saveChunk(Lnet/minecraft/world/chunk/Chunk;)V
-
decorate
- Specified by:
decoratein interfaceChunkSource- Mappings:
Namespace Name Mixin selector intermediary method_1803Lnet/minecraft/class_51;method_1803(Lnet/minecraft/class_51;II)Vglue method_187Lclass_60;method_187(Lclass_60;II)Vserver aLbl;a(Lbl;II)Vclient aLcl;a(Lcl;II)Vnamed decorateLnet/minecraft/world/chunk/ChunkSource;decorate(Lnet/minecraft/world/chunk/ChunkSource;II)V
-
save
- Specified by:
savein interfaceChunkSource- Mappings:
Namespace Name Mixin selector intermediary method_1804Lnet/minecraft/class_51;method_1804(ZLnet/minecraft/class_62;)Zglue method_188Lclass_60;method_188(ZLclass_595;)Zserver aLbl;a(ZLpj;)Zclient aLcl;a(ZLyb;)Znamed saveLnet/minecraft/world/chunk/ChunkSource;save(ZLnet/minecraft/client/gui/screen/LoadingDisplay;)Z
-
tick
public boolean tick()- Specified by:
tickin interfaceChunkSource- Mappings:
Namespace Name Mixin selector intermediary method_1801Lnet/minecraft/class_51;method_1801()Zglue method_185Lclass_60;method_185()Zserver aLbl;a()Zclient aLcl;a()Znamed tickLnet/minecraft/world/chunk/ChunkSource;tick()Z
-
canSave
public boolean canSave()- Specified by:
canSavein interfaceChunkSource- Mappings:
Namespace Name Mixin selector intermediary method_1805Lnet/minecraft/class_51;method_1805()Zglue method_189Lclass_60;method_189()Zserver bLbl;b()Zclient bLcl;b()Znamed canSaveLnet/minecraft/world/chunk/ChunkSource;canSave()Z
-
getDebugInfo
- Specified by:
getDebugInfoin interfaceChunkSource- Mappings:
Namespace Name Mixin selector intermediary method_1808Lnet/minecraft/class_51;method_1808()Ljava/lang/String;glue method_296Lclass_60;method_296()Ljava/lang/String;server method_1808Lbl;method_1808()Ljava/lang/String;client cLcl;c()Ljava/lang/String;named getDebugInfoLnet/minecraft/world/chunk/ChunkSource;getDebugInfo()Ljava/lang/String;
-