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 jg
intermediary net/minecraft/class_1586
named net/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket
  • Field Details

    • profile

      private com.mojang.authlib.GameProfile profile
      Mappings:
      Namespace Name Mixin selector
      official a Ljg;a:Lcom/mojang/authlib/GameProfile;
      intermediary field_6479 Lnet/minecraft/class_1586;field_6479: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> Ljg;<init>(Lcom/mojang/authlib/GameProfile;)V
      intermediary <init> Lnet/minecraft/class_1586;<init>(Lcom/mojang/authlib/GameProfile;)V
      named <init> Lnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;<init>(Lcom/mojang/authlib/GameProfile;)V
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientLoginPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lff;a(Lem;)V
      intermediary method_5238 Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientLoginPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lff;b(Lem;)V
      intermediary method_5240 Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • apply

      public void apply​(ClientLoginPacketListener clientLoginPacketListener)
      Specified by:
      apply in interface Packet<ClientLoginPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Ljg;a(Ljf;)V
      intermediary method_5835 Lnet/minecraft/class_1586;method_5835(Lnet/minecraft/class_1585;)V
      named apply Lnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;apply(Lnet/minecraft/network/listener/ClientLoginPacketListener;)V
    • getProfile

      @Environment(CLIENT) public com.mojang.authlib.GameProfile getProfile()
      Mappings:
      Namespace Name Mixin selector
      official a Ljg;a()Lcom/mojang/authlib/GameProfile;
      intermediary method_5834 Lnet/minecraft/class_1586;method_5834()Lcom/mojang/authlib/GameProfile;
      named getProfile Lnet/minecraft/network/packet/s2c/login/LoginSuccessS2CPacket;getProfile()Lcom/mojang/authlib/GameProfile;