Class LoginSuccessS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.login.LoginSuccessS2CPacket
- All Implemented Interfaces:
Packet<ClientLoginPacketListener>
public class LoginSuccessS2CPacket extends Object implements Packet<ClientLoginPacketListener>
- Mappings:
Namespace Name official us
intermediary net/minecraft/class_2901
named net/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private com.mojang.authlib.GameProfile
profile
-
Constructor Summary
Constructors Constructor Description LoginSuccessS2CPacket()
LoginSuccessS2CPacket(com.mojang.authlib.GameProfile profile)
-
Method Summary
Modifier and Type Method Description void
apply(ClientLoginPacketListener clientLoginPacketListener)
com.mojang.authlib.GameProfile
getProfile()
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
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.Packet
isWritingErrorSkippable
-
Field Details
-
profile
private com.mojang.authlib.GameProfile profile- Mappings:
Namespace Name Mixin selector official a
Lus;a:Lcom/mojang/authlib/GameProfile;
intermediary field_13190
Lnet/minecraft/class_2901;field_13190:Lcom/mojang/authlib/GameProfile;
named profile
Lnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;profile:Lcom/mojang/authlib/GameProfile;
-
-
Constructor Details
-
LoginSuccessS2CPacket
public LoginSuccessS2CPacket() -
LoginSuccessS2CPacket
public LoginSuccessS2CPacket(com.mojang.authlib.GameProfile profile)- Mappings:
Namespace Name Mixin selector official <init>
Lus;<init>(Lcom/mojang/authlib/GameProfile;)V
intermediary <init>
Lnet/minecraft/class_2901;<init>(Lcom/mojang/authlib/GameProfile;)V
named <init>
Lnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;<init>(Lcom/mojang/authlib/GameProfile;)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientLoginPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientLoginPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientLoginPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lus;a(Luq;)V
intermediary method_12594
Lnet/minecraft/class_2901;method_12594(Lnet/minecraft/class_2896;)V
named apply
Lnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;apply(Lnet/minecraft/network/listener/ClientLoginPacketListener;)V
-
getProfile
- Mappings:
Namespace Name Mixin selector official b
Lus;b()Lcom/mojang/authlib/GameProfile;
intermediary method_12593
Lnet/minecraft/class_2901;method_12593()Lcom/mojang/authlib/GameProfile;
named getProfile
Lnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;getProfile()Lcom/mojang/authlib/GameProfile;
-