net.minecraft.client.multiplayer

public class ClientHandshakePacketListenerImpl

implements ClientLoginPacketListener

fnr
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 AtomicReference<ClientHandshakePacketListenerImpl$State>
j
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)

Method summary

Modifier and TypeMethod
private void
a(fnr$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(afp arg0)
handleHello(ClientboundHelloPacket arg0)
method_12587(class_2905 arg0)
onHello(LoginHelloS2CPacket arg0)
m_7318_(C_5206_ arg0)
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
e()
getMinecraftSessionService()
method_2891()
getSessionService()
m_104554_()
public void
a(afo arg0)
handleGameProfile(ClientboundGameProfilePacket arg0)
method_12588(class_2901 arg0)
onSuccess(LoginSuccessS2CPacket arg0)
m_7056_(C_5205_ arg0)
public void
a(vf arg0)
onDisconnect(Component arg0)
method_10839(class_2561 arg0)
onDisconnected(Text arg0)
m_7026_(C_4996_ arg0)
public boolean
c()
isAcceptingMessages()
method_48106()
isConnectionOpen()
m_6198_()
public void
a(afr arg0)
handleDisconnect(ClientboundLoginDisconnectPacket arg0)
method_12584(class_2909 arg0)
onDisconnect(LoginDisconnectS2CPacket arg0)
m_5800_(C_5208_ arg0)
public void
a(afq arg0)
handleCompression(ClientboundLoginCompressionPacket arg0)
method_12585(class_2907 arg0)
onCompression(LoginCompressionS2CPacket arg0)
m_5693_(C_5207_ arg0)
public void
a(afn 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(p arg0)
fillListenerSpecificCrashDetails(CrashReportCategory arg0)
method_55597(class_129 arg0)
addCustomCrashReportInfo(CrashReportSection arg0)
m_306579_(C_4909_ arg0)