Class LoginSuccessS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.login.LoginSuccessS2CPacket
- All Implemented Interfaces:
Packet<ClientLoginPacketListener>
- Mappings:
Namespace Name official agy
intermediary net/minecraft/class_2901
named 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 TypeMethodDescriptionvoid
apply
(ClientLoginPacketListener clientLoginPacketListener) com.mojang.authlib.GameProfile
boolean
Returnstrue
if the packet signals transitioning betweenNetworkState
s.private 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.Packet
isWritingErrorSkippable
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lagy;a:Lxo;
intermediary field_48233
Lnet/minecraft/class_2901;field_48233:Lnet/minecraft/class_9139;
named CODEC
Lnet/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 b
Lagy;b: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(com.mojang.authlib.GameProfile profile) - Mappings:
Namespace Name Mixin selector official <init>
Lagy;<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
-
LoginSuccessS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lagy;<init>(Luq;)V
intermediary <init>
Lnet/minecraft/class_2901;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector official a
Lagy;a(Luq;)V
intermediary method_56011
Lnet/minecraft/class_2901;method_56011(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientLoginPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lxx;a()Lxz;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
-
apply
- Specified by:
apply
in interfacePacket<ClientLoginPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lagy;a(Lagw;)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
public com.mojang.authlib.GameProfile getProfile()- Mappings:
Namespace Name Mixin selector official b
Lagy;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;
-
transitionsNetworkState
public boolean transitionsNetworkState()Returnstrue
if the packet signals transitioning betweenNetworkState
s.Such packets cannot be bundled.
- Specified by:
transitionsNetworkState
in interfacePacket<ClientLoginPacketListener>
- Returns:
true
if the packet signals transitioning betweenNetworkState
s- Mappings:
Namespace Name Mixin selector official d
Lxx;d()Z
intermediary method_55943
Lnet/minecraft/class_2596;method_55943()Z
named transitionsNetworkState
Lnet/minecraft/network/packet/Packet;transitionsNetworkState()Z
-