Package net.minecraft.client.multiplayer
Class ClientHandshakePacketListenerImpl
java.lang.Object
net.minecraft.client.multiplayer.ClientHandshakePacketListenerImpl
- All Implemented Interfaces:
PacketListener
,ClientLoginPacketListener
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Connection
private com.mojang.authlib.GameProfile
private static final org.slf4j.Logger
private final Minecraft
private final Screen
-
Constructor Summary
ConstructorDescriptionClientHandshakePacketListenerImpl
(Connection p_104526_, Minecraft p_104527_, Screen p_104528_, Consumer<Component> p_104529_) -
Method Summary
Modifier and TypeMethodDescriptionprivate Component
authenticateServer
(String p_104532_) private com.mojang.authlib.minecraft.MinecraftSessionService
void
void
handleCustomQuery
(ClientboundCustomQueryPacket p_104545_) void
handleDisconnect
(ClientboundLoginDisconnectPacket p_104553_) void
handleGameProfile
(ClientboundGameProfilePacket p_104547_) void
handleHello
(ClientboundHelloPacket p_104549_) void
onDisconnect
(Component p_104543_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.PacketListener
shouldPropagateHandlingExceptions
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
minecraft
-
parent
-
updateStatus
-
connection
-
localGameProfile
private com.mojang.authlib.GameProfile localGameProfile
-
-
Constructor Details
-
ClientHandshakePacketListenerImpl
public ClientHandshakePacketListenerImpl(Connection p_104526_, Minecraft p_104527_, @Nullable Screen p_104528_, Consumer<Component> p_104529_)
-
-
Method Details
-
handleHello
- Specified by:
handleHello
in interfaceClientLoginPacketListener
-
authenticateServer
-
getMinecraftSessionService
private com.mojang.authlib.minecraft.MinecraftSessionService getMinecraftSessionService() -
handleGameProfile
- Specified by:
handleGameProfile
in interfaceClientLoginPacketListener
-
onDisconnect
- Specified by:
onDisconnect
in interfacePacketListener
-
getConnection
- Specified by:
getConnection
in interfacePacketListener
-
handleDisconnect
- Specified by:
handleDisconnect
in interfaceClientLoginPacketListener
-
handleCompression
- Specified by:
handleCompression
in interfaceClientLoginPacketListener
-
handleCustomQuery
- Specified by:
handleCustomQuery
in interfaceClientLoginPacketListener
-