Class HandSwingC2SPacket

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

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

    • CODEC

      public static final PacketCodec<PacketByteBuf,HandSwingC2SPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/c2s/play/HandSwingC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48223 Lnet/minecraft/class_2879;field_48223:Lnet/minecraft/class_9139;
      official a Laji;a:Lzt;
    • hand

      private final Hand hand
      Mappings:
      Namespace Name Mixin selector
      named hand Lnet/minecraft/network/packet/c2s/play/HandSwingC2SPacket;hand:Lnet/minecraft/util/Hand;
      intermediary field_13102 Lnet/minecraft/class_2879;field_13102:Lnet/minecraft/class_1268;
      official b Laji;b:Lbth;
  • Constructor Details

    • HandSwingC2SPacket

      public HandSwingC2SPacket(Hand hand)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/HandSwingC2SPacket;<init>(Lnet/minecraft/util/Hand;)V
      intermediary <init> Lnet/minecraft/class_2879;<init>(Lnet/minecraft/class_1268;)V
      official <init> Laji;<init>(Lbth;)V
    • HandSwingC2SPacket

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

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/c2s/play/HandSwingC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_56003 Lnet/minecraft/class_2879;method_56003(Lnet/minecraft/class_2540;)V
      official a Laji;a(Lws;)V
    • getPacketId

      public PacketType<HandSwingC2SPacket> 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/HandSwingC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
      intermediary method_12511 Lnet/minecraft/class_2879;method_12511(Lnet/minecraft/class_2792;)V
      official a Laji;a(Lahm;)V
    • getHand

      public Hand getHand()
      Mappings:
      Namespace Name Mixin selector
      named getHand Lnet/minecraft/network/packet/c2s/play/HandSwingC2SPacket;getHand()Lnet/minecraft/util/Hand;
      intermediary method_12512 Lnet/minecraft/class_2879;method_12512()Lnet/minecraft/class_1268;
      official b Laji;b()Lbth;