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
public abstract class ChunkManager extends Object implements ChunkProvider, AutoCloseable
- Mappings:
Namespace Name official cjo
intermediary net/minecraft/class_2802
named net/minecraft/world/chunk/ChunkManager
-
Constructor Summary
Constructors Constructor Description ChunkManager()
-
Method Summary
Modifier and Type Method Description void
close()
BlockView
getChunk(int chunkX, int chunkZ)
abstract Chunk
getChunk(int x, int z, ChunkStatus leastStatus, boolean create)
abstract String
getDebugString()
abstract LightingProvider
getLightingProvider()
WorldChunk
getWorldChunk(int chunkX, int chunkZ)
WorldChunk
getWorldChunk(int chunkX, int chunkZ, boolean create)
boolean
isChunkLoaded(int x, int z)
void
setChunkForced(ChunkPos pos, boolean forced)
void
setMobSpawnOptions(boolean spawnMonsters, boolean spawnAnimals)
boolean
shouldTickBlock(BlockPos pos)
boolean
shouldTickChunk(ChunkPos pos)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.chunk.ChunkProvider
getWorld, onLightUpdate
-
Constructor Details
-
ChunkManager
public ChunkManager()
-
-
Method Details
-
getWorldChunk
- Mappings:
Namespace Name Mixin selector official a
Lcjo;a(IIZ)Lcjw;
intermediary method_12126
Lnet/minecraft/class_2802;method_12126(IIZ)Lnet/minecraft/class_2818;
named getWorldChunk
Lnet/minecraft/world/chunk/ChunkManager;getWorldChunk(IIZ)Lnet/minecraft/world/chunk/WorldChunk;
-
getWorldChunk
- Mappings:
Namespace Name Mixin selector official a
Lcjo;a(II)Lcjw;
intermediary method_21730
Lnet/minecraft/class_2802;method_21730(II)Lnet/minecraft/class_2818;
named getWorldChunk
Lnet/minecraft/world/chunk/ChunkManager;getWorldChunk(II)Lnet/minecraft/world/chunk/WorldChunk;
-
getChunk
- Specified by:
getChunk
in interfaceChunkProvider
- Mappings:
Namespace Name Mixin selector official c
Lcjy;c(II)Lbsz;
intermediary method_12246
Lnet/minecraft/class_2823;method_12246(II)Lnet/minecraft/class_1922;
named getChunk
Lnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/BlockView;
-
isChunkLoaded
public boolean isChunkLoaded(int x, int z)- Mappings:
Namespace Name Mixin selector official b
Lcjo;b(II)Z
intermediary method_12123
Lnet/minecraft/class_2802;method_12123(II)Z
named isChunkLoaded
Lnet/minecraft/world/chunk/ChunkManager;isChunkLoaded(II)Z
-
getChunk
- Mappings:
Namespace Name Mixin selector official a
Lcjo;a(IILcjp;Z)Lcjl;
intermediary method_12121
Lnet/minecraft/class_2802;method_12121(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2791;
named getChunk
Lnet/minecraft/world/chunk/ChunkManager;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/Chunk;
-
getDebugString
- Mappings:
Namespace Name Mixin selector official e
Lcjo;e()Ljava/lang/String;
intermediary method_12122
Lnet/minecraft/class_2802;method_12122()Ljava/lang/String;
named getDebugString
Lnet/minecraft/world/chunk/ChunkManager;getDebugString()Ljava/lang/String;
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official close
Lcjo;close()V
intermediary close
Lnet/minecraft/class_2802;close()V
named close
Lnet/minecraft/world/chunk/ChunkManager;close()V
-
getLightingProvider
- Mappings:
Namespace Name Mixin selector official l
Lcjo;l()Ldac;
intermediary method_12130
Lnet/minecraft/class_2802;method_12130()Lnet/minecraft/class_3568;
named getLightingProvider
Lnet/minecraft/world/chunk/ChunkManager;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;
-
setMobSpawnOptions
public void setMobSpawnOptions(boolean spawnMonsters, boolean spawnAnimals)- Mappings:
Namespace Name Mixin selector official a
Lcjo;a(ZZ)V
intermediary method_12128
Lnet/minecraft/class_2802;method_12128(ZZ)V
named setMobSpawnOptions
Lnet/minecraft/world/chunk/ChunkManager;setMobSpawnOptions(ZZ)V
-
setChunkForced
- Mappings:
Namespace Name Mixin selector official a
Lcjo;a(Lbta;Z)V
intermediary method_12124
Lnet/minecraft/class_2802;method_12124(Lnet/minecraft/class_1923;Z)V
named setChunkForced
Lnet/minecraft/world/chunk/ChunkManager;setChunkForced(Lnet/minecraft/util/math/ChunkPos;Z)V
-
shouldTickChunk
- Mappings:
Namespace Name Mixin selector official a
Lcjo;a(Lbta;)Z
intermediary method_20591
Lnet/minecraft/class_2802;method_20591(Lnet/minecraft/class_1923;)Z
named shouldTickChunk
Lnet/minecraft/world/chunk/ChunkManager;shouldTickChunk(Lnet/minecraft/util/math/ChunkPos;)Z
-
shouldTickBlock
- Mappings:
Namespace Name Mixin selector official a
Lcjo;a(Lfx;)Z
intermediary method_20529
Lnet/minecraft/class_2802;method_20529(Lnet/minecraft/class_2338;)Z
named shouldTickBlock
Lnet/minecraft/world/chunk/ChunkManager;shouldTickBlock(Lnet/minecraft/util/math/BlockPos;)Z
-