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 jl
intermediary net/minecraft/class_1591
named net/minecraft/network/packet/c2s/login/LoginHelloC2SPacket
  • Field Details

    • profile

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

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ServerLoginPacketListener>
      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<ServerLoginPacketListener>
      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​(ServerLoginPacketListener serverLoginPacketListener)
      Specified by:
      apply in interface Packet<ServerLoginPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Ljl;a(Ljk;)V
      intermediary method_5847 Lnet/minecraft/class_1591;method_5847(Lnet/minecraft/class_1590;)V
      named apply Lnet/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 a Ljl;a()Lcom/mojang/authlib/GameProfile;
      intermediary method_5846 Lnet/minecraft/class_1591;method_5846()Lcom/mojang/authlib/GameProfile;
      named getProfile Lnet/minecraft/network/packet/c2s/login/LoginHelloC2SPacket;getProfile()Lcom/mojang/authlib/GameProfile;