Package net.minecraft.world.chunk
Class ServerChunkProvider
java.lang.Object
net.minecraft.world.chunk.ServerChunkProvider
- All Implemented Interfaces:
ChunkProvider
- Mappings:
Namespace Name official mhintermediary 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) intgetOrGenerateChunk(int x, int z) booleanprivate ChunkloadChunk(int x, int z) method_3865(EntityCategory entityCategory, int int2, int int3, int int4) method_3866(World world, String string, int int2, int int3, int int4) voidmethod_4702(int int2, int int3) 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 bLmh;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 cLmh;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 dLmh;d:Laoi;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 eLmh;e:Laof;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 fLmh;f:Laon;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 aLmh;a:Zintermediary field_2801Lnet/minecraft/class_794;field_2801:Znamed canGenerateChunksLnet/minecraft/world/chunk/ServerChunkProvider;canGenerateChunks:Z
-
chunkMap
- Mappings:
Namespace Name Mixin selector official gLmh;g:Lop;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 hLmh;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 iLmh;i:Lmi;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>Lmh;<init>(Lmi;Laon;Laof;)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 aLaof;a(II)Zintermediary method_3864Lnet/minecraft/class_1193;method_3864(II)Znamed chunkExistsLnet/minecraft/world/chunk/ChunkProvider;chunkExists(II)Z
-
scheduleUnload
public void scheduleUnload(int y, int z) - Mappings:
Namespace Name Mixin selector official bLmh;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 aLmh;a()Vintermediary method_2125Lnet/minecraft/class_794;method_2125()Vnamed unloadAllLnet/minecraft/world/chunk/ServerChunkProvider;unloadAll()V
-
getOrGenerateChunk
- Specified by:
getOrGenerateChunkin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official method_3871Lmh;method_3871(II)Laoi;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 dLaof;d(II)Laoi;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 fLmh;f(II)Laoi;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 aLmh;a(Laoi;)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 bLmh;b(Laoi;)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 aLaof;a(Laof;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
-
saveChunks
- Specified by:
saveChunksin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLaof;a(ZLow;)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_4727Lmh;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 cLaof;c()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 dLaof;d()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 eLaof;e()Ljava/lang/String;intermediary method_3872Lnet/minecraft/class_1193;method_3872()Ljava/lang/String;named getChunkProviderNameLnet/minecraft/world/chunk/ChunkProvider;getChunkProviderName()Ljava/lang/String;
-
method_3865
- Specified by:
method_3865in interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLaof;a(Lri;III)Ljava/util/List;intermediary method_3865Lnet/minecraft/class_1193;method_3865(Lnet/minecraft/class_872;III)Ljava/util/List;named method_3865Lnet/minecraft/world/chunk/ChunkProvider;method_3865(Lnet/minecraft/entity/EntityCategory;III)Ljava/util/List;
-
method_3866
- Specified by:
method_3866in interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official aLaof;a(Lafm;Ljava/lang/String;III)Lafe;intermediary method_3866Lnet/minecraft/class_1193;method_3866(Lnet/minecraft/class_1150;Ljava/lang/String;III)Lnet/minecraft/class_1167;named method_3866Lnet/minecraft/world/chunk/ChunkProvider;method_3866(Lnet/minecraft/world/World;Ljava/lang/String;III)Lnet/minecraft/util/math/Vec3i;
-
getLoadedChunksCount
public int getLoadedChunksCount()- Specified by:
getLoadedChunksCountin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official fLaof;f()Iintermediary method_3874Lnet/minecraft/class_1193;method_3874()Inamed getLoadedChunksCountLnet/minecraft/world/chunk/ChunkProvider;getLoadedChunksCount()I
-
method_4702
public void method_4702(int int2, int int3) - Specified by:
method_4702in interfaceChunkProvider- Mappings:
Namespace Name Mixin selector official eLaof;e(II)Vintermediary method_4702Lnet/minecraft/class_1193;method_4702(II)Vnamed method_4702Lnet/minecraft/world/chunk/ChunkProvider;method_4702(II)V
-