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 acl
  • 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 Lacl;a:Lzn;
    • 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 Lacl;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 Lacl;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 Lacl;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 Lacl;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 Lacl;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 Lacl;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 Lacl;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> Lacl;<init>(Lbsw;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> Lacl;<init>(Lwm;)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 Lacl;a(Lwm;)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 Lzw;a()Lzy;
    • 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 Lacl;a(Laci;)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 Lacl;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 Lacl;e()I