0x02 C02PacketUseEntity

Player interacts with (attacks or right-clicks) an entity.

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

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

entityplayerinteractattackcombat
Comprehensive 8/8

Fields

FieldTypeDescription
entityIdVarIntTarget entity ID
actionEnumINTERACT, ATTACK, or INTERACT_AT
hitVec(float,float,float)Target position on the entity (for INTERACT_AT)

Wire Encoding

FieldTypeNotes
Entity IDVarInt
TypeVarInt Enum0=INTERACT, 1=ATTACK, 2=INTERACT_AT
Hit X (if INTERACT_AT)float
Hit Y (if INTERACT_AT)float
Hit Z (if INTERACT_AT)float

MCP References

MCPNetHandlerPlayServer.processUseEntity()

Handler Interface

HNDINetHandlerPlayServer

Notes

ATTACK sends damage to the target entity. INTERACT opens inventory/rides. INTERACT_AT is for hitting specific entity hitboxes (like Armor Stand limbs).

Vanilla Source

C02PacketUseEntity.java92 lines · MCP 1.8.9Original ↗
1
package net.minecraft.network.play.client;
2
3
import java.io.IOException;
4
import net.minecraft.entity.Entity;
5
import net.minecraft.network.Packet;
6
import net.minecraft.network.PacketBuffer;
7
import net.minecraft.network.play.INetHandlerPlayServer;
8
import net.minecraft.util.Vec3;
9
import net.minecraft.world.World;
10
11
public class C02PacketUseEntity implements Packet<INetHandlerPlayServer>
12
{
13
    private int entityId;
14
    private C02PacketUseEntity.Action action;
15
    private Vec3 hitVec;
16
17
    public C02PacketUseEntity()
18
    {
19
    }
20
21
    public C02PacketUseEntity(Entity entity, C02PacketUseEntity.Action action)
22
    {
23
        this.entityId = entity.getEntityId();
24
        this.action = action;
25
    }
26
27
    public C02PacketUseEntity(Entity entity, Vec3 hitVec)
28
    {
29
        this(entity, C02PacketUseEntity.Action.INTERACT_AT);
30
        this.hitVec = hitVec;
31
    }
32
33
    /**
34
     * Reads the raw packet data from the data stream.
35
     */
36
    public void readPacketData(PacketBuffer buf) throws IOException
37
    {
38
        this.entityId = buf.readVarIntFromBuffer();
39
        this.action = (C02PacketUseEntity.Action)buf.readEnumValue(C02PacketUseEntity.Action.class);
40
41
        if (this.action == C02PacketUseEntity.Action.INTERACT_AT)
42
        {
43
            this.hitVec = new Vec3((double)buf.readFloat(), (double)buf.readFloat(), (double)buf.readFloat());
44
        }
45
    }
46
47
    /**
48
     * Writes the raw packet data to the data stream.
49
     */
50
    public void writePacketData(PacketBuffer buf) throws IOException
51
    {
52
        buf.writeVarIntToBuffer(this.entityId);
53
        buf.writeEnumValue(this.action);
54
55
        if (this.action == C02PacketUseEntity.Action.INTERACT_AT)
56
        {
57
            buf.writeFloat((float)this.hitVec.xCoord);
58
            buf.writeFloat((float)this.hitVec.yCoord);
59
            buf.writeFloat((float)this.hitVec.zCoord);
60
        }
61
    }
62
63
    /**
64
     * Passes this Packet on to the NetHandler for processing.
65
     */
66
    public void processPacket(INetHandlerPlayServer handler)
67
    {
68
        handler.processUseEntity(this);
69
    }
70
71
    public Entity getEntityFromWorld(World worldIn)
72
    {
73
        return worldIn.getEntityByID(this.entityId);
74
    }
75
76
    public C02PacketUseEntity.Action getAction()
77
    {
78
        return this.action;
79
    }
80
81
    public Vec3 getHitVec()
82
    {
83
        return this.hitVec;
84
    }
85
86
    public static enum Action
87
    {
88
        INTERACT,
89
        ATTACK,
90
        INTERACT_AT;
91
    }
92
}

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

Deep Dive

Role in the protocol

C02PacketUseEntity is the only serverbound channel in 1.8.9 by which the client tells the server it interacted with an entity. The wire form is a VarInt entityId, a VarInt enum action (INTERACT, ATTACK, INTERACT_AT) and, for INTERACT_AT only, three floats for the hit position on the target. Every attack, mount, item-frame edit and armor-stand manipulation goes through it. Because the packet carries no position, rotation or timestamp, the server validates it purely against its own copy of player and entity state, which is exactly what makes it trivial to spoof from a modified client.

Vanilla handling

NetHandlerPlayServer.processUseEntity resolves the target from the packet's entity id, then enforces a distance gate: squared distance must be under 36.0 (6 blocks) when the target is visible to the player, or 9.0 (3 blocks) when it is not. INTERACT routes to playerEntity.interactWith, INTERACT_AT to the per-vector entity handler, and ATTACK first kicks the player for targeting EntityItem, EntityXPOrb, EntityArrow or self ("Attempting to attack an invalid entity"), then calls attackTargetEntityWithCurrentItem. There is no rate limit and no attack-cooldown validation; the 1.8.9 swing cooldown is enforced only client-side in PlayerControllerMP and EntityPlayerSP.

Why clients touch it

All eight clients ship combat modules that live on this packet. Aura and KillAura variants send ATTACK in every client: Memeware and Nekoware split Single/Multi/Hypixel/Switch auras, Rise 5.99 and 6.x use Aura and KillAura, Sigma, Spicy and Tenacity each have Killaura modules. Criticals exists in Memeware, Nekoware, Rise 5.99, Sigma and Spicy, injecting C04 offset packets before the ATTACK. TPAura and TeleportAura in Memeware, Rise 5.99, Rise 6.x and Tenacity walk the server-side player to the target before attacking. ComboOneHit (Rise 5.99 and 6.x) floods ATTACK packets, and Spicy's TriggerBot and Wtap round out the combat surface. Freecam (Rise), Infinite (Rise 5.99), WorldGuardRegen, GodMode and AntiFireBall (Rise 6.x), PlayerHacks (Rise 5.99) and Sigma's AntiFreeze all filter or forge C02 as a secondary effect. The two new research clients extend the same surface. November Recode 2.0 ships KillAuraModule and WTapModule on its EventPacket bus: the aura queues C02 ATTACK directly when Keep Sprint is enabled and filters outgoing ATTACK packets in its WATCHDOG autoblock mode, and the wtap module reacts to outgoing attacks with sprint resets. LiquidSense Dev contributes the Hypixel movement family (HYTFly, HYTHighJump, HYTLongJump, HYTRun) which cancels and buffers C02 inside a blink window, plus the LiquidBounce Blink and Fly Zoom modes that hold C02 and release it with the rest of the buffer.

Exploit surface

The server trusts three things: the entity id, the distance, and the action. Attack rate is unbounded, so ComboOneHit's 50-1000 packet bursts are legal wire traffic. INTERACT_AT's hitVec is client-chosen and unvalidated, which is why Sigma and Spicy Killaura spam INTERACT_AT with random hitVecs plus INTERACT as a disabler sequence, and why Rise 5.99's BedwarsTP can mount entities from outside reach. Friend protection is purely a client courtesy: Rise 5.99's Aura consults its friends list, Sigma's Killaura checks FriendManager.isFriend, Tenacity's KillAuraModule checks FriendCommand.isFriend, but nothing server-side knows about friends, so a client that skips the check can hit anyone. Anti-cheats counter with reach math, attack-rate caps, rotation-motion correlation, and ghost-interact detection.

Server-Side Handling

processUseEntity runs on the main thread via PacketThreadUtil and calls markPlayerActive, which resets the idle-kick timer. The entity lookup uses packetIn.getEntityFromWorld(worldServerForDimension(player.dimension)). Distance is checked as squared distance: 36.0 when canEntityBeSeen passes, 9.0 otherwise, with no horizontal/vertical split and no per-axis clamp. For ATTACK the invalid-target kick fires before any damage is dealt. There is no vanilla per-tick attack limit: the swing cooldown and the 20-tick hit cooldown live in client-side code (PlayerControllerMP.attackEntity and EntityPlayer.attackEntityAsMob), so a forged client can emit arbitrarily many attacks per tick and the server will process them all.

Protocol Analysis

The action is serialized with readEnumValue/writeEnumValue, a VarInt ordinal (0=INTERACT, 1=ATTACK, 2=INTERACT_AT). INTERACT_AT adds three floats read after the enum; the other two actions carry no payload, so the packet length varies by action. The Entity-based constructors resolve the entity id at construction time (entity.getEntityId), so modules that queue C02 after the target dies or unloads send a stale id that the server resolves to null and silently ignores. The Vec3 constructor always selects INTERACT_AT. The packet is registered at 0x02 in the SERVERBOUND play state table.

Anti-Cheat Landscape

NCP flags reach by comparing the server-side player position against the target at ATTACK time and tracks hit rates per second; ComboOneHit-style floods are its primary target. Rotation-aware checks flag attacks whose preceding C05/C06 rotation does not point at the target, which is why Memeware-style auras that send ATTACK without a rotation packet get flagged on newer anti-cheats while rotation-injecting auras pass. The INTERACT_AT plus INTERACT disabler sequence (Sigma, Spicy) is detected by anti-cheats that count ghost interacts. TPAura is trivially caught by movement checks, because the unconfirmed C04 walk trips the vanilla 'moved too quickly' math when the path is skipped. Friend checks are invisible to the server and exist purely as client-side target filtering.

implementation Implementation Cases

The combat funnel of 1.8.9: a VarInt entity id and an action enum are all the server needs to apply damage. KillAura family targets and attacks, Criticals injects C04 fall arcs ahead of the ATTACK, TPAura teleports the server-side player to the target first, ComboOneHit floods the channel, and TriggerBot/Wtap automate the last bits of the attack loop. Friend protection exists only inside the aura target filters, never as a standalone module, across the 8 clients.

Aura / KillAura (Memeware 7.3, Nekoware v1 private, Rise 5.99, Rise 6.1.30, Rise 6.2.4, Sigma 4.11, Spicy, Tenacity 6.0)

Select a target within reach and emit C02 ATTACK packets at a controlled rate, with optional autoblock around the attack.

Target selection from client-side entity lists (CombatUtil.getTarget in Memeware, PlayerUtil.getEntities in Rise), aim injected into the motion event so the outgoing C05/C06 carries the rotation, then ATTACK fired through the client's packet path. Memeware's SingleAura alternates C07 RELEASE_USE_ITEM and C08 placement at a fake BlockPos to block between attacks. Friend filtering happens inside target selection: Rise 5.99 checks its friends list, Sigma checks FriendManager.isFriend, Tenacity checks FriendCommand.isFriend.

Source: Memeware 7.3, me/memewaredevs/client/module/combat/aura/SingleAura.java

Vanilla hook: UpdateEvent (aim + attack trigger); the attack itself goes through PacketUtil.sendPacket so PacketOutEvent listeners see it.
Reach is measured server-side, so range settings above 3 blocks are the primary flag; auras that skip rotation injection fail rotation checks on NCP/Verus-class anti-cheats. The autoblock C07/C08 pair around each attack is a visible packet pattern.
Variations: Nekoware splits Single, Multi and Switch auras, all sending ATTACK via sendQueue or PacketUtil. Rise 5.99's Aura is a single 1100+ line module with PacketUtil.sendPacket, and its friends list gates targets at attack time. Rise 6.x KillAura uses PacketUtil.send and includes the InteractEntityFix component for ViaVersion. Sigma and Spicy Killaura both add the INTERACT_AT random-hitVec plus INTERACT disabler sequence after the attack. Tenacity KillAuraModule uses mc.getNetHandler().addToSendQueue.
Criticals (Memeware 7.3, Nekoware v1 private, Rise 5.99, Sigma 4.11, Spicy)

Force every melee hit to register as a critical by injecting C04 position packets that recreate the falling-jump arc immediately before the ATTACK.

A PacketOutEvent handler waits for C02 with ACTION ATTACK, then queues C04 packets at y+0.1232225 (onGround false), y+1.0554E-9 (false) and y (true), rate-limited by a 320ms timer so the burst cannot fire twice inside one attack. The server applies fall-damage math to the reported arc, so the attack lands as a crit. Ground-spoof variants instead mutate the motion event's Y and ground flag with a decaying 0.001 offset so every movement packet looks like a fresh fall.

Source: Memeware 7.3, me/memewaredevs/client/module/combat/Criticals.java

Vanilla hook: PacketOutEvent on outgoing C02 ATTACK; UpdateEvent for the ground-spoof mode.
Packet criticals are detected by checking that the vertical offsets match the jump parabola and that the attack follows the offset burst within a tick window; the 0.1232225 value is a fingerprint shared across clients. Ground-spoof criticals leave a visible Y oscillation but pass offset-matching checks.
Variations: Nekoware's Criticals is the same file lineage with identical offsets. Rise 5.99 sends C04 at y+0.0625 and y+0.0 through PacketUtil.sendPacket. Sigma sends C06PacketPlayerPosLook offset pairs with a 1E-11 micro-offset on the second leg. Spicy sends C04 with randomized per-axis offsets and a RandomY term.
TPAura / TeleportAura (Memeware 7.3, Rise 5.99, Rise 6.1.30, Rise 6.2.4, Tenacity 6.0)

Attack entities far beyond reach by teleporting the server-side player to the target with a C04 path, attacking, and walking back.

On PreMotionEvent, pick a target up to 120 blocks away, compute a path with a pathfinder, replay it as C04 position packets via sendPacketWithoutEvent (bypassing the event bus), fire the C02 ATTACK, then reverse the path. Because a raw C02 send does not fire the client's AttackEvent, the module calls the event manually and only attacks if it is not cancelled. Multi mode walks a path per target. mc.timer.timerSpeed accelerates the whole cycle.

Source: Rise 5.99, dev/rise/module/impl/combat/TPAura.java

Vanilla hook: PreMotionEvent for the attack cycle; AttackEvent called manually before the C02 send.
The unconfirmed C04 walk is the tell: skipping the path or sending it too fast trips the vanilla 'moved too quickly' check, and position-disabler anti-cheats flag the round trip. Freecam interaction (attacking from the freecam origin) adds a second, larger anomaly.
Variations: Memeware's TPAura sends ATTACK directly via sendQueue with no pathfinding. Rise 6.x TeleportAura uses PacketUtil.sendNoEvent with one position packet per leg and no timer boost. Tenacity's TPAura uses addToSendQueue with a target walk and C02 ATTACK.
ComboOneHit (Rise 5.99, Rise 6.1.30, Rise 6.2.4)

Kill in the Combo gamemode by sending dozens to thousands of ATTACK packets per swing.

onAttackEvent fires after a normal attack and loops (int)packets.getValue() times (50 default, 1000 max), each iteration sending C02 ATTACK via sendPacketWithoutEvent so the flood never re-triggers attack listeners. The server processes every packet as a valid hit because vanilla applies no per-tick attack cap.

Source: Rise 5.99, dev/rise/module/impl/combat/ComboOneHit.java

Vanilla hook: AttackEvent.
Pure rate abuse: any anti-cheat that caps hits-per-second or damage-per-tick kills it. It survives only on servers with no attack-rate validation, which is the Combo gamemode's defining weakness.
Variations: Rise 6.1.30 and 6.2.4 ship the identical module with PacketUtil.send, the 6.x equivalent of sendPacketWithoutEvent.
TriggerBot / Wtap (Spicy, November Recode 2.0)

Attack whatever the crosshair is on the instant the client raytrace hits an entity, and automate the W-tap sprint reset around attacks.

TriggerBot checks mc.objectMouseOver on every EventMotion; when the raytrace type is ENTITY and the APS timer elapsed, it swings and queues C02 ATTACK via addToSendQueue. Wtap hooks EventSendPacket, and on any outgoing ATTACK with food above 6 queues STOP_SPRINTING then START_SPRINTING (C0B) so the server-side sprint reset happens around every hit, recreating the manual W-tap that resets the attack cooldown in 1.8 combat.

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

Vanilla hook: EventMotion for TriggerBot; EventSendPacket on C02 for Wtap.
TriggerBot is the hardest attack method to flag because it fires only when the player's own crosshair is on the target and carries no rotation anomaly; the APS cap is the only server-visible pattern. Wtap's C0B stop/start pair is a normal vanilla sequence and is invisible to anti-cheats.
Variations: No other client in the corpus ships a standalone TriggerBot for this packet; Spicy's AutoClicker is the same idea driven by mouse state and held-item checks, and its Killaura reuses the C02 path with full rotation injection. November Recode 2.0 ships WTapModule, a standalone sprint-reset module with LEGIT and SILENT modes: SILENT queues C0B STOP_SPRINTING then START_SPRINTING pairs on each outgoing C02 ATTACK aimed at a living target (gated by an attack-delay timer), and LEGIT releases the sprint key and re-presses it after a hold delay.
KillAuraModule (November Recode) (November Recode 2.0)

November Recode's aura: emit C02 ATTACK through the send queue when Keep Sprint is on, or through the vanilla attackEntity path otherwise, and filter outgoing ATTACK packets while the Watchdog autoblock sequence is armed.

On EventWalkingUpdate PRE, once the CPS timer elapses, the module swings and either queues C02 ATTACK directly (keepSprint setting) or calls playerController.attackEntity so the vanilla path emits the packet. The EventPacket.Out listener then inspects every outgoing C02: under the WATCHDOG autoblock mode an ATTACK aimed at a living target whose hurtTime is above 2 is cancelled, because the autoblock sequence is still replaying the block state. The same listener also filters outgoing C07 RELEASE_USE_ITEM releases during VANILLA and WATCHDOG autoblock. Rotation is spoofed through the rotation pipeline with HIGH priority 5 ticks before the attack.

Source: November Recode 2.0, feature/module/impl/combat/KillAuraModule.java

Vanilla hook: EventWalkingUpdate (attack trigger), EventPacket.Out (C02 and C07 filter), EventRenderItemUse (block action override).
The keepSprint path queues C02 straight into the send queue without the player controller's swing bookkeeping, so the server sees raw ATTACK packets with no preceding C0A in that mode; the WATCHDOG hurtTime-above-2 cancel drops the hit silently, which is the point of that autoblock mode.
Variations: November is the only new client with an aura module in this corpus. It splits attack emission between a raw C02 queue and the vanilla attackEntity path, whereas the eight classic clients always emit C02 through their own packet utils or the send queue. Its Lua scripting wrapper also maps C02 to id 0x02.
HYTFly / HYTHighJump / HYTLongJump / HYTRun (packet cancel) (LiquidSense Dev)

Hypixel movement bypasses that cancel outgoing C02 ATTACK packets (together with C04, C06, C0A, C0B and C08) during their flight window, buffer them, and replay them when the window closes.

Each module runs a doAsFly/stage state machine: while active, the PacketEvent handler cancels every C03 variant plus C02, C0A, C0B and C08 and appends them to a list; a stage counter counts the buffered packets, and once the threshold is reached the list is flushed back through addToSendQueue. HYTFly flushes when stage reaches 1, HYTHighJump, HYTLongJump and HYTRun flush on ground contact or disable. The C02 cancel means an attack sent during the flight window is held until the movement stream resumes.

Source: LiquidSense Dev, me/AquaVit/liquidSense/modules/movement/HYTFly.java

Vanilla hook: PacketEvent (cancel + buffer), UpdateEvent (flush).
The buffered replay of C02 after a movement gap looks like a delayed attack to the server; the modules are Hypixel-specific and the cancel list is what keeps the flight phase free of stateful packets.
Variations: HYTFly (116 lines) is the representative; HYTHighJump, HYTLongJump and HYTRun use the same cancel-and-buffer list with their own stage thresholds and flush triggers. HYTRun also emits C07 RELEASE_USE_ITEM for its no-slow leg, covered in the C07 writeup.
Blink (attack release) (LiquidSense Dev)

Suspend all movement and interaction packets including C02 while blinking, then release them in order on disable or on the pulse timer.

The PacketEvent handler cancels C03, C04, C06, C08, C0A, C0B and C02 and pushes them onto a LinkedBlockingQueue; onDisable or the pulse timer drains the queue through NetworkManager.sendPacket. A fake player (entity id -1337) keeps the client-side world consistent while the real position is frozen. The LiquidBounce Fly module's Zoom mode extends this: when blinkAttack is on and the buffered list is at least blinkAttackPacket long, a C02 in the stream triggers an early flush of the whole list plus a C13 ability declaration.

Source: LiquidSense Dev, net/ccbluex/liquidbounce/features/module/modules/player/Blink.java

Vanilla hook: PacketEvent (cancel), UpdateEvent (pulse), onDisable (release).
Holding C02 inside the blink queue means an attack emitted during the blink lands only after release; the release burst replays packets in order, which keeps the server's event ordering consistent.
Variations: The LiquidBounce Fly module's Zoom mode (960 lines) reuses the same buffer with the blinkAttack early-flush; HYTRun and HYTFly copy the same cancel list for their Hypixel modes.
The universal hook is the outgoing-packet event (PacketOutEvent, PacketSendEvent, EventSendPacket) matched against C02PacketUseEntity, usually by getAction() == ATTACK. Attack triggers also hang off UpdateEvent/PreMotionEvent (aim and swing) and Rise's dedicated AttackEvent, which Criticals and ComboOneHit consume.
Memeware, Nekoware, Sigma, Spicy and Tenacity queue C02 through mc.thePlayer.sendQueue.addToSendQueue. Rise 5.99 uses PacketUtil.sendPacket (event-routed) or PacketUtil.sendPacketWithoutEvent (bus-bypassing). Rise 6.x uses PacketUtil.send and PacketUtil.sendNoEvent. Sigma and Spicy also have a sendPacketNoEvent path through NetworkManager used by the INTERACT_AT disabler sequences. November Recode 2.0 queues C02 through mc.thePlayer.sendQueue.addToSendQueue and intercepts it on EventPacket.Out; its Lua scripting wrapper maps C02 to id 0x02. LiquidSense Dev cancels and buffers C02 inside PacketEvent handlers (HYTFly family, Blink, Fly Zoom) and replays through addToSendQueue or NetworkManager.sendPacket.

anticheat Anti-Cheat Checks

Server-side combat anticheats see the use-entity packet as the attack trigger. The 50-cloned-anticheat corpus splits into two families: modern simulation checks (Grim Reach, Kauri Hitbox, Artemis Reach2) that rebuild the client's view of the world and measure the exact attack vector, and classic statistical checks (Frequency KillAura, NCP fight.reach, AutoEye Reach) that score the attack angle, hitbox distance, and packet rhythm. The use-entity packet carries the entity id and action, so every killaura and reach check in the corpus keys off it.

Reach (Grim) (GrimAnticheat-Grim)

The reference modern reach check: verifies the attack vector against a simulated copy of the client's world state.

Listens to the ATTACK packet (WrapperPlayClientAttack) and the INTERACT_ENTITY packet, then computes the distance from the player's interpolated eye position to the entity's exact collision box. Attack range is taken from the held item's attack range attribute, and the threshold is 3.0 + reach attribute with buffer. It cancels impossible hits outright and runs a cancel buffer for 4 hits after a flagged reach attack.

Detects: Reach cheats, killaura with extended range, hitbox-based auras, and any client that fakes attacks from beyond attribute reach.

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

Variations: Kauri (funkemunky-KauriV3) Hitbox check and Artemis Reach2 use the same simulation model; classic anticheats (NCP, AutoEye) instead compare the packet to the server's own entity positions with a tolerance.
UseEntity adapter + fight.reach (NoCheatPlus) (Updated-NoCheatPlus-NoCheatPlus)

Classic 1.8 ProtocolLib adapter that forwards the use-entity packet into the fight checks.

Wraps the NMS packet through ProtocolLib (with legacy reflection fallback for the action enum on 1.7 servers), builds a UseEntityData wrapper, and dispatches it to the fight reach, angle, direction, noswing and attackfrequency checks. The reach check measures the distance from the player's eye to the entity at attack time against the 3.0 block baseline plus the entity's hitbox radius.

Detects: Reach, killaura angle/direction, attack frequency, no-swing attacks.

Source: Updated-NoCheatPlus-NoCheatPlus, NCPCompatProtocolLib/src/main/java/fr/neatmonster/nocheatplus/checks/net/protocollib/UseEntityAdapter.java

Variations: AutoEye (heirteir-AutoEye) uses its own PacketPlayInUseEntity wrapper; Frequency and Degrade use WrappedPlayInUseEntity; SafeguardAC has a dedicated UseEntityPacketHandler.
KillAuraA (Frequency) (ElevatedDev-Frequency, MinecraftUserHAN1110-FrequencyPlus, splatboydev-Degrade)

Classic 1.8 statistical killaura check over the use-entity stream.

Reads the wrapped use-entity packet on every attack, tracks target rotations, and flags when the player attacks entities outside their field of view or with impossible turn patterns. Small, event-driven, typical of the 1.8 generation of anticheats.

Detects: Killaura that attacks without looking at the target, rotation-based aura patterns.

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

Variations: ThotPatrol KillAuraA, Azure AuraA/AuraB, Hydro KillAuraA and MC-Jinky-BasicAntiCheat KillAuraCheck are the same pattern on different event buses.

Wiki Cross-Reference

Middle-click pick-block in creative mode is resolved client-side and sent as a creative inventory action rather than as an entity interaction.

MCP 1.8.9 C02PacketUseEntity implements Packet dispatching to INetHandlerPlayServer.processUseEntity; wire serde is readPacketData/writePacketData via readEnumValue, readFloat, readVarIntFromBuffer.

1.8.9 callers: PlayerControllerMP.attackEntity sends new C02PacketUseEntity (line 498): https://github.com/Marcelektro/MavenMCP-1.8.9/blob/master/src/main/java/net/minecraft/client/multiplayer/PlayerControllerMP.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.