Back to mods
Auto Attack project artwork

Modrinth · Minecraft mod

Auto Attack

Be AFK at your Mob Grinder / Farm

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Auto Attack release should I use?

Updated last month
Latest stable file mc1.21.1-neoforge-v3.1.1
Game version 1.21.1
Loader NeoForge

Auto Attack mc1.21.1-neoforge-v3.1.1 targets 1.21.1 with NeoForge. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.

Where it goes

Is Auto Attack required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does Auto Attack mc1.21.1-neoforge-v3.1.1 need?

mc1.21.1-neoforge-v3.1.1. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

Cloth Config API Optional for Auto Attack mc1.21.1-neoforge-v3.1.1
optional
Matching file found Matched file: 15.0.140+neoforge

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Auto Attack without breaking your instance.

Built for Auto Attack mc1.21.1-neoforge-v3.1.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use mc1.21.1-neoforge-v3.1.1. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside mc1.21.1-neoforge-v3.1.1. It opens that exact file at the source.

About this project

What does Auto Attack add?

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

AutoAttackSimpleGIF

Automatically hits mobs in reach and in your crosshair.

Rotation Mode

RotationModeGIF

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!


Project description from Modrinth.

Pick your setup

Auto Attack by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

26 available setups

Showing the newest 12 of 15 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Auto Attack versions and loaders

45 of 45 releases match

Looking for an older file? The official Modrinth project page is in Resources.