public class LoginSuccessS2CPacket extends Object implements Packet<ClientLoginPacketListener>
Modifier and Type | Field and Description |
---|---|
private com.mojang.authlib.GameProfile |
profile |
Constructor and Description |
---|
LoginSuccessS2CPacket() |
LoginSuccessS2CPacket(com.mojang.authlib.GameProfile profile) |
Modifier and Type | Method and Description |
---|---|
void |
apply(ClientLoginPacketListener clientLoginPacketListener) |
com.mojang.authlib.GameProfile |
getProfile() |
void |
read(PacketByteBuf buf) |
void |
write(PacketByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWritingErrorSkippable
public LoginSuccessS2CPacket()
public LoginSuccessS2CPacket(com.mojang.authlib.GameProfile profile)
public void read(PacketByteBuf buf) throws IOException
read
in interface Packet<ClientLoginPacketListener>
IOException
public void write(PacketByteBuf buf) throws IOException
write
in interface Packet<ClientLoginPacketListener>
IOException
public void apply(ClientLoginPacketListener clientLoginPacketListener)
apply
in interface Packet<ClientLoginPacketListener>
@Environment(value=CLIENT) public com.mojang.authlib.GameProfile getProfile()