NOTE: ONLY USE IF SERVER PERMITS The Auto Attack Mod is a client-side utility designed to assist with AFK farming and reduce repetitive clicking during long grinding sessions in Minecraft 1.21.5. It works by automatically attacking any entity you're looking at within a 3-block range, but only when your weapon's cooldown is fully ready. This ensures the mod never attacks faster than the game naturally allows, keeping gameplay fair and balanced. The mod includes intelligent features that make it suitable for both AFK farms and active play. It uses a Gaussian reaction time distribution with an average delay of 150 milliseconds and a standard deviation of 50 milliseconds, creating attack patterns that closely mimic human timing rather than robotic consistency. A 3 percent miss chance randomly skips attacks to simulate natural human error, and any pending attack is automatically cancelled if you look away from your target during the delay window. These features help the mod blend in with normal player behavior, making it ideal for long AFK sessions where you want your character to continue fighting while you're away. The mod also includes special optimization for the mace weapon, detecting when you're falling with a mace in hand and using faster reaction times of around 75 milliseconds on average. During these smash attempts, the cooldown check is bypassed because mace smashes can trigger regardless of cooldown status, helping you land approximately 70 percent of your mace hits while still maintaining natural variability. The mod is easy to use with a simple toggle key defaulting to R, which displays a clear action bar message showing when the mod is enabled or disabled. It only functions in Survival and Adventure modes to avoid accidental spam in Creative or Spectator. The Auto Attack Mod requires Fabric API and works entirely client-side with no server installation needed. It's lightweight, efficient, and perfect for players who want to reduce repetitive strain or set up AFK farms without worrying about unnatural clicking patterns.
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21.5
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as autoattack-1.0.0.jar — drop this file into the mods folder
- Download size: 5 KB
- Download link checked 20 Aug 2026 — working
These come from our own check of the pack file, not from the source page.