Auto Attack by John Adept
Need to keep your mob grinder going while you grab a snack? Auto Attack automates your attacks.
- Client-side — works in Multiplayer/LAN
- Runs even when Minecraft is minimized
- Attacks are timed to maximize damage
- Rotation Mode to hit across a wider area
- Weapon durability protection with thresholds
- Customizable via in-game config (requires Cloth Config API; Fabric also needs Mod Menu) or by editing the config JSON
Auto Attack

Automatically hits mobs in reach and in your crosshair.
Rotation Mode

Sweeps your aim left and right by a set angle (default: 30°) before returning to center. Adjustable speed, angle, and auto-align make it ideal for hitting mobs in a wider arc.
Configuration Options (since v3.0.0)
Click to expand
- Enable Mod — Master on/off switch for Auto Attack.
- Attack Non-Hostile Mobs — Attack passive mobs (e.g. villagers, sheep).
- Protect Tamed Mobs — Prevents attacking pets you own.
- Attack Non-Living Entities — Attacks armor stands, minecarts, etc.
- Disable on Low Durability — Stops attacks if your weapon’s durability is low.
- Durability Threshold — The durability value at which Auto Attack stops (only works if above option is enabled).
- Random Attack Delay v3.1.0+ — Adds a random delay between the attack cooldown becoming full and the actual attack.
- Minimum Attack Delay v3.1.0+ — The minimum random delay in ticks before an attack is performed.
- Maximum Attack Delay v3.1.0+ — The maximum random delay in ticks before an attack is performed.
- Rotation Angle — The left/right rotation in degrees for Rotation Mode (0°–180°).
- Rotation Speed — How fast the camera rotates in Rotation Mode (0–20).
- Auto Align Yaw — Auto-faces the nearest cardinal direction (N/S/E/W) before Rotation Mode starts.
- Auto Align Yaw Offset — Adds a custom offset in degrees to the aligned yaw direction.
- Message Display Mode — How status updates are shown: chat or action bar.
- Attack Whitelist — Entity IDs that will always be attacked, overriding most restrictions.
- Attack Blacklist — Entity IDs that will never be attacked (highest priority).
Keybindings: The Attacker can be toggled using its keybinding, which can be configured directly in Minecraft's Key Binds menu.
⚠ Important:
To comply with Modrinth's rules regarding cheats and hacks, this mod isn't able to automatically attack players.
Be careful with using it on multiplayer as it might be considered as cheating!
How to Install Auto Attack (Mod)
Auto Attack by JohnAdept is verified for Fabric, Neoforge across Minecraft versions 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.3, 1.21.4, 1.21.5, 1.21.7 (latest release: mc26.3-neoforge-v3.1.1, file size: 39 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.3, 1.21.4, 1.21.5, 1.21.7) and platform (Fabric, Neoforge).
- Make sure you have the compatible loader or environment installed for Fabric, Neoforge.
- Move the downloaded Auto Attack file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 10 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 |
- Prevented wasted attacks on invulnerable or dying entities.
### Added
- Added a config option to disable the new damageability check.
- Prevented wasted attacks on invulnerable or dying entities.
### Added
- Added a config option to disable the new damageability check.
- Prevented wasted attacks on invulnerable or dying entities.
### Added
- Added a config option to disable the new damageability check.
- Prevented wasted attacks on invulnerable or dying entities.
### Added
- Added a config option to disable the new damageability check.
- Prevented wasted attacks on invulnerable or dying entities.
### Added
- Added a config option to disable the new damageability check.
- Prevented wasted attacks on invulnerable or dying entities.
### Added
- Added a config option to disable the new damageability check.
- Prevented wasted attacks on invulnerable or dying entities.
### Added
- Added a config option to disable the new damageability check.
- Prevented wasted attacks on invulnerable or dying entities.
### Added
- Added a config option to disable the new damageability check.
- Prevented wasted attacks on invulnerable or dying entities.
### Added
- Added a config option to disable the new damageability check.
- Prevented wasted attacks on invulnerable or dying entities.
### Added
- Added a config option to disable the new damageability check.
- Prevented wasted attacks on invulnerable or dying entities.
### Added
- Added a config option to disable the new damageability check.
- Prevented wasted attacks on invulnerable or dying entities.
### Added
- Added a config option to disable the new damageability check.
- Prevented wasted attacks on invulnerable or dying entities.
### Added
- Added a config option to disable the new damageability check.
- Prevented wasted attacks on invulnerable or dying entities.
### Added
- Added a config option to disable the new damageability check.