Class LoginHelloC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.login.LoginHelloC2SPacket
- All Implemented Interfaces:
Packet<ServerLoginPacketListener>
public class LoginHelloC2SPacket extends Object implements Packet<ServerLoginPacketListener>
- Mappings:
Namespace Name official jlintermediary net/minecraft/class_1591named net/minecraft/network/packet/c2s/login/LoginHelloC2SPacket
-
Field Summary
Fields Modifier and Type Field Description private com.mojang.authlib.GameProfileprofile -
Constructor Summary
Constructors Constructor Description LoginHelloC2SPacket()LoginHelloC2SPacket(com.mojang.authlib.GameProfile profile) -
Method Summary
Modifier and Type Method Description voidapply(ServerLoginPacketListener serverLoginPacketListener)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 aLjl;a:Lcom/mojang/authlib/GameProfile;intermediary field_6485Lnet/minecraft/class_1591;field_6485:Lcom/mojang/authlib/GameProfile;named profileLnet/minecraft/network/packet/c2s/login/LoginHelloC2SPacket;profile:Lcom/mojang/authlib/GameProfile;
-
-
Constructor Details
-
LoginHelloC2SPacket
public LoginHelloC2SPacket() -
LoginHelloC2SPacket
public LoginHelloC2SPacket(com.mojang.authlib.GameProfile profile)- Mappings:
Namespace Name Mixin selector official <init>Ljl;<init>(Lcom/mojang/authlib/GameProfile;)Vintermediary <init>Lnet/minecraft/class_1591;<init>(Lcom/mojang/authlib/GameProfile;)Vnamed <init>Lnet/minecraft/network/packet/c2s/login/LoginHelloC2SPacket;<init>(Lcom/mojang/authlib/GameProfile;)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ServerLoginPacketListener>- 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<ServerLoginPacketListener>- 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<ServerLoginPacketListener>- Mappings:
Namespace Name Mixin selector official aLjl;a(Ljk;)Vintermediary method_5847Lnet/minecraft/class_1591;method_5847(Lnet/minecraft/class_1590;)Vnamed applyLnet/minecraft/network/packet/c2s/login/LoginHelloC2SPacket;apply(Lnet/minecraft/network/listener/ServerLoginPacketListener;)V
-
getProfile
public com.mojang.authlib.GameProfile getProfile()- Mappings:
Namespace Name Mixin selector official aLjl;a()Lcom/mojang/authlib/GameProfile;intermediary method_5846Lnet/minecraft/class_1591;method_5846()Lcom/mojang/authlib/GameProfile;named getProfileLnet/minecraft/network/packet/c2s/login/LoginHelloC2SPacket;getProfile()Lcom/mojang/authlib/GameProfile;
-