Class ServerboundHelloPacket
java.lang.Object
net.minecraft.network.protocol.login.ServerboundHelloPacket
- All Implemented Interfaces:
Packet<ServerLoginPacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionServerboundHelloPacket
(com.mojang.authlib.GameProfile p_134842_) ServerboundHelloPacket
(FriendlyByteBuf p_179827_) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.authlib.GameProfile
void
handle
(ServerLoginPacketListener p_134848_) void
write
(FriendlyByteBuf p_134851_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
write
in interfacePacket<ServerLoginPacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ServerLoginPacketListener>
-
getGameProfile
public com.mojang.authlib.GameProfile getGameProfile()
-