Class PlayerInteractBlockC2SPacket

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

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

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48225 Lnet/minecraft/class_2885;field_48225:Lnet/minecraft/class_9139;
      official a Lajk;a:Lzt;
    • blockHitResult

      private final BlockHitResult blockHitResult
      Mappings:
      Namespace Name Mixin selector
      named blockHitResult Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;blockHitResult:Lnet/minecraft/util/hit/BlockHitResult;
      intermediary field_17602 Lnet/minecraft/class_2885;field_17602:Lnet/minecraft/class_3965;
      official b Lajk;b:Lfbt;
    • hand

      private final Hand hand
      Mappings:
      Namespace Name Mixin selector
      named hand Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;hand:Lnet/minecraft/util/Hand;
      intermediary field_13134 Lnet/minecraft/class_2885;field_13134:Lnet/minecraft/class_1268;
      official c Lajk;c:Lbth;
    • sequence

      private final int sequence
      Mappings:
      Namespace Name Mixin selector
      named sequence Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;sequence:I
      intermediary field_38049 Lnet/minecraft/class_2885;field_38049:I
      official d Lajk;d:I
  • Constructor Details

    • PlayerInteractBlockC2SPacket

      public PlayerInteractBlockC2SPacket(Hand hand, BlockHitResult blockHitResult, int sequence)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;<init>(Lnet/minecraft/util/Hand;Lnet/minecraft/util/hit/BlockHitResult;I)V
      intermediary <init> Lnet/minecraft/class_2885;<init>(Lnet/minecraft/class_1268;Lnet/minecraft/class_3965;I)V
      official <init> Lajk;<init>(Lbth;Lfbt;I)V
    • PlayerInteractBlockC2SPacket

      private PlayerInteractBlockC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2885;<init>(Lnet/minecraft/class_2540;)V
      official <init> Lajk;<init>(Lws;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_56005 Lnet/minecraft/class_2885;method_56005(Lnet/minecraft/class_2540;)V
      official a Lajk;a(Lws;)V
    • 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 Laac;a()Laae;
    • 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/PlayerInteractBlockC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
      intermediary method_12547 Lnet/minecraft/class_2885;method_12547(Lnet/minecraft/class_2792;)V
      official a Lajk;a(Lahm;)V
    • getHand

      public Hand getHand()
      Mappings:
      Namespace Name Mixin selector
      named getHand Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;getHand()Lnet/minecraft/util/Hand;
      intermediary method_12546 Lnet/minecraft/class_2885;method_12546()Lnet/minecraft/class_1268;
      official b Lajk;b()Lbth;
    • getBlockHitResult

      public BlockHitResult getBlockHitResult()
      Mappings:
      Namespace Name Mixin selector
      named getBlockHitResult Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;getBlockHitResult()Lnet/minecraft/util/hit/BlockHitResult;
      intermediary method_12543 Lnet/minecraft/class_2885;method_12543()Lnet/minecraft/class_3965;
      official e Lajk;e()Lfbt;
    • getSequence

      public int getSequence()
      Mappings:
      Namespace Name Mixin selector
      named getSequence Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;getSequence()I
      intermediary method_42080 Lnet/minecraft/class_2885;method_42080()I
      official f Lajk;f()I