0x0A C0APacketAnimation

Player swings their arm (left click or server-side swing). Empty packet with no payload.

Serverbound (Client → Server) · PLAY · net/minecraft/network/play/client/C0APacketAnimation.java
playeranimation

Wire Encoding

FieldTypeNotes
No payloadCompletely empty packet

MCP References

MCPNetHandlerPlayServer.processAnimation()

Handler Interface

HNDINetHandlerPlayServer

Notes

When the server receives this, it broadcasts S0BPacketAnimation to nearby players. The empty packet just notifies the server of the swing. Client-side swings (swingItem()) are purely local and don't send this packet.

implementation Implementation Cases

NoSwing (Gugustus)

Cancel or fake swing animation. NoSwing cancels the arm swing packet.

Vanilla hook: EventSendPacket
Animation (Gugustus)

Cancel or fake swing animation. NoSwing cancels the arm swing packet.

Vanilla hook: EventSendPacket
← Back to all packets