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
official uo
intermediary net/minecraft/class_2616
named net/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket
  • Field Details

    • SWING_MAIN_HAND

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

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

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

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

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

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

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

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

    • EntityAnimationS2CPacket

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

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

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Luh;a(Lsd;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

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

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

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