Package net.minecraft.client.world
Class ClientChunkManager
java.lang.Object
net.minecraft.world.chunk.ChunkManager
net.minecraft.client.world.ClientChunkManager
- All Implemented Interfaces:
- AutoCloseable,- ChunkProvider
- Mappings:
- Namespace - Name - official - feu- intermediary - net/minecraft/class_631- named - net/minecraft/client/world/ClientChunkManager
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) ClientChunkManager.ClientChunkMapprivate final WorldChunkprivate final LightingProvider(package private) static final Logger(package private) final ClientWorld
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetChunk(int int2, int int3, ChunkStatus chunkStatus, boolean bool) private static intgetChunkMapRadius(int loadDistance) intgetWorld()loadChunkFromPacket(int x, int z, PacketByteBuf buf, NbtCompound nbt, Consumer<ChunkData.BlockEntityVisitor> consumer) voidonChunkBiomeData(int x, int z, PacketByteBuf buf) voidonLightUpdate(LightType type, ChunkSectionPos pos) private static booleanpositionEquals(@Nullable WorldChunk chunk, int x, int z) voidsetChunkMapCenter(int x, int z) voidtick(BooleanSupplier shouldKeepTicking, boolean tickChunks) voidunload(int chunkX, int chunkZ) voidupdateLoadDistance(int loadDistance) Methods inherited from class net.minecraft.world.chunk.ChunkManagerclose, getChunk, getWorldChunk, getWorldChunk, isChunkLoaded, setChunkForced, setMobSpawnOptions
- 
Field Details- 
LOGGER- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfeu;a:Lorg/slf4j/Logger;- intermediary - field_3679- Lnet/minecraft/class_631;field_3679:Lorg/slf4j/Logger;- named - LOGGER- Lnet/minecraft/client/world/ClientChunkManager;LOGGER:Lorg/slf4j/Logger;
 
- 
emptyChunk- Mappings:
- Namespace - Name - Mixin selector - official - b- Lfeu;b:Ldei;- intermediary - field_3676- Lnet/minecraft/class_631;field_3676:Lnet/minecraft/class_2818;- named - emptyChunk- Lnet/minecraft/client/world/ClientChunkManager;emptyChunk:Lnet/minecraft/world/chunk/WorldChunk;
 
- 
lightingProvider- Mappings:
- Namespace - Name - Mixin selector - official - c- Lfeu;c:Ldwt;- intermediary - field_3677- Lnet/minecraft/class_631;field_3677:Lnet/minecraft/class_3568;- named - lightingProvider- Lnet/minecraft/client/world/ClientChunkManager;lightingProvider:Lnet/minecraft/world/chunk/light/LightingProvider;
 
- 
chunks- Mappings:
- Namespace - Name - Mixin selector - official - d- Lfeu;d:Lfeu$a;- intermediary - field_16246- Lnet/minecraft/class_631;field_16246:Lnet/minecraft/class_631$class_3681;- named - chunks- Lnet/minecraft/client/world/ClientChunkManager;chunks:Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;
 
- 
world- Mappings:
- Namespace - Name - Mixin selector - official - e- Lfeu;e:Lfew;- intermediary - field_16525- Lnet/minecraft/class_631;field_16525:Lnet/minecraft/class_638;- named - world- Lnet/minecraft/client/world/ClientChunkManager;world:Lnet/minecraft/client/world/ClientWorld;
 
 
- 
- 
Constructor Details- 
ClientChunkManager- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lfeu;<init>(Lfew;I)V- intermediary - <init>- Lnet/minecraft/class_631;<init>(Lnet/minecraft/class_638;I)V- named - <init>- Lnet/minecraft/client/world/ClientChunkManager;<init>(Lnet/minecraft/client/world/ClientWorld;I)V
 
 
- 
- 
Method Details- 
getLightingProvider- Specified by:
- getLightingProviderin class- ChunkManager
- Mappings:
- Namespace - Name - Mixin selector - official - p- Ldeb;p()Ldwt;- 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;
 
- 
positionEquals- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfeu;a(Ldei;II)Z- intermediary - method_20181- Lnet/minecraft/class_631;method_20181(Lnet/minecraft/class_2818;II)Z- named - positionEquals- Lnet/minecraft/client/world/ClientChunkManager;positionEquals(Lnet/minecraft/world/chunk/WorldChunk;II)Z
 
- 
unloadpublic void unload(int chunkX, int chunkZ) - Mappings:
- Namespace - Name - Mixin selector - official - d- Lfeu;d(II)V- intermediary - method_2859- Lnet/minecraft/class_631;method_2859(II)V- named - unload- Lnet/minecraft/client/world/ClientChunkManager;unload(II)V
 
- 
getChunk@Nullable public @Nullable WorldChunk getChunk(int int2, int int3, ChunkStatus chunkStatus, boolean bool) - Specified by:
- getChunkin class- ChunkManager
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lfeu;b(IILdec;Z)Ldei;- intermediary - method_2857- Lnet/minecraft/class_631;method_2857(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2818;- named - getChunk- Lnet/minecraft/client/world/ClientChunkManager;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/WorldChunk;
 
- 
getWorld- Mappings:
- Namespace - Name - Mixin selector - official - q- Ldel;q()Lcls;- intermediary - method_16399- Lnet/minecraft/class_2823;method_16399()Lnet/minecraft/class_1922;- named - getWorld- Lnet/minecraft/world/chunk/ChunkProvider;getWorld()Lnet/minecraft/world/BlockView;
 
- 
onChunkBiomeData- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfeu;a(IILsf;)V- intermediary - method_49630- Lnet/minecraft/class_631;method_49630(IILnet/minecraft/class_2540;)V- named - onChunkBiomeData- Lnet/minecraft/client/world/ClientChunkManager;onChunkBiomeData(IILnet/minecraft/network/PacketByteBuf;)V
 
- 
loadChunkFromPacket@Nullable public @Nullable WorldChunk loadChunkFromPacket(int x, int z, PacketByteBuf buf, NbtCompound nbt, Consumer<ChunkData.BlockEntityVisitor> consumer) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lfeu;a(IILsf;Lqr;Ljava/util/function/Consumer;)Ldei;- intermediary - method_16020- Lnet/minecraft/class_631;method_16020(IILnet/minecraft/class_2540;Lnet/minecraft/class_2487;Ljava/util/function/Consumer;)Lnet/minecraft/class_2818;- named - loadChunkFromPacket- Lnet/minecraft/client/world/ClientChunkManager;loadChunkFromPacket(IILnet/minecraft/network/PacketByteBuf;Lnet/minecraft/nbt/NbtCompound;Ljava/util/function/Consumer;)Lnet/minecraft/world/chunk/WorldChunk;
 
- 
tick- Specified by:
- tickin class- ChunkManager
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldeb;a(Ljava/util/function/BooleanSupplier;Z)V- intermediary - method_12127- Lnet/minecraft/class_2802;method_12127(Ljava/util/function/BooleanSupplier;Z)V- named - tick- Lnet/minecraft/world/chunk/ChunkManager;tick(Ljava/util/function/BooleanSupplier;Z)V
 
- 
setChunkMapCenterpublic void setChunkMapCenter(int x, int z) - Mappings:
- Namespace - Name - Mixin selector - official - e- Lfeu;e(II)V- intermediary - method_20317- Lnet/minecraft/class_631;method_20317(II)V- named - setChunkMapCenter- Lnet/minecraft/client/world/ClientChunkManager;setChunkMapCenter(II)V
 
- 
updateLoadDistancepublic void updateLoadDistance(int loadDistance) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lfeu;a(I)V- intermediary - method_20180- Lnet/minecraft/class_631;method_20180(I)V- named - updateLoadDistance- Lnet/minecraft/client/world/ClientChunkManager;updateLoadDistance(I)V
 
- 
getChunkMapRadiusprivate static int getChunkMapRadius(int loadDistance) - Mappings:
- Namespace - Name - Mixin selector - official - b- Lfeu;b(I)I- intermediary - method_20230- Lnet/minecraft/class_631;method_20230(I)I- named - getChunkMapRadius- Lnet/minecraft/client/world/ClientChunkManager;getChunkMapRadius(I)I
 
- 
getDebugString- Specified by:
- getDebugStringin class- ChunkManager
- Mappings:
- Namespace - Name - Mixin selector - official - e- Ldeb;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;
 
- 
getLoadedChunkCountpublic int getLoadedChunkCount()- Specified by:
- getLoadedChunkCountin class- ChunkManager
- Mappings:
- Namespace - Name - Mixin selector - official - j- Ldeb;j()I- intermediary - method_14151- Lnet/minecraft/class_2802;method_14151()I- named - getLoadedChunkCount- Lnet/minecraft/world/chunk/ChunkManager;getLoadedChunkCount()I
 
- 
onLightUpdate- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldel;a(Lcmv;Lhx;)V- intermediary - method_12247- Lnet/minecraft/class_2823;method_12247(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;)V- named - onLightUpdate- Lnet/minecraft/world/chunk/ChunkProvider;onLightUpdate(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/ChunkSectionPos;)V
 
 
-