net.minecraft.client.network

public class ClientLoginNetworkHandler

implements ClientLoginPacketListener

net.minecraft.client.multiplayer.ClientHandshakePacketListenerImpl
net.minecraft.class_635
net.minecraft.client.network.ClientLoginNetworkHandler

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_3710
LOGGER
private final MinecraftClient
minecraft
field_3708
client
private final ServerInfo
serverData
field_40481
serverInfo
private final Screen
parent
field_3706
parentScreen
private final Consumer<Text>
updateStatus
field_3711
statusConsumer
private final ClientConnection
connection
field_3707
connection
private final boolean
newWorld
field_41383
newWorld
private final Duration
worldLoadDuration
field_41384
worldLoadTime
private String
minigameName
field_44809
minigameName
private final ClientChunkLoadProgress
levelLoadTracker
field_61722
clientChunkLoadProgress
private final Map<Identifier, byte[]>
cookies
field_48400
serverCookies
private final boolean
wasTransferredTo
field_48401
hasCookies
private final Map<UUID, PlayerListEntry>
seenPlayers
field_62024
playersByUuid
private final boolean
seenInsecureChatWarning
field_62025
seenInsecureChatWarning
private final AtomicReference<ClientLoginNetworkHandler$State>
state
field_46192
state

Constructor summary

ModifierConstructor
public (ClientConnection connection, MinecraftClient client, ServerInfo serverInfo, Screen parentScreen, boolean newWorld, Duration worldLoadTime, Consumer<Text> statusConsumer, ClientChunkLoadProgress clientChunkLoadProgress, CookieStorage cookieStorage)

Method summary

Modifier and TypeMethod
private void
switchState(ClientHandshakePacketListenerImpl$State toState)
method_53872(class_635$class_8798 arg0)
switchTo(ClientLoginNetworkHandler$State state)
public void
handleHello(ClientboundHelloPacket packet)
method_12587(class_2905 arg0)
onHello(LoginHelloS2CPacket arg0)
private void
setEncryption(ServerboundKeyPacket setKeyPacket, Cipher decryptCipher, Cipher encryptCipher)
method_56151(class_2917 arg0, Cipher arg1, Cipher arg2)
setupEncryption(LoginKeyC2SPacket packet, Cipher decryptionCipher, Cipher encryptionCipher)
private Text
authenticateServer(String digest)
method_2892(String arg0)
joinServerSession(String serverId)
public void
handleLoginFinished(ClientboundLoginFinishedPacket packet)
method_12588(class_2901 arg0)
onSuccess(LoginSuccessS2CPacket arg0)
public void
onDisconnect(DisconnectionDetails details)
method_10839(class_9812 arg0)
onDisconnected(DisconnectionInfo arg0)
public boolean
isAcceptingMessages()
method_48106()
isConnectionOpen()
public void
handleDisconnect(ClientboundLoginDisconnectPacket packet)
method_12584(class_2909 arg0)
onDisconnect(LoginDisconnectS2CPacket arg0)
public void
handleCompression(ClientboundLoginCompressionPacket packet)
method_12585(class_2907 arg0)
onCompression(LoginCompressionS2CPacket arg0)
public void
handleCustomQuery(ClientboundCustomQueryPacket packet)
method_12586(class_2899 arg0)
onQueryRequest(LoginQueryRequestS2CPacket arg0)
public void
setMinigameName(String minigameName)
method_51768(String arg0)
setMinigameName(String minigameName)
public void
handleRequestCookie(ClientboundCookieRequestPacket packet)
method_55845(class_9088 arg0)
onCookieRequest(CookieRequestS2CPacket arg0)
public void
fillListenerSpecificCrashDetails(CrashReport report, CrashReportCategory connectionDetails)
method_55597(class_128 arg0, class_129 arg1)
addCustomCrashReportInfo(CrashReport arg0, CrashReportSection arg1)
private String
lambda$fillListenerSpecificCrashDetails$2()
method_64895()
method_64895()
private String
lambda$fillListenerSpecificCrashDetails$1()
method_55614()
method_55614()
private String
lambda$fillListenerSpecificCrashDetails$0()
method_55615()
method_55615()
private void
lambda$setEncryption$0(Cipher arg0, Cipher arg1)
method_56152(Cipher arg0, Cipher arg1)
method_56152(Cipher arg0, Cipher arg1)
private void
lambda$handleHello$0(String arg0, ServerboundKeyPacket arg1, Cipher arg2, Cipher arg3)
method_2894(String arg0, class_2917 arg1, Cipher arg2, Cipher arg3)
method_2894(String serverId, LoginKeyC2SPacket packet, Cipher decryptionCipher, Cipher encryptionCipher)
private static ClientLoginNetworkHandler$State
lambda$switchState$0(ClientHandshakePacketListenerImpl$State arg0, ClientHandshakePacketListenerImpl$State arg1)
method_53873(class_635$class_8798 arg0, class_635$class_8798 arg1)
method_53873(ClientLoginNetworkHandler$State arg0, ClientLoginNetworkHandler$State currentState)