Class QueryResponseS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.query.QueryResponseS2CPacket
All Implemented Interfaces:
Packet<ClientQueryPacketListener>

public class QueryResponseS2CPacket extends Object implements Packet<ClientQueryPacketListener>
Mappings:
Namespace Name
official xv
intermediary net/minecraft/class_2924
named net/minecraft/network/packet/s2c/query/QueryResponseS2CPacket
  • Field Details

    • GSON

      private static final Gson GSON
      Mappings:
      Namespace Name Mixin selector
      official a Lxv;a:Lcom/google/gson/Gson;
      intermediary field_13282 Lnet/minecraft/class_2924;field_13282:Lcom/google/gson/Gson;
      named GSON Lnet/minecraft/network/packet/s2c/query/QueryResponseS2CPacket;GSON:Lcom/google/gson/Gson;
    • metadata

      private final ServerMetadata metadata
      Mappings:
      Namespace Name Mixin selector
      official b Lxv;b:Lxw;
      intermediary field_13281 Lnet/minecraft/class_2924;field_13281:Lnet/minecraft/class_2926;
      named metadata Lnet/minecraft/network/packet/s2c/query/QueryResponseS2CPacket;metadata:Lnet/minecraft/server/ServerMetadata;
  • Constructor Details

    • QueryResponseS2CPacket

      public QueryResponseS2CPacket(ServerMetadata metadata)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxv;<init>(Lxw;)V
      intermediary <init> Lnet/minecraft/class_2924;<init>(Lnet/minecraft/class_2926;)V
      named <init> Lnet/minecraft/network/packet/s2c/query/QueryResponseS2CPacket;<init>(Lnet/minecraft/server/ServerMetadata;)V
    • QueryResponseS2CPacket

      public QueryResponseS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxv;<init>(Lpy;)V
      intermediary <init> Lnet/minecraft/class_2924;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/query/QueryResponseS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientQueryPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lrc;a(Lpy;)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(ClientQueryPacketListener clientQueryPacketListener)
      Specified by:
      apply in interface Packet<ClientQueryPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lxv;a(Lxt;)V
      intermediary method_12671 Lnet/minecraft/class_2924;method_12671(Lnet/minecraft/class_2921;)V
      named apply Lnet/minecraft/network/packet/s2c/query/QueryResponseS2CPacket;apply(Lnet/minecraft/network/listener/ClientQueryPacketListener;)V
    • getServerMetadata

      public ServerMetadata getServerMetadata()
      Mappings:
      Namespace Name Mixin selector
      official b Lxv;b()Lxw;
      intermediary method_12672 Lnet/minecraft/class_2924;method_12672()Lnet/minecraft/class_2926;
      named getServerMetadata Lnet/minecraft/network/packet/s2c/query/QueryResponseS2CPacket;getServerMetadata()Lnet/minecraft/server/ServerMetadata;