AutoAttack Updated is an unofficial fork of AutoAttack by Vin35, updated for Minecraft 26.1.x (Fabric).
Auto Attack makes it so that holding the attack button autoswings the sword, similar to the combat snapshots.
Features:
- Hold the attack button to swing automatically (respects the attack cooldown)
- Attack entities through non-solid blocks such as grass (like the CleanCut mod)
- Prevent hitting blocks while holding a sword (or any tool), toggleable with a keybind (default: H)
- Auto-release fully charged bows, crossbows and tridents
- AFK auto-attack mode, toggleable with a keybind (default: K)
- Configurable in-game via MidnightLib (bundled)
Requires Fabric Loader 0.19.3+ and Fabric API. Client-side only.
All credit for the original mod goes to Vin35 (https://github.com/vin350/AutoAttack).
This fork is maintained at https://github.com/warabin55/AutoAttack under the MIT license.

