Class LoginQueryResponseC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.login.LoginQueryResponseC2SPacket
All Implemented Interfaces:
Packet<ServerLoginPacketListener>

public class LoginQueryResponseC2SPacket extends Object implements Packet<ServerLoginPacketListener>
Mappings:
Namespace Name
official xc
intermediary net/minecraft/class_2913
named net/minecraft/network/packet/c2s/login/LoginQueryResponseC2SPacket
  • Field Details

    • MAX_PAYLOAD_SIZE

      private static final int MAX_PAYLOAD_SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lxc;a:I
      intermediary field_33374 Lnet/minecraft/class_2913;field_33374:I
      named MAX_PAYLOAD_SIZE Lnet/minecraft/network/packet/c2s/login/LoginQueryResponseC2SPacket;MAX_PAYLOAD_SIZE:I
    • queryId

      private final int queryId
      Mappings:
      Namespace Name Mixin selector
      official b Lxc;b:I
      intermediary field_13259 Lnet/minecraft/class_2913;field_13259:I
      named queryId Lnet/minecraft/network/packet/c2s/login/LoginQueryResponseC2SPacket;queryId:I
    • response

      @Nullable private final @Nullable PacketByteBuf response
      Mappings:
      Namespace Name Mixin selector
      official c Lxc;c:Lpn;
      intermediary field_13258 Lnet/minecraft/class_2913;field_13258:Lnet/minecraft/class_2540;
      named response Lnet/minecraft/network/packet/c2s/login/LoginQueryResponseC2SPacket;response:Lnet/minecraft/network/PacketByteBuf;
  • Constructor Details

    • LoginQueryResponseC2SPacket

      public LoginQueryResponseC2SPacket(int queryId, @Nullable @Nullable PacketByteBuf response)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxc;<init>(ILpn;)V
      intermediary <init> Lnet/minecraft/class_2913;<init>(ILnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/c2s/login/LoginQueryResponseC2SPacket;<init>(ILnet/minecraft/network/PacketByteBuf;)V
    • LoginQueryResponseC2SPacket

      public LoginQueryResponseC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxc;<init>(Lpn;)V
      intermediary <init> Lnet/minecraft/class_2913;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/c2s/login/LoginQueryResponseC2SPacket;<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 Lxc;a(Lxb;)V
      intermediary method_12645 Lnet/minecraft/class_2913;method_12645(Lnet/minecraft/class_2911;)V
      named apply Lnet/minecraft/network/packet/c2s/login/LoginQueryResponseC2SPacket;apply(Lnet/minecraft/network/listener/ServerLoginPacketListener;)V
    • getQueryId

      public int getQueryId()
      Mappings:
      Namespace Name Mixin selector
      official b Lxc;b()I
      intermediary method_36178 Lnet/minecraft/class_2913;method_36178()I
      named getQueryId Lnet/minecraft/network/packet/c2s/login/LoginQueryResponseC2SPacket;getQueryId()I
    • getResponse

      @Nullable public @Nullable PacketByteBuf getResponse()
      Mappings:
      Namespace Name Mixin selector
      official c Lxc;c()Lpn;
      intermediary method_36179 Lnet/minecraft/class_2913;method_36179()Lnet/minecraft/class_2540;
      named getResponse Lnet/minecraft/network/packet/c2s/login/LoginQueryResponseC2SPacket;getResponse()Lnet/minecraft/network/PacketByteBuf;