Package net.minecraft.client.multiplayer
Class ClientHandshakePacketListenerImpl
java.lang.Object
net.minecraft.client.multiplayer.ClientHandshakePacketListenerImpl
- All Implemented Interfaces:
- ClientboundPacketListener,- PacketListener,- ClientLoginPacketListener
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescription(package private) static enum
- 
Field SummaryFieldsModifier 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 SummaryConstructorsConstructorDescriptionClientHandshakePacketListenerImpl(Connection p_261697_, Minecraft p_261835_, ServerData p_261938_, Screen p_261783_, boolean p_261562_, Duration p_261673_, Consumer<Component> p_261945_) 
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.ClientboundPacketListenerflowMethods inherited from interface net.minecraft.network.protocol.login.ClientLoginPacketListenerprotocolMethods inherited from interface net.minecraft.network.PacketListenerfillCrashReport, shouldHandleMessage, shouldPropagateHandlingExceptions
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
minecraft
- 
serverData
- 
parent
- 
updateStatus
- 
connection
- 
newWorldprivate final boolean newWorld
- 
worldLoadDuration
- 
minigameName
- 
state
 
- 
- 
Constructor Details- 
ClientHandshakePacketListenerImplpublic 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 interface- ClientLoginPacketListener
 
- 
authenticateServer
- 
getMinecraftSessionServiceprivate com.mojang.authlib.minecraft.MinecraftSessionService getMinecraftSessionService()
- 
handleGameProfile- Specified by:
- handleGameProfilein interface- ClientLoginPacketListener
 
- 
onDisconnect- Specified by:
- onDisconnectin interface- PacketListener
 
- 
isAcceptingMessagespublic boolean isAcceptingMessages()- Specified by:
- isAcceptingMessagesin interface- PacketListener
 
- 
handleDisconnect- Specified by:
- handleDisconnectin interface- ClientLoginPacketListener
 
- 
handleCompression- Specified by:
- handleCompressionin interface- ClientLoginPacketListener
 
- 
handleCustomQuery- Specified by:
- handleCustomQueryin interface- ClientLoginPacketListener
 
- 
setMinigameName
- 
fillListenerSpecificCrashDetails- Specified by:
- fillListenerSpecificCrashDetailsin interface- PacketListener
 
 
-