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

    • profile

      private final com.mojang.authlib.GameProfile profile
      Mappings:
      Namespace Name Mixin selector
      official a Lxd;a:Lcom/mojang/authlib/GameProfile;
      intermediary field_13271 Lnet/minecraft/class_2915;field_13271:Lcom/mojang/authlib/GameProfile;
      named profile Lnet/minecraft/network/packet/c2s/login/LoginHelloC2SPacket;profile:Lcom/mojang/authlib/GameProfile;
  • Constructor Details

    • LoginHelloC2SPacket

      public LoginHelloC2SPacket(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxd;<init>(Lcom/mojang/authlib/GameProfile;)V
      intermediary <init> Lnet/minecraft/class_2915;<init>(Lcom/mojang/authlib/GameProfile;)V
      named <init> Lnet/minecraft/network/packet/c2s/login/LoginHelloC2SPacket;<init>(Lcom/mojang/authlib/GameProfile;)V
    • LoginHelloC2SPacket

      public LoginHelloC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxd;<init>(Lpn;)V
      intermediary <init> Lnet/minecraft/class_2915;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/c2s/login/LoginHelloC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ServerLoginPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lqr;a(Lpn;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ServerLoginPacketListener serverLoginPacketListener)
      Specified by:
      apply in interface Packet<ServerLoginPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lxd;a(Lxb;)V
      intermediary method_12649 Lnet/minecraft/class_2915;method_12649(Lnet/minecraft/class_2911;)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 b Lxd;b()Lcom/mojang/authlib/GameProfile;
      intermediary method_12650 Lnet/minecraft/class_2915;method_12650()Lcom/mojang/authlib/GameProfile;
      named getProfile Lnet/minecraft/network/packet/c2s/login/LoginHelloC2SPacket;getProfile()Lcom/mojang/authlib/GameProfile;