Class EntityAnimationS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.EntityAnimationS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class EntityAnimationS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket
intermediary net/minecraft/class_2616
official abq
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47898 Lnet/minecraft/class_2616;field_47898:Lnet/minecraft/class_9139;
      official a Labq;a:Lys;
    • SWING_MAIN_HAND

      public static final int SWING_MAIN_HAND
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SWING_MAIN_HAND Lnet/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket;SWING_MAIN_HAND:I
      intermediary field_33295 Lnet/minecraft/class_2616;field_33295:I
      official b Labq;b:I
    • WAKE_UP

      public static final int WAKE_UP
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named WAKE_UP Lnet/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket;WAKE_UP:I
      intermediary field_33297 Lnet/minecraft/class_2616;field_33297:I
      official c Labq;c:I
    • SWING_OFF_HAND

      public static final int SWING_OFF_HAND
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SWING_OFF_HAND Lnet/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket;SWING_OFF_HAND:I
      intermediary field_33298 Lnet/minecraft/class_2616;field_33298:I
      official d Labq;d:I
    • CRIT

      public static final int CRIT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named CRIT Lnet/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket;CRIT:I
      intermediary field_33299 Lnet/minecraft/class_2616;field_33299:I
      official e Labq;e:I
    • ENCHANTED_HIT

      public static final int ENCHANTED_HIT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named ENCHANTED_HIT Lnet/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket;ENCHANTED_HIT:I
      intermediary field_33300 Lnet/minecraft/class_2616;field_33300:I
      official f Labq;f:I
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket;id:I
      intermediary field_12029 Lnet/minecraft/class_2616;field_12029:I
      official g Labq;g:I
    • animationId

      private final int animationId
      Mappings:
      Namespace Name Mixin selector
      named animationId Lnet/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket;animationId:I
      intermediary field_12028 Lnet/minecraft/class_2616;field_12028:I
      official h Labq;h:I
  • Constructor Details

    • EntityAnimationS2CPacket

      public EntityAnimationS2CPacket(Entity entity, int animationId)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket;<init>(Lnet/minecraft/entity/Entity;I)V
      intermediary <init> Lnet/minecraft/class_2616;<init>(Lnet/minecraft/class_1297;I)V
      official <init> Labq;<init>(Lbsh;I)V
    • EntityAnimationS2CPacket

      private EntityAnimationS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2616;<init>(Lnet/minecraft/class_2540;)V
      official <init> Labq;<init>(Lvr;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55857 Lnet/minecraft/class_2616;method_55857(Lnet/minecraft/class_2540;)V
      official a Labq;a(Lvr;)V
    • getPacketId

      public PacketType<EntityAnimationS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientPlayPacketListener>
      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 Lzb;a()Lzd;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11268 Lnet/minecraft/class_2616;method_11268(Lnet/minecraft/class_2602;)V
      official a Labq;a(Labn;)V
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket;getId()I
      intermediary method_11269 Lnet/minecraft/class_2616;method_11269()I
      official b Labq;b()I
    • getAnimationId

      public int getAnimationId()
      Mappings:
      Namespace Name Mixin selector
      named getAnimationId Lnet/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket;getAnimationId()I
      intermediary method_11267 Lnet/minecraft/class_2616;method_11267()I
      official e Labq;e()I