AutoFarm-Mod
AutoFarm-Mod, a Fabric client mod, automates a few repeated player actions such as swinging a weapon, eating food and logging out at a health threshold.
What it does
Once installed, AutoFarm-Mod watches the player's state and acts on it without input. It can swing the held weapon when an attack is ready, eat food when hunger drops below a chosen level, and log the player out when health falls under a set value. A player walking in front of the farm does not trigger the swing, since other players are ignored. The settings are changed through an in-game menu and are saved automatically, so they persist between sessions.
The mod is built for farming in single player and on SMP servers, where a player wants repeated tasks handled while away from the keyboard. It depends on Fabric API, which must be installed alongside it. The author asks players to use it only on servers where automation is allowed. AutoFarm-Mod is client-side only, so players install it and servers do not need it. It targets game versions 1.21.4 – 26.3 and is released under the Creative Commons Attribution Non Commercial 4.0 license, so it is not open source.
Key features
Automatic weapon swing
The held weapon is swung whenever the attack cooldown is ready, without manual clicks.
Automatic eating
Food is eaten when hunger drops below a threshold the player sets in the menu.
Health-based logout
The player logs out when health falls below a configured value, which limits losses during a fight.
Settings menu and saving
Thresholds and options are edited in an in-game menu, and changes are saved automatically.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Single-player farming
A player runs crop or mob farms alone and lets the mod swing, eat and log out during long sessions.
SMP server play
Players on a survival multiplayer server use the health threshold to leave before a dangerous situation becomes fatal.
Who it’s for: Players who run automated farms in single player or on a server that permits automation, and who want routine actions handled by the client.
How it compares
Auto Logout is a Fabric and Quilt client mod for 1.21 – 26.3, under the same Creative Commons Attribution Non Commercial 4.0 license, so it is not open source. It covers logging out only. Classic Swing Animation is a client mod for 1.21.11 under the Mozilla Public License 2.0, and it is open source, changing the swing animation rather than automating attacks.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| AutoFarm-Mod | Fabric | 1.21.4 – 26.3 | Client-side only | 2026-10-05 |
| Auto Logout | Fabric and Quilt | 1.21 – 26.3 | Client-side only | 2026-09-20 |
| Classic Swing Animation | Fabric | 1.21.11 | Client-side only | 2026-06-25 |
Questions
Does AutoFarm-Mod need Fabric API?
Does the server need AutoFarm-Mod?
Which game versions does AutoFarm-Mod support?
In the catalog
AutoFarm-Mod is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 8,071 mods support Minecraft 26.3.
Similar mods
What the author says
A simple Fabric mod for Minecraft that automates common tasks like auto-swinging, auto-eating, and auto-logging out based on health. Perfect for use in an SMP server or solo play! Please make sure to ONLY use this servers where it is allowed.
Official listing
- Modrinth page
- modrinth.com/mod/autofarming-mod
- Owner
- JacobTheIdiot
- Published
- 2025-02-14
- Updated on Modrinth
- 2026-10-05
- Facts verified
- 2026-10-15
