diff --git a/mappings/net/minecraft/client/MinecraftClient.mapping b/mappings/net/minecraft/client/MinecraftClient.mapping index 72677db9aa..091c86d285 100644 --- a/mappings/net/minecraft/client/MinecraftClient.mapping +++ b/mappings/net/minecraft/client/MinecraftClient.mapping @@ -1,4 +1,43 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient + COMMENT Represents a logical Minecraft client. + COMMENT The logical Minecraft client is responsible for rendering, sound playback and control input. + COMMENT The Minecraft client also manages connections to a logical server which may be the client's {@link net.minecraft.server.integrated.IntegratedServer} or a remote server. + COMMENT The Minecraft client instance may be obtained using {@link MinecraftClient#getInstance()}. + COMMENT + COMMENT
Rendering on a Minecraft client is split into several facilities. + COMMENT The primary entrypoint for rendering is {@link net.minecraft.client.render.GameRenderer#render(float, long, boolean)}. + COMMENT
Thing to render | Rendering facility | + COMMENT
---|---|
World | {@link net.minecraft.client.render.WorldRenderer} | + COMMENT
Blocks and Fluids | {@link net.minecraft.client.render.block.BlockRenderManager} | + COMMENT
Entities | {@link net.minecraft.client.render.entity.EntityRenderDispatcher} | + COMMENT
Block entities | {@link net.minecraft.client.render.block.entity.BlockEntityRenderDispatcher} | + COMMENT
Items | {@link net.minecraft.client.render.item.ItemRenderer} | + COMMENT
Items held in hand | {@link net.minecraft.client.render.item.HeldItemRenderer} | + COMMENT
Text | {@link net.minecraft.client.font.TextRenderer} | + COMMENT
Game hud (health bar, hunger bar) | {@link net.minecraft.client.gui.hud.InGameHud} | + COMMENT
If the screen being opened is {@code null} and the client is not in game, the title screen will be opened.
+ COMMENT If the currently opened screen is {@code null} and player is dead then the death screen will be opened.
+ COMMENT Otherwise the currently open screen will be closed.
ARG 1 screen
METHOD method_1508 handleInputEvents ()V
METHOD method_1511 doItemPick ()V
@@ -303,6 +356,7 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient
METHOD method_29611 isFabulousGraphicsOrBetter ()Z
METHOD method_30049 getVideoWarningManager ()Lnet/minecraft/class_5407;
METHOD method_31320 getSocialInteractionsManager ()Lnet/minecraft/class_5520;
+ METHOD method_31321 isConnectedToServer ()Z
METHOD method_31974 getEntityModelLoader ()Lnet/minecraft/class_5599;
CLASS class_5366 WorldLoadAction
CLASS class_5367 IntegratedResourceManager
diff --git a/mappings/net/minecraft/client/gui/screen/ConnectScreen.mapping b/mappings/net/minecraft/client/gui/screen/ConnectScreen.mapping
index 2d79c54a0b..fd2cfee2eb 100644
--- a/mappings/net/minecraft/client/gui/screen/ConnectScreen.mapping
+++ b/mappings/net/minecraft/client/gui/screen/ConnectScreen.mapping
@@ -1,9 +1,15 @@
CLASS net/minecraft/class_412 net/minecraft/client/gui/screen/ConnectScreen
+ COMMENT The connection screen is used to initiate a connection to a remote server.
+ COMMENT This is only used when connecting over LAN or to a remote dedicated server.
FIELD field_19097 narratorTimer J
FIELD field_2408 CONNECTOR_THREADS_COUNT Ljava/util/concurrent/atomic/AtomicInteger;
FIELD field_2409 connectingCancelled Z
FIELD field_2410 LOGGER Lorg/apache/logging/log4j/Logger;
FIELD field_2411 connection Lnet/minecraft/class_2535;
+ COMMENT The client connection to the remote server.
+ COMMENT This is not used when connecting to the client's own integrated server.
+ COMMENT
+ COMMENT @see net.minecraft.client.MinecraftClient#integratedServerConnection
FIELD field_2412 parent Lnet/minecraft/class_437;
FIELD field_2413 status Lnet/minecraft/class_2561;
METHOD