net.minecraft.network.protocol.game

public class ClientboundAnimatePacket

implements Packet<ClientGamePacketListener>

acu
net.minecraft.network.protocol.game.ClientboundAnimatePacket
net.minecraft.class_2616
net.minecraft.network.packet.s2c.play.EntityAnimationS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutAnimation

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundAnimatePacket>
a
STREAM_CODEC
field_47898
CODEC
public static final int
b
SWING_MAIN_HAND
field_33295
SWING_MAIN_HAND
public static final int
c
WAKE_UP
field_33297
WAKE_UP
public static final int
d
SWING_OFF_HAND
field_33298
SWING_OFF_HAND
public static final int
e
CRITICAL_HIT
field_33299
CRIT
public static final int
f
MAGIC_CRITICAL_HIT
field_33300
ENCHANTED_HIT
private final int
g
id
field_12029
entityId
private final int
h
action
field_12028
animationId

Constructor summary

ModifierConstructor
public (Entity entity, int animationId)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_55857(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundAnimatePacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_11268(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
b()
getId()
method_11269()
getEntityId()
public int
e()
getAction()
method_11267()
getAnimationId()