Class ServerboundHelloPacket
java.lang.Object
net.minecraft.network.protocol.login.ServerboundHelloPacket
- All Implemented Interfaces:
Packet<ServerLoginPacketListener>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServerboundHelloPacket(com.mojang.authlib.GameProfile p_134842_)ServerboundHelloPacket(FriendlyByteBuf p_179827_) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.authlib.GameProfilevoidhandle(ServerLoginPacketListener p_134848_)voidwrite(FriendlyByteBuf p_134851_)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
Field Details
-
gameProfile
private final com.mojang.authlib.GameProfile gameProfile
-
-
Constructor Details
-
ServerboundHelloPacket
public ServerboundHelloPacket(com.mojang.authlib.GameProfile p_134842_) -
ServerboundHelloPacket
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ServerLoginPacketListener>
-
handle
- Specified by:
handlein interfacePacket<ServerLoginPacketListener>
-
getGameProfile
public com.mojang.authlib.GameProfile getGameProfile()
-