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 ux
intermediary net/minecraft/class_2913
named net/minecraft/network/packet/c2s/login/LoginQueryResponseC2SPacket
  • Field Details

    • queryId

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

      private PacketByteBuf response
      Mappings:
      Namespace Name Mixin selector
      official b Lux;b:Lnw;
      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()
    • LoginQueryResponseC2SPacket

      @Environment(CLIENT) public LoginQueryResponseC2SPacket​(int queryId, @Nullable PacketByteBuf response)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lux;<init>(ILnw;)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
  • 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 Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/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 Lpa;b(Lnw;)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 Lux;a(Luw;)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