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 named net/minecraft/client/world/ClientChunkManagerintermediary net/minecraft/class_631official fzb
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) ClientChunkManager.ClientChunkMapprivate final WorldChunkprivate final LightingProvider(package private) static final Logger(package private) final ClientWorld -
Constructor Summary
Constructors -
Method Summary
Modifier 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) voidvoidupdateLoadDistance(int loadDistance) Methods inherited from class net.minecraft.world.chunk.ChunkManager
close, getChunk, getWorldChunk, getWorldChunk, isChunkLoaded, setChunkForced, setMobSpawnOptions
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/world/ClientChunkManager;LOGGER:Lorg/slf4j/Logger;intermediary field_3679Lnet/minecraft/class_631;field_3679:Lorg/slf4j/Logger;official aLfzb;a:Lorg/slf4j/Logger;
-
emptyChunk
- Mappings:
Namespace Name Mixin selector named emptyChunkLnet/minecraft/client/world/ClientChunkManager;emptyChunk:Lnet/minecraft/world/chunk/WorldChunk;intermediary field_3676Lnet/minecraft/class_631;field_3676:Lnet/minecraft/class_2818;official bLfzb;b:Ldvi;
-
lightingProvider
- Mappings:
Namespace Name Mixin selector named lightingProviderLnet/minecraft/client/world/ClientChunkManager;lightingProvider:Lnet/minecraft/world/chunk/light/LightingProvider;intermediary field_3677Lnet/minecraft/class_631;field_3677:Lnet/minecraft/class_3568;official cLfzb;c:Leot;
-
chunks
- Mappings:
Namespace Name Mixin selector named chunksLnet/minecraft/client/world/ClientChunkManager;chunks:Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;intermediary field_16246Lnet/minecraft/class_631;field_16246:Lnet/minecraft/class_631$class_3681;official dLfzb;d:Lfzb$a;
-
world
- Mappings:
Namespace Name Mixin selector named worldLnet/minecraft/client/world/ClientChunkManager;world:Lnet/minecraft/client/world/ClientWorld;intermediary field_16525Lnet/minecraft/class_631;field_16525:Lnet/minecraft/class_638;official eLfzb;e:Lfzf;
-
-
Constructor Details
-
ClientChunkManager
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/world/ClientChunkManager;<init>(Lnet/minecraft/client/world/ClientWorld;I)Vintermediary <init>Lnet/minecraft/class_631;<init>(Lnet/minecraft/class_638;I)Vofficial <init>Lfzb;<init>(Lfzf;I)V
-
-
Method Details
-
getLightingProvider
- Specified by:
getLightingProviderin classChunkManager- 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 pLdvc;p()Leot;
-
positionEquals
- Mappings:
Namespace Name Mixin selector named positionEqualsLnet/minecraft/client/world/ClientChunkManager;positionEquals(Lnet/minecraft/world/chunk/WorldChunk;II)Zintermediary method_20181Lnet/minecraft/class_631;method_20181(Lnet/minecraft/class_2818;II)Zofficial aLfzb;a(Ldvi;II)Z
-
unload
- Mappings:
Namespace Name Mixin selector named unloadLnet/minecraft/client/world/ClientChunkManager;unload(Lnet/minecraft/util/math/ChunkPos;)Vintermediary method_2859Lnet/minecraft/class_631;method_2859(Lnet/minecraft/class_1923;)Vofficial aLfzb;a(Ldcd;)V
-
getChunk
@Nullable public @Nullable WorldChunk getChunk(int int2, int int3, ChunkStatus chunkStatus, boolean bool) - Specified by:
getChunkin classChunkManager- Mappings:
Namespace Name Mixin selector named getChunkLnet/minecraft/client/world/ClientChunkManager;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/WorldChunk;intermediary method_2857Lnet/minecraft/class_631;method_2857(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2818;official bLfzb;b(IILdvz;Z)Ldvi;
-
getWorld
- Mappings:
Namespace Name Mixin selector named getWorldLnet/minecraft/world/chunk/ChunkProvider;getWorld()Lnet/minecraft/world/BlockView;intermediary method_16399Lnet/minecraft/class_2823;method_16399()Lnet/minecraft/class_1922;official qLdvl;q()Ldcc;
-
onChunkBiomeData
- Mappings:
Namespace Name Mixin selector named onChunkBiomeDataLnet/minecraft/client/world/ClientChunkManager;onChunkBiomeData(IILnet/minecraft/network/PacketByteBuf;)Vintermediary method_49630Lnet/minecraft/class_631;method_49630(IILnet/minecraft/class_2540;)Vofficial aLfzb;a(IILvw;)V
-
loadChunkFromPacket
@Nullable public @Nullable WorldChunk loadChunkFromPacket(int x, int z, PacketByteBuf buf, NbtCompound nbt, Consumer<ChunkData.BlockEntityVisitor> consumer) - Mappings:
Namespace Name Mixin selector named loadChunkFromPacketLnet/minecraft/client/world/ClientChunkManager;loadChunkFromPacket(IILnet/minecraft/network/PacketByteBuf;Lnet/minecraft/nbt/NbtCompound;Ljava/util/function/Consumer;)Lnet/minecraft/world/chunk/WorldChunk;intermediary method_16020Lnet/minecraft/class_631;method_16020(IILnet/minecraft/class_2540;Lnet/minecraft/class_2487;Ljava/util/function/Consumer;)Lnet/minecraft/class_2818;official aLfzb;a(IILvw;Lub;Ljava/util/function/Consumer;)Ldvi;
-
tick
- Specified by:
tickin classChunkManager- 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 aLdvc;a(Ljava/util/function/BooleanSupplier;Z)V
-
setChunkMapCenter
public void setChunkMapCenter(int x, int z) - Mappings:
Namespace Name Mixin selector named setChunkMapCenterLnet/minecraft/client/world/ClientChunkManager;setChunkMapCenter(II)Vintermediary method_20317Lnet/minecraft/class_631;method_20317(II)Vofficial dLfzb;d(II)V
-
updateLoadDistance
public void updateLoadDistance(int loadDistance) - Mappings:
Namespace Name Mixin selector named updateLoadDistanceLnet/minecraft/client/world/ClientChunkManager;updateLoadDistance(I)Vintermediary method_20180Lnet/minecraft/class_631;method_20180(I)Vofficial aLfzb;a(I)V
-
getChunkMapRadius
private static int getChunkMapRadius(int loadDistance) - Mappings:
Namespace Name Mixin selector named getChunkMapRadiusLnet/minecraft/client/world/ClientChunkManager;getChunkMapRadius(I)Iintermediary method_20230Lnet/minecraft/class_631;method_20230(I)Iofficial bLfzb;b(I)I
-
getDebugString
- Specified by:
getDebugStringin classChunkManager- 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 eLdvc;e()Ljava/lang/String;
-
getLoadedChunkCount
public int getLoadedChunkCount()- Specified by:
getLoadedChunkCountin classChunkManager- Mappings:
Namespace Name Mixin selector named getLoadedChunkCountLnet/minecraft/world/chunk/ChunkManager;getLoadedChunkCount()Iintermediary method_14151Lnet/minecraft/class_2802;method_14151()Iofficial jLdvc;j()I
-
onLightUpdate
- Mappings:
Namespace Name Mixin selector named onLightUpdateLnet/minecraft/world/chunk/ChunkProvider;onLightUpdate(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/ChunkSectionPos;)Vintermediary method_12247Lnet/minecraft/class_2823;method_12247(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;)Vofficial aLdvl;a(Lddf;Lkf;)V
-