Class LoginHelloS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.login.LoginHelloS2CPacket
All Implemented Interfaces:
Packet<ClientLoginPacketListener>

public class LoginHelloS2CPacket extends Object implements Packet<ClientLoginPacketListener>
Mappings:
Namespace Name
official za
intermediary net/minecraft/class_2905
named net/minecraft/network/packet/s2c/login/LoginHelloS2CPacket
  • Field Details

    • serverId

      private final String serverId
      Mappings:
      Namespace Name Mixin selector
      official a Lza;a:Ljava/lang/String;
      intermediary field_13209 Lnet/minecraft/class_2905;field_13209:Ljava/lang/String;
      named serverId Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;serverId:Ljava/lang/String;
    • publicKey

      private final byte[] publicKey
      Mappings:
      Namespace Name Mixin selector
      official b Lza;b:[B
      intermediary field_13211 Lnet/minecraft/class_2905;field_13211:[B
      named publicKey Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;publicKey:[B
    • nonce

      private final byte[] nonce
      Mappings:
      Namespace Name Mixin selector
      official c Lza;c:[B
      intermediary field_13210 Lnet/minecraft/class_2905;field_13210:[B
      named nonce Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;nonce:[B
  • Constructor Details

    • LoginHelloS2CPacket

      public LoginHelloS2CPacket(String serverId, byte[] publicKey, byte[] nonce)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lza;<init>(Ljava/lang/String;[B[B)V
      intermediary <init> Lnet/minecraft/class_2905;<init>(Ljava/lang/String;[B[B)V
      named <init> Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;<init>(Ljava/lang/String;[B[B)V
    • LoginHelloS2CPacket

      public LoginHelloS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lza;<init>(Lqx;)V
      intermediary <init> Lnet/minecraft/class_2905;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientLoginPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lso;a(Lqx;)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(ClientLoginPacketListener clientLoginPacketListener)
      Specified by:
      apply in interface Packet<ClientLoginPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lza;a(Lyx;)V
      intermediary method_12612 Lnet/minecraft/class_2905;method_12612(Lnet/minecraft/class_2896;)V
      named apply Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;apply(Lnet/minecraft/network/listener/ClientLoginPacketListener;)V
    • getServerId

      public String getServerId()
      Mappings:
      Namespace Name Mixin selector
      official b Lza;b()Ljava/lang/String;
      intermediary method_12610 Lnet/minecraft/class_2905;method_12610()Ljava/lang/String;
      named getServerId Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;getServerId()Ljava/lang/String;
    • getPublicKey

      public PublicKey getPublicKey() throws NetworkEncryptionException
      Throws:
      NetworkEncryptionException
      Mappings:
      Namespace Name Mixin selector
      official c Lza;c()Ljava/security/PublicKey;
      intermediary method_12611 Lnet/minecraft/class_2905;method_12611()Ljava/security/PublicKey;
      named getPublicKey Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;getPublicKey()Ljava/security/PublicKey;
    • getNonce

      public byte[] getNonce()
      Mappings:
      Namespace Name Mixin selector
      official d Lza;d()[B
      intermediary method_12613 Lnet/minecraft/class_2905;method_12613()[B
      named getNonce Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;getNonce()[B