Class LoginSuccessS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.login.LoginSuccessS2CPacket
- All Implemented Interfaces:
Packet<ClientLoginPacketListener>
- Mappings:
Namespace Name official ahgintermediary net/minecraft/class_2901named net/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<PacketByteBuf, LoginSuccessS2CPacket> private final com.mojang.authlib.GameProfile -
Constructor Summary
ConstructorsModifierConstructorDescriptionLoginSuccessS2CPacket(com.mojang.authlib.GameProfile profile) private -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ClientLoginPacketListener clientLoginPacketListener) com.mojang.authlib.GameProfilebooleanReturnstrueif the packet signals transitioning betweenNetworkStates.private voidwrite(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLahg;a:Lxs;intermediary field_48233Lnet/minecraft/class_2901;field_48233:Lnet/minecraft/class_9139;named CODECLnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
-
profile
private final com.mojang.authlib.GameProfile profile- Mappings:
Namespace Name Mixin selector official bLahg;b:Lcom/mojang/authlib/GameProfile;intermediary field_13190Lnet/minecraft/class_2901;field_13190:Lcom/mojang/authlib/GameProfile;named profileLnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;profile:Lcom/mojang/authlib/GameProfile;
-
-
Constructor Details
-
LoginSuccessS2CPacket
public LoginSuccessS2CPacket(com.mojang.authlib.GameProfile profile) - Mappings:
Namespace Name Mixin selector official <init>Lahg;<init>(Lcom/mojang/authlib/GameProfile;)Vintermediary <init>Lnet/minecraft/class_2901;<init>(Lcom/mojang/authlib/GameProfile;)Vnamed <init>Lnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;<init>(Lcom/mojang/authlib/GameProfile;)V
-
LoginSuccessS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lahg;<init>(Luu;)Vintermediary <init>Lnet/minecraft/class_2901;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector official aLahg;a(Luu;)Vintermediary method_56011Lnet/minecraft/class_2901;method_56011(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getPacketId
- Specified by:
getPacketIdin interfacePacket<ClientLoginPacketListener>- Mappings:
Namespace Name Mixin selector official aLyb;a()Lyd;intermediary method_55846Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;named getPacketIdLnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
-
apply
- Specified by:
applyin interfacePacket<ClientLoginPacketListener>- Mappings:
Namespace Name Mixin selector official aLahg;a(Lahe;)Vintermediary method_12594Lnet/minecraft/class_2901;method_12594(Lnet/minecraft/class_2896;)Vnamed applyLnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;apply(Lnet/minecraft/network/listener/ClientLoginPacketListener;)V
-
getProfile
public com.mojang.authlib.GameProfile getProfile()- Mappings:
Namespace Name Mixin selector official bLahg;b()Lcom/mojang/authlib/GameProfile;intermediary method_12593Lnet/minecraft/class_2901;method_12593()Lcom/mojang/authlib/GameProfile;named getProfileLnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;getProfile()Lcom/mojang/authlib/GameProfile;
-
transitionsNetworkState
public boolean transitionsNetworkState()Returnstrueif the packet signals transitioning betweenNetworkStates.Such packets cannot be bundled.
- Specified by:
transitionsNetworkStatein interfacePacket<ClientLoginPacketListener>- Returns:
trueif the packet signals transitioning betweenNetworkStates- Mappings:
Namespace Name Mixin selector official dLyb;d()Zintermediary method_55943Lnet/minecraft/class_2596;method_55943()Znamed transitionsNetworkStateLnet/minecraft/network/packet/Packet;transitionsNetworkState()Z
-