0x0B S0BPacketAnimation
Broadcasts entity animation (arm swing, damage, etc.) to nearby players.
Fields
| Field | Type | Description |
|---|---|---|
| entityId | VarInt | Entity ID |
| type | byte | 0=swing, 1=damage, 2=leaveBed, 3/eat, 4/critical, 5/magicCritical, 6/crouch, 7/uncrouch |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Entity ID | VarInt | |
| Animation | unsigned byte | 0=swing, 1=damage, 2=leaveBed, 3=eat, 4=critical, 5=magic, 6=crouch, 7=uncrouch |
MCP References
MCP
NetHandlerPlayClient.handleAnimation()Handler Interface
HND
INetHandlerPlayClientimplementation Implementation Cases
ESP
(Sigma 3.9)
Track entity animations (swing, damage, crit) for ESP effects and bot detection.
if (event.getPacket() instanceof S0BPacketAnimation) {
S0BPacketAnimation s0b = (S0BPacketAnimation) event.getPacket();
// type: 0=swing, 1=damage, 2=leaveBed, 3=eat, 4=crit, 5=magicCrit
}Tracers
(Sigma 3.9)
Track entity animations (swing, damage, crit) for ESP effects and bot detection.
if (event.getPacket() instanceof S0BPacketAnimation) {
S0BPacketAnimation s0b = (S0BPacketAnimation) event.getPacket();
// type: 0=swing, 1=damage, 2=leaveBed, 3=eat, 4=crit, 5=magicCrit
}AntiBot
(Sigma 3.9)
Track entity animations (swing, damage, crit) for ESP effects and bot detection.
if (event.getPacket() instanceof S0BPacketAnimation) {
S0BPacketAnimation s0b = (S0BPacketAnimation) event.getPacket();
// type: 0=swing, 1=damage, 2=leaveBed, 3=eat, 4=crit, 5=magicCrit
}