Class ClientboundGameProfilePacket
java.lang.Object
net.minecraft.network.protocol.login.ClientboundGameProfilePacket
- All Implemented Interfaces:
Packet<ClientLoginPacketListener>
public class ClientboundGameProfilePacket
extends Object
implements Packet<ClientLoginPacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientboundGameProfilePacket
(com.mojang.authlib.GameProfile p_134767_) ClientboundGameProfilePacket
(FriendlyByteBuf p_179814_) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.authlib.GameProfile
void
handle
(ClientLoginPacketListener p_134773_) void
write
(FriendlyByteBuf p_134776_) 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
-
ClientboundGameProfilePacket
public ClientboundGameProfilePacket(com.mojang.authlib.GameProfile p_134767_) -
ClientboundGameProfilePacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientLoginPacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientLoginPacketListener>
-
getGameProfile
public com.mojang.authlib.GameProfile getGameProfile()
-