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 jgintermediary net/minecraft/class_1586named net/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private com.mojang.authlib.GameProfileprofile -
Constructor Summary
Constructors Constructor Description LoginSuccessS2CPacket()LoginSuccessS2CPacket(com.mojang.authlib.GameProfile profile) -
Method Summary
Modifier and Type Method Description voidapply(ClientLoginPacketListener clientLoginPacketListener)com.mojang.authlib.GameProfilegetProfile()voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)
-
Field Details
-
profile
private com.mojang.authlib.GameProfile profile- Mappings:
Namespace Name Mixin selector official aLjg;a:Lcom/mojang/authlib/GameProfile;intermediary field_6479Lnet/minecraft/class_1586;field_6479:Lcom/mojang/authlib/GameProfile;named profileLnet/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>Ljg;<init>(Lcom/mojang/authlib/GameProfile;)Vintermediary <init>Lnet/minecraft/class_1586;<init>(Lcom/mojang/authlib/GameProfile;)Vnamed <init>Lnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;<init>(Lcom/mojang/authlib/GameProfile;)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ClientLoginPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLff;a(Lem;)Vintermediary method_5238Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ClientLoginPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLff;b(Lem;)Vintermediary method_5240Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientLoginPacketListener>- Mappings:
Namespace Name Mixin selector official aLjg;a(Ljf;)Vintermediary method_5835Lnet/minecraft/class_1586;method_5835(Lnet/minecraft/class_1585;)Vnamed applyLnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;apply(Lnet/minecraft/network/listener/ClientLoginPacketListener;)V
-
getProfile
- Mappings:
Namespace Name Mixin selector official aLjg;a()Lcom/mojang/authlib/GameProfile;intermediary method_5834Lnet/minecraft/class_1586;method_5834()Lcom/mojang/authlib/GameProfile;named getProfileLnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;getProfile()Lcom/mojang/authlib/GameProfile;
-