Package net.minecraft.world.chunk
Class ServerChunkProvider
java.lang.Object
net.minecraft.world.chunk.ServerChunkProvider
- All Implemented Interfaces:
ChunkProvider
- Mappings:
Namespace Name official qsintermediary net/minecraft/class_794named net/minecraft/world/chunk/ServerChunkProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanprivate ChunkProviderprivate LongObjectStorageprivate Listprivate Setprivate ChunkStorageprivate Chunkprivate static final Loggerprivate ServerWorld -
Constructor Summary
ConstructorsConstructorDescriptionServerChunkProvider(ServerWorld world, ChunkStorage chunkWriter, ChunkProvider chunkProvider) -
Method Summary
Modifier and TypeMethodDescriptionbooleanchunkExists(int x, int z) voiddecorateChunk(ChunkProvider provider, int x, int z) voidgetChunk(int x, int z) intgetNearestStructurePos(World world, String structureName, BlockPos pos) getOrGenerateChunk(int x, int z) getSpawnEntries(EntityCategory category, BlockPos pos) voidhandleInitialLoad(Chunk chunk, int x, int z) booleanisChunkModified(ChunkProvider chunkProvider, Chunk chunk, int x, int z) booleanprivate ChunkloadChunk(int x, int z) private voidbooleansaveChunks(boolean saveEntities, ProgressListener progressListener) private voidsaveEntities(Chunk chunk) voidscheduleUnload(int y, int z) booleanvoid
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bLqs;b:Lorg/apache/logging/log4j/Logger;intermediary field_8891Lnet/minecraft/class_794;field_8891:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/world/chunk/ServerChunkProvider;LOGGER:Lorg/apache/logging/log4j/Logger;
-
chunksToUnload
- Mappings:
Namespace Name Mixin selector official cLqs;c:Ljava/util/Set;intermediary field_2802Lnet/minecraft/class_794;field_2802:Ljava/util/Set;named chunksToUnloadLnet/minecraft/world/chunk/ServerChunkProvider;chunksToUnload:Ljava/util/Set;
-
empty
- Mappings:
Namespace Name Mixin selector official dLqs;d:Lbfh;intermediary field_2803Lnet/minecraft/class_794;field_2803:Lnet/minecraft/class_1196;named emptyLnet/minecraft/world/chunk/ServerChunkProvider;empty:Lnet/minecraft/world/chunk/Chunk;
-
chunkGenerator
- Mappings:
Namespace Name Mixin selector official eLqs;e:Lbfe;intermediary field_2804Lnet/minecraft/class_794;field_2804:Lnet/minecraft/class_1193;named chunkGeneratorLnet/minecraft/world/chunk/ServerChunkProvider;chunkGenerator:Lnet/minecraft/world/chunk/ChunkProvider;
-
chunkWriter
- Mappings:
Namespace Name Mixin selector official fLqs;f:Lbfq;intermediary field_2805Lnet/minecraft/class_794;field_2805:Lnet/minecraft/class_1199;named chunkWriterLnet/minecraft/world/chunk/ServerChunkProvider;chunkWriter:Lnet/minecraft/world/chunk/ChunkStorage;
-
canGenerateChunks
public boolean canGenerateChunks- Mappings:
Namespace Name Mixin selector official aLqs;a:Zintermediary field_2801Lnet/minecraft/class_794;field_2801:Znamed canGenerateChunksLnet/minecraft/world/chunk/ServerChunkProvider;canGenerateChunks:Z
-
chunkMap
- Mappings:
Namespace Name Mixin selector official gLqs;g:Lur;intermediary field_2806Lnet/minecraft/class_794;field_2806:Lnet/minecraft/class_835;named chunkMapLnet/minecraft/world/chunk/ServerChunkProvider;chunkMap:Lnet/minecraft/util/collection/LongObjectStorage;
-
chunks
- Mappings:
Namespace Name Mixin selector official hLqs;h:Ljava/util/List;intermediary field_2807Lnet/minecraft/class_794;field_2807:Ljava/util/List;named chunksLnet/minecraft/world/chunk/ServerChunkProvider;chunks:Ljava/util/List;
-
world
- Mappings:
Namespace Name Mixin selector official iLqs;i:Lqt;intermediary field_2808Lnet/minecraft/class_794;field_2808:Lnet/minecraft/class_795;named worldLnet/minecraft/world/chunk/ServerChunkProvider;world:Lnet/minecraft/server/world/ServerWorld;
-
-
Constructor Details
-
ServerChunkProvider
public ServerChunkProvider(ServerWorld world, ChunkStorage chunkWriter, ChunkProvider chunkProvider) - Mappings:
Namespace Name Mixin selector official <init>Lqs;<init>(Lqt;Lbfq;Lbfe;)Vintermediary <init>Lnet/minecraft/class_794;<init>(Lnet/minecraft/class_795;Lnet/minecraft/class_1199;Lnet/minecraft/class_1193;)Vnamed <init>Lnet/minecraft/world/chunk/ServerChunkProvider;<init>(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/chunk/ChunkStorage;Lnet/minecraft/world/chunk/ChunkProvider;)V
-
-
Method Details
-
chunkExists
public boolean chunkExists(int x, int z) - Specified by:
chunkExistsin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLbfe;a(II)Zintermediary method_3864Lnet/minecraft/class_1193;method_3864(II)Znamed chunkExistsLnet/minecraft/world/chunk/ChunkProvider;chunkExists(II)Z
-
getChunks
- Mappings:
Namespace Name Mixin selector official aLqs;a()Ljava/util/List;intermediary method_8128Lnet/minecraft/class_794;method_8128()Ljava/util/List;named getChunksLnet/minecraft/world/chunk/ServerChunkProvider;getChunks()Ljava/util/List;
-
scheduleUnload
public void scheduleUnload(int y, int z) - Mappings:
Namespace Name Mixin selector official bLqs;b(II)Vintermediary method_2127Lnet/minecraft/class_794;method_2127(II)Vnamed scheduleUnloadLnet/minecraft/world/chunk/ServerChunkProvider;scheduleUnload(II)V
-
unloadAll
public void unloadAll()- Mappings:
Namespace Name Mixin selector official bLqs;b()Vintermediary method_2125Lnet/minecraft/class_794;method_2125()Vnamed unloadAllLnet/minecraft/world/chunk/ServerChunkProvider;unloadAll()V
-
getOrGenerateChunk
- Mappings:
Namespace Name Mixin selector official cLqs;c(II)Lbfh;intermediary method_3871Lnet/minecraft/class_794;method_3871(II)Lnet/minecraft/class_1196;named getOrGenerateChunkLnet/minecraft/world/chunk/ServerChunkProvider;getOrGenerateChunk(II)Lnet/minecraft/world/chunk/Chunk;
-
getChunk
- Specified by:
getChunkin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official dLbfe;d(II)Lbfh;intermediary method_3873Lnet/minecraft/class_1193;method_3873(II)Lnet/minecraft/class_1196;named getChunkLnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/chunk/Chunk;
-
loadChunk
- Mappings:
Namespace Name Mixin selector official eLqs;e(II)Lbfh;intermediary method_8131Lnet/minecraft/class_794;method_8131(II)Lnet/minecraft/class_1196;named loadChunkLnet/minecraft/world/chunk/ServerChunkProvider;loadChunk(II)Lnet/minecraft/world/chunk/Chunk;
-
saveEntities
- Mappings:
Namespace Name Mixin selector official aLqs;a(Lbfh;)Vintermediary method_8129Lnet/minecraft/class_794;method_8129(Lnet/minecraft/class_1196;)Vnamed saveEntitiesLnet/minecraft/world/chunk/ServerChunkProvider;saveEntities(Lnet/minecraft/world/chunk/Chunk;)V
-
saveChunk
- Mappings:
Namespace Name Mixin selector official bLqs;b(Lbfh;)Vintermediary method_8130Lnet/minecraft/class_794;method_8130(Lnet/minecraft/class_1196;)Vnamed saveChunkLnet/minecraft/world/chunk/ServerChunkProvider;saveChunk(Lnet/minecraft/world/chunk/Chunk;)V
-
decorateChunk
- Specified by:
decorateChunkin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLbfe;a(Lbfe;II)Vintermediary method_3867Lnet/minecraft/class_1193;method_3867(Lnet/minecraft/class_1193;II)Vnamed decorateChunkLnet/minecraft/world/chunk/ChunkProvider;decorateChunk(Lnet/minecraft/world/chunk/ChunkProvider;II)V
-
isChunkModified
- Specified by:
isChunkModifiedin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLbfe;a(Lbfe;Lbfh;II)Zintermediary method_9122Lnet/minecraft/class_1193;method_9122(Lnet/minecraft/class_1193;Lnet/minecraft/class_1196;II)Znamed isChunkModifiedLnet/minecraft/world/chunk/ChunkProvider;isChunkModified(Lnet/minecraft/world/chunk/ChunkProvider;Lnet/minecraft/world/chunk/Chunk;II)Z
-
saveChunks
- Specified by:
saveChunksin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLbfe;a(ZLuy;)Zintermediary method_3868Lnet/minecraft/class_1193;method_3868(ZLnet/minecraft/class_841;)Znamed saveChunksLnet/minecraft/world/chunk/ChunkProvider;saveChunks(ZLnet/minecraft/util/ProgressListener;)Z
-
flushChunks
public void flushChunks()- Specified by:
flushChunksin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official method_4727Lqs;method_4727()Vintermediary method_4727Lnet/minecraft/class_794;method_4727()Vnamed flushChunksLnet/minecraft/world/chunk/ServerChunkProvider;flushChunks()V
-
tickChunks
public boolean tickChunks()- Specified by:
tickChunksin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official dLbfe;d()Zintermediary method_3869Lnet/minecraft/class_1193;method_3869()Znamed tickChunksLnet/minecraft/world/chunk/ChunkProvider;tickChunks()Z
-
isSavingEnabled
public boolean isSavingEnabled()- Specified by:
isSavingEnabledin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official eLbfe;e()Zintermediary method_3870Lnet/minecraft/class_1193;method_3870()Znamed isSavingEnabledLnet/minecraft/world/chunk/ChunkProvider;isSavingEnabled()Z
-
getChunkProviderName
- Specified by:
getChunkProviderNamein interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official fLbfe;f()Ljava/lang/String;intermediary method_3872Lnet/minecraft/class_1193;method_3872()Ljava/lang/String;named getChunkProviderNameLnet/minecraft/world/chunk/ChunkProvider;getChunkProviderName()Ljava/lang/String;
-
getSpawnEntries
- Specified by:
getSpawnEntriesin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLbfe;a(Lxp;Ldt;)Ljava/util/List;intermediary method_9124Lnet/minecraft/class_1193;method_9124(Lnet/minecraft/class_872;Lnet/minecraft/class_2552;)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 aLbfe;a(Laqu;Ljava/lang/String;Ldt;)Ldt;intermediary method_3866Lnet/minecraft/class_1193;method_3866(Lnet/minecraft/class_1150;Ljava/lang/String;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2552;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 gLbfe;g()Iintermediary method_3874Lnet/minecraft/class_1193;method_3874()Inamed getLoadedChunksCountLnet/minecraft/world/chunk/ChunkProvider;getLoadedChunksCount()I
-
handleInitialLoad
- Specified by:
handleInitialLoadin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLbfe;a(Lbfh;II)Vintermediary method_4702Lnet/minecraft/class_1193;method_4702(Lnet/minecraft/class_1196;II)Vnamed handleInitialLoadLnet/minecraft/world/chunk/ChunkProvider;handleInitialLoad(Lnet/minecraft/world/chunk/Chunk;II)V
-
getChunk
- Specified by:
getChunkin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLbfe;a(Ldt;)Lbfh;intermediary method_9123Lnet/minecraft/class_1193;method_9123(Lnet/minecraft/class_2552;)Lnet/minecraft/class_1196;named getChunkLnet/minecraft/world/chunk/ChunkProvider;getChunk(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/chunk/Chunk;
-