Auto Attack
by JohnAdept
With Auto Attack installed, a player standing at a mob grinder or farm can leave the game running while attacks are sent automatically to mobs in reach and under the crosshair.
What it does
The mod sends attacks to any mob that is in reach and in the crosshair, at timed intervals chosen to maximize damage. It keeps working while the Minecraft window is minimized, so an AFK player can keep a grinder running. In Rotation Mode the aim swings to the left and then to the right by a configured angle, 30 degrees unless changed, and comes back to the middle, which lets the attack reach mobs across a broader arc. The sweep speed, the angle and an auto-align option can all be adjusted.
Weapon durability protection stops attacks once a weapon reaches a configured threshold, so the tool is not used up by the automation. Passive mobs such as villagers and sheep are excluded unless a separate option enables them. The mod cannot attack players. Its author warns that using it on a multiplayer server may be treated as cheating.
Auto Attack is a client-side mod for Fabric and NeoForge, built for 1.21 – 26.3 and requiring Fabric API on Fabric. Only the client needs it, so it works in single-player, Multiplayer and LAN games. Its license is the MIT License, and the code is open source with a public source repository and issue tracker.
Key features
Timed attacks
Attacks are timed to deal the most damage each time the weapon is ready.
Rotation Mode
Sweeps the aim by a configurable angle so mobs across a wider area are hit.
Durability threshold
Attacks stop once the weapon's durability falls to a set threshold.
Master switch
A single option turns the whole mod on or off without removing it.
Passive mob option
An option decides whether passive mobs such as villagers and sheep are attacked.
Configuration
Settings are edited in the in-game menu or by changing the config JSON file directly.
Gallery
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x10 of 10 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Optional 2
Use cases
Who it’s for: Players who run mob grinders or farms and want attacks to continue without input, on a single-player world or a server where the mod is permitted.
How it compares
AFK Auto Sleep is a client-side mod for Fabric and NeoForge covering 1.21 – 1.21.10, under the MIT License and open source. Auto Clicker is a client-side Fabric mod for 1.21.4 – 26.3, also MIT and open source. Toro's Auto Mine is a client-side Fabric mod for 1.18.2 – 26.3 under All rights reserved, so its code is not open source.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Auto Attack | Fabric and NeoForge | 1.21 – 26.3 | Client-side only | 2026-10-08 |
| AFK Auto Sleep | Fabric and NeoForge | 1.21 – 1.21.10 | Client-side only | 2025-10-14 |
| Auto Clicker | Fabric | 1.21.4 – 26.3 | Client-side only | 2026-10-07 |
| Toro's Auto Mine | Fabric | 1.18.2 – 26.3 | Client-side only | 2026-10-15 |
Questions
Does Auto Attack need Fabric API?
Does Auto Attack have to be installed on the server?
Can the in-game settings be used without Cloth Config API?
In the catalog
Auto Attack is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 8,071 mods support Minecraft 26.3.
More from JohnAdept
Similar mods
What the author says
Need to keep your mob grinder going while you grab a snack? Auto Attack automates your attacks. Automatically hits mobs in reach and in your crosshair.
Official listing
- Modrinth page
- modrinth.com/mod/auto-attack
- Owner
- JohnAdept
- Published
- 2024-07-14
- Updated on Modrinth
- 2026-10-08
- Facts verified
- 2026-10-15
