ModsFinder

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.

FabricNeoForgeClient-side onlyMIT LicenseOpen source1.21 – 26.3

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

  1. Timed attacks

    Attacks are timed to deal the most damage each time the weapon is ready.

  2. Rotation Mode

    Sweeps the aim by a configurable angle so mobs across a wider area are hit.

  3. Durability threshold

    Attacks stop once the weapon's durability falls to a set threshold.

  4. Master switch

    A single option turns the whole mod on or off without removing it.

  5. Passive mob option

    An option decides whether passive mobs such as villagers and sheep are attacked.

  6. Configuration

    Settings are edited in the in-game menu or by changing the config JSON file directly.

Compatibility

Latest build for each game version and loader.

26.x5 of 5 versions with builds
26.3mc26.3-fabric-v3.1.1mc26.3-neoforge-v3.1.1
26.2mc26.2-fabric-v3.1.1mc26.2-neoforge-v3.1.1
26.1.2mc26.1-fabric-v3.1.1mc26.1-neoforge-v3.1.1
26.1.1mc26.1-fabric-v3.1.1mc26.1-neoforge-v3.1.1
26.1mc26.1-fabric-v3.1.1mc26.1-neoforge-v3.1.1
1.21.x10 of 10 versions with builds
1.21.11mc1.21.11-fabric-v3.1.1mc1.21.11-neoforge-v3.1.1
1.21.10mc1.21.9-fabric-v3.1.1mc1.21.9-neoforge-v3.1.1
1.21.9mc1.21.9-fabric-v3.1.1mc1.21.9-neoforge-v3.1.1
1.21.8mc1.21.7-fabric-v3.1.1mc1.21.7-neoforge-v3.1.1
1.21.7mc1.21.7-fabric-v3.1.1mc1.21.7-neoforge-v3.1.1
1.21.5mc1.21.5-fabricNot available
1.21.4mc1.21.4-fabricNot available
1.21.3mc1.21.3-fabricNot available
1.21.1mc1.21.1-fabric-v3.1.1mc1.21.1-neoforge-v3.1.1
1.212.0.1Not available
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Optional 2

Cloth Config APIConfiguration Library for Minecraft Mods
Optional
Mod MenuAdds a mod menu to view the list of mods you have installed.
Optional

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
Auto AttackFabric and NeoForge1.21 – 26.3Client-side only2026-10-08
AFK Auto SleepFabric and NeoForge1.21 – 1.21.10Client-side only2025-10-14
Auto ClickerFabric1.21.4 – 26.3Client-side only2026-10-07
Toro's Auto MineFabric1.18.2 – 26.3Client-side only2026-10-15

Questions

Does Auto Attack need Fabric API?

Yes. Fabric API is required on Fabric. It requires Fabric API.

Does Auto Attack have to be installed on the server?

No. Servers do not need it; each player installs it for their own game.

Can the in-game settings be used without Cloth Config API?

The in-game config screen requires Cloth Config API, and on Fabric it also needs Mod Menu. Without them, settings are changed by editing the config JSON file.

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

All projects

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.
JohnAdept, on the Modrinth page

Official listing

Owner
JohnAdept
Published
2024-07-14
Updated on Modrinth
2026-10-08
Facts verified
2026-10-15

Tags