Class ClientLoginNetHandler
java.lang.Object
net.minecraft.client.network.login.ClientLoginNetHandler
- All Implemented Interfaces:
IClientLoginNetHandler
,INetHandler
-
Field Summary
Modifier and TypeFieldDescriptionprivate final NetworkManager
private com.mojang.authlib.GameProfile
private static final org.apache.logging.log4j.Logger
private final Minecraft
private final Screen
private final Consumer<ITextComponent>
-
Constructor Summary
ConstructorDescriptionClientLoginNetHandler
(NetworkManager p_i49527_1_, Minecraft p_i49527_2_, Screen p_i49527_3_, Consumer<ITextComponent> p_i49527_4_) -
Method Summary
Modifier and TypeMethodDescriptionprivate ITextComponent
authenticateServer
(String p_209522_1_) private com.mojang.authlib.minecraft.MinecraftSessionService
void
handleCompression
(SEnableCompressionPacket p_180464_1_) void
handleCustomQuery
(SCustomPayloadLoginPacket p_209521_1_) void
handleDisconnect
(SDisconnectLoginPacket p_147388_1_) void
handleGameProfile
(SLoginSuccessPacket p_147390_1_) void
handleHello
(SEncryptionRequestPacket p_147389_1_) void
onDisconnect
(ITextComponent p_147231_1_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
minecraft
-
parent
-
updateStatus
-
connection
-
localGameProfile
private com.mojang.authlib.GameProfile localGameProfile
-
-
Constructor Details
-
ClientLoginNetHandler
public ClientLoginNetHandler(NetworkManager p_i49527_1_, Minecraft p_i49527_2_, @Nullable Screen p_i49527_3_, Consumer<ITextComponent> p_i49527_4_)
-
-
Method Details
-
handleHello
- Specified by:
handleHello
in interfaceIClientLoginNetHandler
-
authenticateServer
-
getMinecraftSessionService
private com.mojang.authlib.minecraft.MinecraftSessionService getMinecraftSessionService() -
handleGameProfile
- Specified by:
handleGameProfile
in interfaceIClientLoginNetHandler
-
onDisconnect
- Specified by:
onDisconnect
in interfaceINetHandler
-
getConnection
- Specified by:
getConnection
in interfaceINetHandler
-
handleDisconnect
- Specified by:
handleDisconnect
in interfaceIClientLoginNetHandler
-
handleCompression
- Specified by:
handleCompression
in interfaceIClientLoginNetHandler
-
handleCustomQuery
- Specified by:
handleCustomQuery
in interfaceIClientLoginNetHandler
-