Class QueryBlockNbtC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.play.QueryBlockNbtC2SPacket
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class QueryBlockNbtC2SPacket extends Object implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket
intermediary net/minecraft/class_2795
official agl
  • Field Details

    • CODEC

      public static final PacketCodec<PacketByteBuf,QueryBlockNbtC2SPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48175 Lnet/minecraft/class_2795;field_48175:Lnet/minecraft/class_9139;
      official a Lagl;a:Lyx;
    • transactionId

      private final int transactionId
      Mappings:
      Namespace Name Mixin selector
      named transactionId Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;transactionId:I
      intermediary field_12762 Lnet/minecraft/class_2795;field_12762:I
      official b Lagl;b:I
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      named pos Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;pos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_12763 Lnet/minecraft/class_2795;field_12763:Lnet/minecraft/class_2338;
      official c Lagl;c:Ljd;
  • Constructor Details

    • QueryBlockNbtC2SPacket

      public QueryBlockNbtC2SPacket(int transactionId, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;<init>(ILnet/minecraft/util/math/BlockPos;)V
      intermediary <init> Lnet/minecraft/class_2795;<init>(ILnet/minecraft/class_2338;)V
      official <init> Lagl;<init>(ILjd;)V
    • QueryBlockNbtC2SPacket

      private QueryBlockNbtC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2795;<init>(Lnet/minecraft/class_2540;)V
      official <init> Lagl;<init>(Lvw;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55961 Lnet/minecraft/class_2795;method_55961(Lnet/minecraft/class_2540;)V
      official a Lagl;a(Lvw;)V
    • getPacketId

      public PacketType<QueryBlockNbtC2SPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzg;a()Lzi;
    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
      intermediary method_12095 Lnet/minecraft/class_2795;method_12095(Lnet/minecraft/class_2792;)V
      official a Lagl;a(Lagi;)V
    • getTransactionId

      public int getTransactionId()
      Mappings:
      Namespace Name Mixin selector
      named getTransactionId Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;getTransactionId()I
      intermediary method_12096 Lnet/minecraft/class_2795;method_12096()I
      official b Lagl;b()I
    • getPos

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      named getPos Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;getPos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_12094 Lnet/minecraft/class_2795;method_12094()Lnet/minecraft/class_2338;
      official e Lagl;e()Ljd;