Package net.minecraft.client.multiplayer
Class ClientHandshakePacketListenerImpl
java.lang.Object
net.minecraft.client.multiplayer.ClientHandshakePacketListenerImpl
- All Implemented Interfaces:
 ClientboundPacketListener,PacketListener,ClientLoginPacketListener
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static enum - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Connectionprivate static final org.slf4j.Loggerprivate final Minecraftprivate Stringprivate final booleanprivate final Screenprivate final ServerDataprivate final AtomicReference<ClientHandshakePacketListenerImpl.State>private final Duration - 
Constructor Summary
ConstructorsConstructorDescriptionClientHandshakePacketListenerImpl(Connection p_261697_, Minecraft p_261835_, ServerData p_261938_, Screen p_261783_, boolean p_261562_, Duration p_261673_, Consumer<Component> p_261945_)  - 
Method Summary
Modifier and TypeMethodDescriptionprivate ComponentauthenticateServer(String p_104532_) voidprivate com.mojang.authlib.minecraft.MinecraftSessionServicevoidvoidhandleCustomQuery(ClientboundCustomQueryPacket p_104545_) voidhandleDisconnect(ClientboundLoginDisconnectPacket p_104553_) voidhandleGameProfile(ClientboundGameProfilePacket p_104547_) voidhandleHello(ClientboundHelloPacket p_104549_) booleanvoidonDisconnect(Component p_104543_) voidsetMinigameName(String p_286653_) private voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.ClientboundPacketListener
flowMethods inherited from interface net.minecraft.network.protocol.login.ClientLoginPacketListener
protocolMethods inherited from interface net.minecraft.network.PacketListener
fillCrashReport, shouldHandleMessage, shouldPropagateHandlingExceptions 
- 
Field Details
- 
LOGGER
private static final org.slf4j.Logger LOGGER - 
minecraft
 - 
serverData
 - 
parent
 - 
updateStatus
 - 
connection
 - 
newWorld
private final boolean newWorld - 
worldLoadDuration
 - 
minigameName
 - 
state
 
 - 
 - 
Constructor Details
- 
ClientHandshakePacketListenerImpl
public ClientHandshakePacketListenerImpl(Connection p_261697_, Minecraft p_261835_, @Nullable ServerData p_261938_, @Nullable Screen p_261783_, boolean p_261562_, @Nullable Duration p_261673_, Consumer<Component> p_261945_)  
 - 
 - 
Method Details
- 
switchState
 - 
handleHello
- Specified by:
 handleHelloin interfaceClientLoginPacketListener
 - 
authenticateServer
 - 
getMinecraftSessionService
private com.mojang.authlib.minecraft.MinecraftSessionService getMinecraftSessionService() - 
handleGameProfile
- Specified by:
 handleGameProfilein interfaceClientLoginPacketListener
 - 
onDisconnect
- Specified by:
 onDisconnectin interfacePacketListener
 - 
isAcceptingMessages
public boolean isAcceptingMessages()- Specified by:
 isAcceptingMessagesin interfacePacketListener
 - 
handleDisconnect
- Specified by:
 handleDisconnectin interfaceClientLoginPacketListener
 - 
handleCompression
- Specified by:
 handleCompressionin interfaceClientLoginPacketListener
 - 
handleCustomQuery
- Specified by:
 handleCustomQueryin interfaceClientLoginPacketListener
 - 
setMinigameName
 - 
fillListenerSpecificCrashDetails
- Specified by:
 fillListenerSpecificCrashDetailsin interfacePacketListener
 
 -