Class QueryRequestC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.query.QueryRequestC2SPacket
All Implemented Interfaces:
Packet<ServerQueryPacketListener>

public class QueryRequestC2SPacket extends Object implements Packet<ServerQueryPacketListener>
Mappings:
Namespace Name
official xn
intermediary net/minecraft/class_2937
named net/minecraft/network/packet/c2s/query/QueryRequestC2SPacket
  • Constructor Details

    • QueryRequestC2SPacket

      public QueryRequestC2SPacket()
    • QueryRequestC2SPacket

      public QueryRequestC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxn;<init>(Lpn;)V
      intermediary <init> Lnet/minecraft/class_2937;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/c2s/query/QueryRequestC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ServerQueryPacketListener>
      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(ServerQueryPacketListener serverQueryPacketListener)
      Specified by:
      apply in interface Packet<ServerQueryPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lxn;a(Lxl;)V
      intermediary method_12701 Lnet/minecraft/class_2937;method_12701(Lnet/minecraft/class_2933;)V
      named apply Lnet/minecraft/network/packet/c2s/query/QueryRequestC2SPacket;apply(Lnet/minecraft/network/listener/ServerQueryPacketListener;)V