Files
XeroAntiCheat/README.md
2026-03-15 03:59:30 -03:00

11 lines
800 B
Markdown

# XeroAntiCheat
Lightweight, accurate anti-cheat for Paper 1.21.x
## Latest Updates (v1.1.0)
- **ReachCheck**: Now measures distance to entity bounding box center instead of feet. Eliminates false negatives when attacking tall entities (horses, iron golems, withers). Also switched from `distance()` to `distanceSquared()` comparison, removing a `Math.sqrt()` from the hot path.
- **AutoClickerCheck**: `checkPattern()` rewritten with zero-allocation two-pass iterator approach. Previously allocated two `ArrayList` objects on every combat click.
- **TimerCheck**: Removed redundant blink detection from `check()` method. Blink detection is fully handled by the 5-tick scheduled task. `setLastMovePacketTime()` retained to feed the task.
- **KillAuraCheck**: Removed unused `EntityEffect` import.