net.minecraft.client.multiplayer

public class ClientHandshakePacketListenerImpl

implements ClientLoginPacketListener

fze
net.minecraft.client.multiplayer.ClientHandshakePacketListenerImpl
net.minecraft.class_635
net.minecraft.client.network.ClientLoginNetworkHandler
net.minecraft.src.C_3898_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_3710
LOGGER
f_104518_
private final Minecraft
b
minecraft
field_3708
client
f_104519_
private final ServerData
c
serverData
field_40481
serverInfo
f_243717_
private final Screen
d
parent
field_3706
parentScreen
f_104520_
private final Consumer<Component>
e
updateStatus
field_3711
statusConsumer
f_104521_
private final Connection
f
connection
field_3707
connection
f_104522_
private final boolean
g
newWorld
field_41383
newWorld
f_260722_
private final Duration
h
worldLoadDuration
field_41384
worldLoadTime
f_260612_
private String
i
minigameName
field_44809
minigameName
f_285614_
private final Map<ResourceLocation, byte[]>
j
cookies
field_48400
serverCookies
f_314651_
private final boolean
k
wasTransferredTo
field_48401
hasCookies
f_315773_
private final AtomicReference<ClientHandshakePacketListenerImpl$State>
l
state
field_46192
state
f_301427_

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(fze$a arg0)
switchState(ClientHandshakePacketListenerImpl$State arg0)
method_53872(class_635$class_8798 arg0)
switchTo(ClientLoginNetworkHandler$State state)
m_301503_(C_3898_$C_301417_ arg0)
public void
a(air arg0)
handleHello(ClientboundHelloPacket arg0)
method_12587(class_2905 arg0)
onHello(LoginHelloS2CPacket arg0)
m_7318_(C_5206_ arg0)
private void
a(aiz 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)
m_324301_(C_5212_ p_327699_, Cipher p_330168_, Cipher arg2)
private Component
b(String arg0)
authenticateServer(String arg0)
method_2892(String arg0)
joinServerSession(String serverId)
m_104531_(String arg0)
private com.mojang.authlib.minecraft.MinecraftSessionService
d()
getMinecraftSessionService()
method_2891()
getSessionService()
m_104554_()
public void
a(aiq arg0)
handleGameProfile(ClientboundGameProfilePacket arg0)
method_12588(class_2901 arg0)
onSuccess(LoginSuccessS2CPacket arg0)
m_7056_(C_5205_ arg0)
public void
a(vv arg0)
onDisconnect(DisconnectionDetails arg0)
method_10839(class_9812 arg0)
onDisconnected(DisconnectionInfo arg0)
m_7026_(C_336456_ arg0)
public boolean
c()
isAcceptingMessages()
method_48106()
isConnectionOpen()
m_6198_()
public void
a(ait arg0)
handleDisconnect(ClientboundLoginDisconnectPacket arg0)
method_12584(class_2909 arg0)
onDisconnect(LoginDisconnectS2CPacket arg0)
m_5800_(C_5208_ arg0)
public void
a(ais arg0)
handleCompression(ClientboundLoginCompressionPacket arg0)
method_12585(class_2907 arg0)
onCompression(LoginCompressionS2CPacket arg0)
m_5693_(C_5207_ arg0)
public void
a(aip arg0)
handleCustomQuery(ClientboundCustomQueryPacket arg0)
method_12586(class_2899 arg0)
onQueryRequest(LoginQueryRequestS2CPacket arg0)
m_7254_(C_5203_ arg0)
public void
a(String arg0)
setMinigameName(String arg0)
method_51768(String arg0)
setMinigameName(String minigameName)
m_285854_(String arg0)
public void
a(abp arg0)
handleRequestCookie(ClientboundCookieRequestPacket arg0)
method_55845(class_9088 arg0)
onCookieRequest(CookieRequestS2CPacket arg0)
m_320309_(C_313630_ 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)
m_306579_(C_4883_ p_311844_, C_4909_ arg1)