net.minecraft.client.multiplayer

public class ClientHandshakePacketListenerImpl

implements ClientLoginPacketListener

gfz
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
a
LOGGER
field_3710
LOGGER
private final Minecraft
b
minecraft
field_3708
client
private final ServerData
c
serverData
field_40481
serverInfo
private final Screen
d
parent
field_3706
parentScreen
private final Consumer<Component>
e
updateStatus
field_3711
statusConsumer
private final Connection
f
connection
field_3707
connection
private final boolean
g
newWorld
field_41383
newWorld
private final Duration
h
worldLoadDuration
field_41384
worldLoadTime
private String
i
minigameName
field_44809
minigameName
private final Map<ResourceLocation, byte[]>
j
cookies
field_48400
serverCookies
private final boolean
k
wasTransferredTo
field_48401
hasCookies
private final AtomicReference<ClientHandshakePacketListenerImpl$State>
l
state
field_46192
state

Constructor summary

ModifierConstructor
public (Connection connection, Minecraft client, ServerData serverInfo, Screen parentScreen, boolean newWorld, Duration worldLoadTime, Consumer<Component> statusConsumer, TransferState cookieStorage)

Method summary

Modifier and TypeMethod
private void
a(gfz$a arg0)
switchState(ClientHandshakePacketListenerImpl$State arg0)
method_53872(class_635$class_8798 arg0)
switchTo(ClientLoginNetworkHandler$State state)
public void
a(ais arg0)
handleHello(ClientboundHelloPacket arg0)
method_12587(class_2905 arg0)
onHello(LoginHelloS2CPacket arg0)
private void
a(ajb arg0, Cipher arg1, Cipher arg2)
setEncryption(ServerboundKeyPacket arg0, Cipher arg1, Cipher arg2)
method_56151(class_2917 arg0, Cipher arg1, Cipher arg2)
setupEncryption(LoginKeyC2SPacket keyPacket, Cipher decryptionCipher, Cipher encryptionCipher)
private Component
b(String arg0)
authenticateServer(String arg0)
method_2892(String arg0)
joinServerSession(String serverId)
private com.mojang.authlib.minecraft.MinecraftSessionService
d()
getMinecraftSessionService()
method_2891()
getSessionService()
public void
a(aiv arg0)
handleLoginFinished(ClientboundLoginFinishedPacket arg0)
method_12588(class_2901 arg0)
onSuccess(LoginSuccessS2CPacket arg0)
public void
a(vk arg0)
onDisconnect(DisconnectionDetails arg0)
method_10839(class_9812 arg0)
onDisconnected(DisconnectionInfo arg0)
public boolean
c()
isAcceptingMessages()
method_48106()
isConnectionOpen()
public void
a(aiu arg0)
handleDisconnect(ClientboundLoginDisconnectPacket arg0)
method_12584(class_2909 arg0)
onDisconnect(LoginDisconnectS2CPacket arg0)
public void
a(ait arg0)
handleCompression(ClientboundLoginCompressionPacket arg0)
method_12585(class_2907 arg0)
onCompression(LoginCompressionS2CPacket arg0)
public void
a(air arg0)
handleCustomQuery(ClientboundCustomQueryPacket arg0)
method_12586(class_2899 arg0)
onQueryRequest(LoginQueryRequestS2CPacket arg0)
public void
a(String arg0)
setMinigameName(String arg0)
method_51768(String arg0)
setMinigameName(String minigameName)
public void
a(abg arg0)
handleRequestCookie(ClientboundCookieRequestPacket arg0)
method_55845(class_9088 arg0)
onCookieRequest(CookieRequestS2CPacket arg0)
public void
a(o arg0, p arg1)
fillListenerSpecificCrashDetails(CrashReport arg0, CrashReportCategory arg1)
method_55597(class_128 arg0, class_129 arg1)
addCustomCrashReportInfo(CrashReport arg0, CrashReportSection arg1)