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 ve
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 Lve;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 ServerMetadata metadata
      Mappings:
      Namespace Name Mixin selector
      official b Lve;b:Lvf;
      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()
    • QueryResponseS2CPacket

      public QueryResponseS2CPacket​(ServerMetadata metadata)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lve;<init>(Lvf;)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
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientQueryPacketListener>
      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<ClientQueryPacketListener>
      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​(ClientQueryPacketListener clientQueryPacketListener)
      Specified by:
      apply in interface Packet<ClientQueryPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lve;a(Lvc;)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

      @Environment(CLIENT) public ServerMetadata getServerMetadata()
      Mappings:
      Namespace Name Mixin selector
      official b Lve;b()Lvf;
      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;