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 abx
  • 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 Labx;a:Lyx;
    • 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 Labx;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 Labx;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 Labx;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 Labx;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 Labx;f:I
    • entityId

      private final int entityId
      Mappings:
      Namespace Name Mixin selector
      named entityId Lnet/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket;entityId:I
      intermediary field_12029 Lnet/minecraft/class_2616;field_12029:I
      official g Labx;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 Labx;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> Labx;<init>(Lbsr;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> Labx;<init>(Lvw;)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 Labx;a(Lvw;)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 Lzg;a()Lzi;
    • 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 Labx;a(Labu;)V
    • getEntityId

      public int getEntityId()
      Mappings:
      Namespace Name Mixin selector
      named getEntityId Lnet/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket;getEntityId()I
      intermediary method_11269 Lnet/minecraft/class_2616;method_11269()I
      official b Labx;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 Labx;e()I