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

Published 2026-06-18 · Updated 2026-10-14

playeranimation
Comprehensive 7/8

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.

Vanilla Source

C0APacketAnimation.java31 lines · MCP 1.8.9Original ↗
1
package net.minecraft.network.play.client;
2
3
import java.io.IOException;
4
import net.minecraft.network.Packet;
5
import net.minecraft.network.PacketBuffer;
6
import net.minecraft.network.play.INetHandlerPlayServer;
7
8
public class C0APacketAnimation implements Packet<INetHandlerPlayServer>
9
{
10
    /**
11
     * Reads the raw packet data from the data stream.
12
     */
13
    public void readPacketData(PacketBuffer buf) throws IOException
14
    {
15
    }
16
17
    /**
18
     * Writes the raw packet data to the data stream.
19
     */
20
    public void writePacketData(PacketBuffer buf) throws IOException
21
    {
22
    }
23
24
    /**
25
     * Passes this Packet on to the NetHandler for processing.
26
     */
27
    public void processPacket(INetHandlerPlayServer handler)
28
    {
29
        handler.handleAnimation(this);
30
    }
31
}

Deobfuscated MCP 1.8.9 source of C0APacketAnimation, fetched directly from Marcelektro/MavenMCP-1.8.9 (net/minecraft/network/play/client/C0APacketAnimation.java) at build time and verified present.

Deep Dive

Role in the protocol

The swing packet is the client's arm-swing notice to the server. C0APacketAnimation carries no payload: in 1.8.9 both readPacketData and writePacketData are no-ops, so the wire cost is a single packet id byte (0x0A). EntityPlayerSP.swingItem() fires it at the start of each swing cycle under the isSwingInProgress guard, and the server echoes the action to every tracked player as S0BPacketAnimation with animation id 0. Because the packet is unauthenticated action signaling, its only real content is timing: when it arrives and how often.

Vanilla handling

Server side, NetHandlerPlayServer.processAnimation calls markPlayerActive() then swingItem() on the EntityPlayerMP. The first resets the idle counter used by the player-list AFK kick logic; the second advances the entity's swing animation and broadcasts S0BPacketAnimation to all trackers. Client side, swingItem() sends the packet once per swing cycle, so one swing equals one packet in vanilla. Mining, attacking and block placement all route through the same swing; the attack itself is a separate C02PacketUseEntity.

Why clients touch it

Five distinct uses appear in the corpus. Scaffold modules send C0A after every onPlayerRightClick3d placement so the server sees a swing matching the block place (Memeware, Nekoware, Rise 5.99, Rise 6.x, Sigma, Tenacity). KillAura-family modules send it in place of swingItem() when the local animation must stay off (Spicy Killaura noSwing mode, Rise 5.99 Aura alwaysSwing). Stealer modules swing before opening chests in Nearby mode. Rise 6.x treats C0A as a swing state bit in BadPacketsComponent and sends it from velocity and flight modes to satisfy attack heuristics. Tenacity Crasher floods 2000 to 10000 C0A packets per motion tick. November Recode 2.0's Scaffold sends C0A when its swing setting is off; LiquidSense Dev's Scaffold and Tower do the same, and its MixinEntityPlayerSP rewrites swingItem to emit C0A under the NoSwing module.

Exploit surface

The packet is empty and the server broadcasts the swing to every tracker, so flooding multiplies server work per byte: Tenacity's Crasher pushes up to 10000 per tick to exhaust the server. Swing rate is also a heuristic input: anti-cheats pair C0A with C02PacketUseEntity to count real attacks, which is why velocity modes send C0A before attackEntity (GrimReduceVelocity). A spoofed swing is always safe: the packet carries no position, timestamp or sequence, so the server cannot verify it, only count it.

Server-Side Handling

processAnimation is two calls: markPlayerActive() resets the idle-tick counter that protects against AFK kicks, then swingItem() plays the arm animation and broadcasts S0BPacketAnimation to tracked players. There is no validation on the packet itself: no cooldown, no rate limit, no payload. Any count per tick is accepted and echoed.

Protocol Analysis

The class is a pure marker: readPacketData and writePacketData are no-ops, so a swing costs one VarInt id byte on the wire. The client sends it from EntityPlayerSP.swingItem() once per swing cycle, guarded by isSwingInProgress. The serverbound id 0x0A maps to the arm-swing animation id 0 in the S0BPacketAnimation broadcast. Timing is the only signal: anti-cheats derive swing rate and attack cadence from packet arrival, not from content.

Anti-Cheat Landscape

Attack anti-cheats count C0A arrivals relative to C02PacketUseEntity: swings without attacks are tolerated (mining, air swings), but bursts of swings with no C03 or C02 between them read as scaffold or autoclicker activity. Rise 6.x BadPacketsComponent explicitly tracks swing as a flag and resets it on the next C03PacketPlayer; other modules query that flag before sending spoofed actions. Flooding C0A trips server-side packet-rate limits long before any movement check.

implementation Implementation Cases

The empty swing packet. Scaffold, KillAura, Stealer and velocity modules inject C0A to keep server-side animation consistent with spoofed actions, Rise 6.x tracks it as a bad-packet state bit, and Tenacity's Crasher weaponizes its zero-payload cheapness by flooding thousands per tick.

Scaffold (Memeware 7.3, Nekoware v1 private, Rise 5.99, Rise 6.2.4, Rise 6.1.30, Sigma 4.11, Tenacity 6.0, November Recode 2.0, LiquidSense Dev)

Send a swing with each block placement so the server sees a human-looking arm action alongside the C08 place packet.

In the post phase of UpdateEvent, after onPlayerRightClick3d returns true, push a raw C0APacketAnimation into the send queue. The pre phase computes the placement target and rotations; the swing is fired only when the placement actually succeeded.

Source: Memeware 7.3, me/memewaredevs/client/module/player/Scaffold.java

Vanilla hook: UpdateEvent post phase; swing follows the placement call, not a packet event.
Harmless: it matches vanilla placing behavior (swing accompanies the block place). The flag surface is the placement rate, not the swing.
Variations: Nekoware's Scaffold is byte-for-byte the same pattern. Rise 5.99 sends via PacketUtil.sendPacket. Rise 6.x Scaffold sends at its line ~752 with PacketUtil.send. Sigma sends via sendQueue in two code paths (lines ~431 and ~1089). Tenacity ScaffoldModule sends at line ~201 via addToSendQueue. November Recode 2.0's ScaffoldModule sends C0A instead of swingItem() when its swing setting is off, after a successful onPlayerRightClick placement. LiquidSense Dev's Scaffold does the same at its placement path, and its Tower module follows the identical swing-or-C0A branch.
KillAura / Aura (Rise 5.99, Rise 6.2.4, Rise 6.1.30, Sigma 4.11, Spicy)

Swing server-side while controlling the local animation. Spicy's noSwing mode sends the packet instead of swingItem() so the arm does not visibly swing client-side.

On the attack timer elapse, if noSwing is enabled, push new C0APacketAnimation() into the send queue and then send C02PacketUseEntity ATTACK; otherwise call swingItem() locally. Rise 5.99 Aura sends C0A when alwaysSwing is on and the raytrace failed, faking swings at out-of-range targets. Rise 6.x KillAura tracks C0A in onPacketSend to set its swing state bit, consumed by auto-block delay logic.

Source: Spicy, info/spicyclient/modules/combat/Killaura.java

Vanilla hook: Attack timer in an update event; C0A is constructed directly, never via swingItem().
Swinging without a matching attack is legal (air swings), so the noSwing swap is low risk. The Rise 5.99 alwaysSwing variant adds swings at out-of-range targets, which inflates swing rate and can trip rate heuristics.
Variations: Rise 5.99 implements it as Aura with an alwaysSwing setting. Rise 6.x KillAura consumes C0A as a state signal. Sigma's Killaura imports C0A but its corpus hit is import-only. Spicy's memes modules (CsgoSpinbot, YawAndPitchSpoof and friends) match C0A in packet events to replay or rotate around swings.
Stealer (Memeware 7.3, Nekoware v1 private)

Chest stealing. Sends C0A before the right-click that opens a nearby chest, mimicking an interaction swing.

Nearby mode scans a 3-block radius each delay tick; for every chest not yet emptied, PacketUtil.sendPacket(new C0APacketAnimation()) fires, then onPlayerRightClick opens it. Emptied positions are cleared on S08PacketPlayerPosLook and on enable.

Source: Memeware 7.3, me/memewaredevs/client/module/player/Stealer.java

Vanilla hook: UpdateEvent; swing is sent via PacketUtil.sendPacket before onPlayerRightClick.
Invisible to anti-cheats; interaction order (swing then use) is exactly what a player produces.
Variations: Nekoware v1 private ships the same module with the same C0A send.
BadPacketsComponent (Rise 6.2.4, Rise 6.1.30)

A shared state tracker, not a user module: flags swing=true on any outgoing C0A and resets all flags on the next C03PacketPlayer. Other modules call BadPacketsComponent.bad() to decide whether spoofed packets are safe to send.

PacketSendEvent at VERY_HIGH priority sets one boolean per packet family: slot (C09), swing (C0A), attack (C02), block (C08/C07), inventory (C0E/C16 OPEN_INVENTORY/C0D). C03PacketPlayer clears everything. Modules gate spoofed sends on bad() so they never fire mid-sequence.

Source: Rise 6.2.4, Client-release2/Client/src/main/java/com/alan/clients/component/impl/player/BadPacketsComponent.java

Vanilla hook: PacketSendEvent (VERY_HIGH priority); reset on C03PacketPlayer.
The component is defensive: it prevents the client from emitting overlapping action packets that anti-cheats read as impossible sequences.
Variations: Identical in Rise 6.1.30 and 6.2.4. It is also the gate for the C0D close in WatchdogDisabler and the C0A send in GrimReduceVelocity.
Crasher (Tenacity 6.0)

Lag or kill the server by flooding zero-payload swings, exploiting the server's per-packet broadcast cost.

On every MotionEvent, loop 2000 iterations (Vanilla mode) or 10000 (Boom mode) pushing new C0APacketAnimation() into the send queue in a single tick.

Source: Tenacity 6.0, dev/tenacity/module/impl/exploit/Crasher.java

Vanilla hook: MotionEvent; packets are queued via addToSendQueue, not a packet event.
Trips packet-rate limits instantly on any server with them; this is a grief tool, not a bypass.
Variations: None in the corpus; Tenacity also lists C0A in its PacketUtil as one of the packet types that bypass the send queue filter.
GrimReduceVelocity (Rise 6.2.4, Rise 6.1.30)

Pair a swing with the velocity-reduction attack so the attack sequence looks legitimate to anti-cheats.

On PreUpdateEvent, if within 14 ticks of taking velocity and BadPacketsComponent.bad() is false, send C0APacketAnimation then call playerController.attackEntity on the nearest target. The swing precedes the attack so the server sees a clean swing-attack pair.

Source: Rise 6.2.4, Client-release2/Client/src/main/java/com/alan/clients/module/impl/combat/velocity/GrimReduceVelocity.java

Vanilla hook: PreUpdateEvent.
The swing makes the velocity attack read as a normal hit; the real flag surface is the velocity reduction itself, not the swing.
Variations: The same swing-before-action pattern appears across the Rise 6.x velocity and flight tree: AACVelocity, WatchdogPredictionVelocity, WatchdogLongJump, BlockFlight, UnKnownAC, AntiFireBall, Clutch. Rise 6.1.30's AntiFireBall uses PacketUtil.sendNoEvent instead of send.
Tower (LiquidSense Dev)

Swing for the tower placement: send C0A when the swing setting is off, mirroring the swingItem() path.

After onPlayerRightClick returns true, swing via swingItem() when the Swing setting is on, otherwise send C0A through the net handler. The C09 slot switch and the C04 packet-mode ladder are this file's other packet faces.

Source: LiquidSense Dev, net/ccbluex/liquidbounce/features/module/modules/world/Tower.java

Vanilla hook: MotionEvent placement path; C0A via getNetHandler().addToSendQueue.
Suppressing the local swing while the server still sees one is the NoSwing trick; the swing rate itself is normal because it tracks one placement per jump.
Variations: November's ScaffoldModule has the same swing-or-C0A branch; the C03 impl documents Tower's C04 ladder.
PacketSendEvent is the filter surface: Rise 5.99 AutoGap checks instanceof C0APacketAnimation to time eating, Freecam/FreeCam whitelist C0A in packet passthrough lists, and Spicy CsgoSpinbot and YawAndPitchSpoof match it in packet events. Tenacity PacketUtil counts C0A among packet types exempt from its send queue.
Older clients (Memeware, Nekoware, Sigma, Spicy, Tenacity) push via mc.thePlayer.sendQueue.addToSendQueue; Rise 5.99 uses PacketUtil.sendPacket; Rise 6.x uses PacketUtil.send and sendNoEvent. The Rise 6.1.30 AntiFireBall uses sendNoEvent where 6.2.4 uses send.

anticheat Anti-Cheat Checks

The arm animation packet is an empty swing signal and the only per-click client input anticheats see reliably, which makes it the primitive of every autoclicker check in the corpus. Statistical checks sample the number of movement packets between swings and flag low-variance or excessive click rates (Frequency AutoClickerA, FlopAC AutoClickerA, Hydro's ArmAnimationCheck family). It is also the swing half of swing-break correlation checks (Grim NoSwingBreak) that catch nuker clients breaking blocks without swinging.

AutoClickerA (Frequency) (ElevatedDev-Frequency, MinecraftUserHAN1110-FrequencyPlus)

Classic low-deviation autoclicker check over the arm animation stream.

Samples the number of flying packets between WrappedPlayInArmAnimation packets, keeping a deque of 20 movement gaps. Samples are only accepted when CPS is above 6.5, fewer than 4 movements separate clicks, and the player is neither digging nor placing. When 20 samples accumulate it computes the standard deviation and outlier count; a deviation below 2 with fewer than 2 outliers fails the check.

Detects: Autoclickers with mechanical timing, where the gap between swings has near-zero variance.

Source: ElevatedDev-Frequency, src/main/java/xyz/elevated/frequency/check/impl/autoclicker/AutoClickerA.java

Variations: AutoClickerB through G in the same package add delay patterns, outlier ratios and CPS caps; Degrade's AutoClickerA and Hydro's AutoClickerA/B/C follow the same statistical template.
NoSwingBreak (Grim) (GrimAnticheat-Grim)

Swing-break correlation: every block break must be accompanied by an arm animation.

Implements BlockBreakListener and PreViaPacketReceiveListener. It sets sentBreak on a non-cancelled break action, sets sentAnimation when the ANIMATION packet arrives, and on the next tick packet flags if a break was sent without an animation in between, then resets both flags.

Detects: Nuker and instamine clients that break blocks without sending swings, and killaura-style dig abuse.

Source: GrimAnticheat-Grim, common/src/main/java/ac/grim/grimac/checks/impl/breaking/NoSwingBreak.java

Variations: NCP's NoSwing blockbreak check and BetterAnticheat's NoSwingDigCheck implement the same idea on Bukkit events and packet handlers respectively.
ArmAnimationCheck base (Hydro) (Incognitolol-Hydro)

The shared base class of Hydro's whole autoclicker family: it converts the animation stream into click samples and CPS for per-check handlers.

On each ANIMATION packet, if the action tracker is not digging, it records the movement gap into a click sample queue, applying filters for combat-only checks (last attack within a minute), double-click variants, and the zero-movement case. At the configured sample size it computes CPS via MathUtil and delegates to the abstract handle method, then clears the queue. Flying packets increment the movement counter.

Detects: Feeds the AutoClickerA/B/C and double-click checks that flag constant CPS and double-click patterns from the sampled gaps.

Source: Incognitolol-Hydro, src/main/java/integral/studios/hydro/model/check/type/ArmAnimationCheck.java

Variations: Intave's click-pattern checks (Deviation, Entropy, Kurtosis, Repetitive) and Artemis AutoClickerA-M run the same sampling with statistical distributions instead of fixed thresholds.
AutoClickerA (FlopAC) (JTXOfficial-FlopAC)

CPS ceiling check: sustained clicking above 20 clicks per second is an autoclicker.

Counts movements between ARM_ANIMATION packets into a delay list when fewer than 10 movements separate them. At 30 samples it converts the delays to CPS via MathUtil and flags when CPS exceeds 20, then clears the list. The sample resets while the player is digging, holding a block or sword, or for the first 60 ticks after join, keeping the check on combat clicks.

Detects: Autoclickers clicking above 20 CPS, including fast-click modules that fake the animation rate.

Source: JTXOfficial-FlopAC, src/main/java/me/jtx/flopac/checks/combat/autoclicker/AutoClickerA.java

Variations: AutoClickerB through K in the same package add jitter, outlier and double-click checks; azure's AutoClickerA and LightAntiCheat's AutoClickerA use the same movement-gap template.

Wiki Cross-Reference

Zero payload in 1.8.9: read and write are no-ops, so the wire cost is just the 0x0A id.

Server marks the player active, plays the swing and broadcasts S0B to trackers.

Client fires once per swing cycle under the swing-in-progress guard; attack itself is a separate C02.

MCP 1.8.9 C0APacketAnimation implements Packet dispatching to INetHandlerPlayServer.handleAnimation; wire serde is readPacketData/writePacketData via .

1.8.9 callers: EntityPlayerSP.swingItem sends new C0APacketAnimation (line 307): https://github.com/Marcelektro/MavenMCP-1.8.9/blob/master/src/main/java/net/minecraft/client/entity/EntityPlayerSP.java

Cross-checked against minecraft.wiki (CC BY-SA 3.0) for 1.8.9 accuracy.

Vanilla Internals

Full 1.8.9 logic-class sources that send or handle this packet, stored verbatim.