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/ChunkManagerintermediary net/minecraft/class_2802official elo
-
Constructor Summary
Constructors -
Method Summary
Modifier 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) booleansetChunkForced(ChunkPos pos, boolean forced) voidsetMobSpawnOptions(boolean spawnMonsters) abstract voidtick(BooleanSupplier shouldKeepTicking, boolean tickChunks) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.chunk.ChunkProvider
getWorld, onLightUpdate
-
Constructor Details
-
ChunkManager
public ChunkManager()
-
-
Method Details
-
getWorldChunk
- Mappings:
Namespace Name Mixin selector named getWorldChunkLnet/minecraft/world/chunk/ChunkManager;getWorldChunk(IIZ)Lnet/minecraft/world/chunk/WorldChunk;intermediary method_12126Lnet/minecraft/class_2802;method_12126(IIZ)Lnet/minecraft/class_2818;official aLelo;a(IIZ)Lelv;
-
getWorldChunk
- Mappings:
Namespace Name Mixin selector named getWorldChunkLnet/minecraft/world/chunk/ChunkManager;getWorldChunk(II)Lnet/minecraft/world/chunk/WorldChunk;intermediary method_21730Lnet/minecraft/class_2802;method_21730(II)Lnet/minecraft/class_2818;official aLelo;a(II)Lelv;
-
getChunk
- Specified by:
getChunkin interfaceChunkProvider- Mappings:
Namespace Name Mixin selector named getChunkLnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/chunk/light/LightSourceView;intermediary method_12246Lnet/minecraft/class_2823;method_12246(II)Lnet/minecraft/class_8527;official cLely;c(II)Lelx;
-
isChunkLoaded
public boolean isChunkLoaded(int x, int z) - Mappings:
Namespace Name Mixin selector named isChunkLoadedLnet/minecraft/world/chunk/ChunkManager;isChunkLoaded(II)Zintermediary method_12123Lnet/minecraft/class_2802;method_12123(II)Zofficial bLelo;b(II)Z
-
getChunk
@Nullable public abstract @Nullable Chunk getChunk(int x, int z, ChunkStatus leastStatus, boolean create) - Mappings:
Namespace Name Mixin selector named getChunkLnet/minecraft/world/chunk/ChunkManager;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/Chunk;intermediary method_12121Lnet/minecraft/class_2802;method_12121(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2791;official aLelo;a(IILemo;Z)Lelk;
-
tick
- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/world/chunk/ChunkManager;tick(Ljava/util/function/BooleanSupplier;Z)Vintermediary method_12127Lnet/minecraft/class_2802;method_12127(Ljava/util/function/BooleanSupplier;Z)Vofficial aLelo;a(Ljava/util/function/BooleanSupplier;Z)V
-
onSectionStatusChanged
public void onSectionStatusChanged(int x, int sectionY, int z, boolean previouslyEmpty) - Mappings:
Namespace Name Mixin selector named onSectionStatusChangedLnet/minecraft/world/chunk/ChunkManager;onSectionStatusChanged(IIIZ)Vintermediary method_62872Lnet/minecraft/class_2802;method_62872(IIIZ)Vofficial aLelo;a(IIIZ)V
-
getDebugString
- Mappings:
Namespace Name Mixin selector named getDebugStringLnet/minecraft/world/chunk/ChunkManager;getDebugString()Ljava/lang/String;intermediary method_12122Lnet/minecraft/class_2802;method_12122()Ljava/lang/String;official eLelo;e()Ljava/lang/String;
-
getLoadedChunkCount
public abstract int getLoadedChunkCount()- Mappings:
Namespace Name Mixin selector named getLoadedChunkCountLnet/minecraft/world/chunk/ChunkManager;getLoadedChunkCount()Iintermediary method_14151Lnet/minecraft/class_2802;method_14151()Iofficial jLelo;j()I
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
getLightingProvider
- Mappings:
Namespace Name Mixin selector named getLightingProviderLnet/minecraft/world/chunk/ChunkManager;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;intermediary method_12130Lnet/minecraft/class_2802;method_12130()Lnet/minecraft/class_3568;official rLelo;r()Lffp;
-
setMobSpawnOptions
public void setMobSpawnOptions(boolean spawnMonsters) - Mappings:
Namespace Name Mixin selector named setMobSpawnOptionsLnet/minecraft/world/chunk/ChunkManager;setMobSpawnOptions(Z)Vintermediary method_12128Lnet/minecraft/class_2802;method_12128(Z)Vofficial bLelo;b(Z)V
-
setChunkForced
- Mappings:
Namespace Name Mixin selector named setChunkForcedLnet/minecraft/world/chunk/ChunkManager;setChunkForced(Lnet/minecraft/util/math/ChunkPos;Z)Zintermediary method_12124Lnet/minecraft/class_2802;method_12124(Lnet/minecraft/class_1923;Z)Zofficial aLelo;a(Ldqv;Z)Z
-
getForcedChunks
- Mappings:
Namespace Name Mixin selector named getForcedChunksLnet/minecraft/world/chunk/ChunkManager;getForcedChunks()Lit/unimi/dsi/fastutil/longs/LongSet;intermediary method_66011Lnet/minecraft/class_2802;method_66011()Lit/unimi/dsi/fastutil/longs/LongSet;official lLelo;l()Lit/unimi/dsi/fastutil/longs/LongSet;
-