Package net.minecraft.world.chunk
Class ChunkManager
java.lang.Object
net.minecraft.world.chunk.ChunkManager
- All Implemented Interfaces:
- AutoCloseable,- ChunkProvider
- Direct Known Subclasses:
- ClientChunkManager,- ServerChunkManager
- Mappings:
- Namespace - Name - named - net/minecraft/world/chunk/ChunkManager- intermediary - net/minecraft/class_2802- official - dyx
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()getChunk(int chunkX, int chunkZ) getChunk(int x, int z, ChunkStatus leastStatus, boolean create) abstract Stringabstract LightingProviderabstract intgetWorldChunk(int chunkX, int chunkZ) getWorldChunk(int chunkX, int chunkZ, boolean create) booleanisChunkLoaded(int x, int z) voidonSectionStatusChanged(int x, int sectionY, int z, boolean previouslyEmpty) voidsetChunkForced(ChunkPos pos, boolean forced) voidsetMobSpawnOptions(boolean spawnMonsters) abstract voidtick(BooleanSupplier shouldKeepTicking, boolean tickChunks) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.chunk.ChunkProvidergetWorld, onLightUpdate
- 
Constructor Details- 
ChunkManagerpublic ChunkManager()
 
- 
- 
Method Details- 
getWorldChunk- Mappings:
- Namespace - Name - Mixin selector - named - getWorldChunk- Lnet/minecraft/world/chunk/ChunkManager;getWorldChunk(IIZ)Lnet/minecraft/world/chunk/WorldChunk;- intermediary - method_12126- Lnet/minecraft/class_2802;method_12126(IIZ)Lnet/minecraft/class_2818;- official - a- Ldyx;a(IIZ)Ldzd;
 
- 
getWorldChunk- Mappings:
- Namespace - Name - Mixin selector - named - getWorldChunk- Lnet/minecraft/world/chunk/ChunkManager;getWorldChunk(II)Lnet/minecraft/world/chunk/WorldChunk;- intermediary - method_21730- Lnet/minecraft/class_2802;method_21730(II)Lnet/minecraft/class_2818;- official - a- Ldyx;a(II)Ldzd;
 
- 
getChunk- Specified by:
- getChunkin interface- ChunkProvider
- Mappings:
- Namespace - Name - Mixin selector - named - getChunk- Lnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/chunk/light/LightSourceView;- intermediary - method_12246- Lnet/minecraft/class_2823;method_12246(II)Lnet/minecraft/class_8527;- official - c- Ldzg;c(II)Ldzf;
 
- 
isChunkLoadedpublic boolean isChunkLoaded(int x, int z) - Mappings:
- Namespace - Name - Mixin selector - named - isChunkLoaded- Lnet/minecraft/world/chunk/ChunkManager;isChunkLoaded(II)Z- intermediary - method_12123- Lnet/minecraft/class_2802;method_12123(II)Z- official - b- Ldyx;b(II)Z
 
- 
getChunk@Nullable public abstract @Nullable Chunk getChunk(int x, int z, ChunkStatus leastStatus, boolean create) - Mappings:
- Namespace - Name - Mixin selector - named - getChunk- Lnet/minecraft/world/chunk/ChunkManager;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/Chunk;- intermediary - method_12121- Lnet/minecraft/class_2802;method_12121(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2791;- official - a- Ldyx;a(IILdzu;Z)Ldyt;
 
- 
tick- Mappings:
- Namespace - Name - Mixin selector - named - tick- Lnet/minecraft/world/chunk/ChunkManager;tick(Ljava/util/function/BooleanSupplier;Z)V- intermediary - method_12127- Lnet/minecraft/class_2802;method_12127(Ljava/util/function/BooleanSupplier;Z)V- official - a- Ldyx;a(Ljava/util/function/BooleanSupplier;Z)V
 
- 
onSectionStatusChangedpublic void onSectionStatusChanged(int x, int sectionY, int z, boolean previouslyEmpty) - Mappings:
- Namespace - Name - Mixin selector - named - onSectionStatusChanged- Lnet/minecraft/world/chunk/ChunkManager;onSectionStatusChanged(IIIZ)V- intermediary - method_62872- Lnet/minecraft/class_2802;method_62872(IIIZ)V- official - a- Ldyx;a(IIIZ)V
 
- 
getDebugString- Mappings:
- Namespace - Name - Mixin selector - named - getDebugString- Lnet/minecraft/world/chunk/ChunkManager;getDebugString()Ljava/lang/String;- intermediary - method_12122- Lnet/minecraft/class_2802;method_12122()Ljava/lang/String;- official - e- Ldyx;e()Ljava/lang/String;
 
- 
getLoadedChunkCountpublic abstract int getLoadedChunkCount()- Mappings:
- Namespace - Name - Mixin selector - named - getLoadedChunkCount- Lnet/minecraft/world/chunk/ChunkManager;getLoadedChunkCount()I- intermediary - method_14151- Lnet/minecraft/class_2802;method_14151()I- official - j- Ldyx;j()I
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Throws:
- IOException
 
- 
getLightingProvider- Mappings:
- Namespace - Name - Mixin selector - named - getLightingProvider- Lnet/minecraft/world/chunk/ChunkManager;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;- intermediary - method_12130- Lnet/minecraft/class_2802;method_12130()Lnet/minecraft/class_3568;- official - p- Ldyx;p()Lesp;
 
- 
setMobSpawnOptionspublic void setMobSpawnOptions(boolean spawnMonsters) - Mappings:
- Namespace - Name - Mixin selector - named - setMobSpawnOptions- Lnet/minecraft/world/chunk/ChunkManager;setMobSpawnOptions(Z)V- intermediary - method_12128- Lnet/minecraft/class_2802;method_12128(Z)V- official - b- Ldyx;b(Z)V
 
- 
setChunkForced- Mappings:
- Namespace - Name - Mixin selector - named - setChunkForced- Lnet/minecraft/world/chunk/ChunkManager;setChunkForced(Lnet/minecraft/util/math/ChunkPos;Z)V- intermediary - method_12124- Lnet/minecraft/class_2802;method_12124(Lnet/minecraft/class_1923;Z)V- official - a- Ldyx;a(Ldfp;Z)V
 
 
-