AutoAFKFish
by codetoil
With AutoAFKFish, holding the right mouse button keeps an auto fishing setup casting while the player is away from the keyboard, toggled by the F12 key.
What it does
The mod keeps the right mouse button held down so that an auto fishing farm keeps working. Pressing the F12 key starts and stops the behavior, and the default key can be changed. Pressing F12 again switches it off, and a short cooldown applies between toggles. The mod is meant to be used together with an auto fishing farm; on its own it only holds the button.
Holding the button continues while the inventory, the chat, the pause menu or a multiplayer server screen is open, and it keeps going regardless of the action the player takes in the integrated server or client world. The mod depends on Fabric API. It is client-side only, so servers do not need it, and it is open source under the GNU Lesser General Public License v3.0 or later. Files target 1.14.4 – 1.21.11 across 37 release versions, with the latest Fabric and Quilt files at 1.1.3 for 1.21.11, published 2025-09-30.
Key features
Held right mouse button
The right mouse button stays pressed so that an auto fishing setup keeps casting without manual clicks.
F12 toggle
The F12 key starts and stops the behavior, and it can be rebound in the controls menu.
Cooldown between toggles
After each press the toggle waits briefly before it can switch again, which prevents accidental double presses.
Screens stay unaffected
The held action continues while the inventory, chat or pause menu is open, and during multiplayer sessions.
Translated interface
The mod includes French and Simplified Chinese translations, credited to their translators.
Compatibility
Latest build for each game version and loader.
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
1.15.x1 of 1 version with builds
1.14.x1 of 1 version with builds
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Who it’s for: Players who run an auto fishing farm in Minecraft Java Edition with Fabric or Quilt. Server owners do not need the mod, since it runs only on the client.
How it compares
Fishing Real runs on the client and the server, with files for Fabric, Forge and NeoForge, and is open source under the MIT License. Antisocial is client-side only, open source under the MIT License, and published for Fabric and Quilt for 1.19 – 1.21.1. Simple Auto Fishing is client-side only, is not open source, and is licensed as Creative Commons Attribution Non Commercial No Derivatives 4.0. AutoAFKFish is the one here that holds the right mouse button for an existing farm.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| AutoAFKFish | Fabric and Quilt | 1.14.4 – 1.21.11 | Client-side only | 2025-09-30 |
| Fishing Real | Fabric, Forge and NeoForge | 1.14.4 – 26.1.2 | Client and server | 2026-05-28 |
| Antisocial | Fabric and Quilt | 1.19 – 1.21.1 | Client-side only | 2024-07-23 |
| Simple Auto Fishing | Fabric, Forge and NeoForge | 1.21.3 – 26.3 | Client-side only | 2026-09-21 |
Questions
Does AutoAFKFish need Fabric API?
Does the server need AutoAFKFish?
Which version should be used for the newest game versions?
In the catalog
AutoAFKFish is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 19,862 mods support Minecraft 1.21.11.
More from codetoil
Similar mods
What the author says
A fairly simple fabric mod for all versions of Minecraft that support fabric prior to 1.21.9 with v1.1.2, and 1.21.9+ with v1.1.3, making it so that when you press the F12 Key, it will start acting as if you are holding down the right mouse button. It will keep acting like that even if you open your inventory, open…
Official listing
- Modrinth page
- modrinth.com/mod/autoafkfish
- Owner
- codetoil
- Published
- 2023-03-21
- Updated on Modrinth
- 2025-09-30
- Facts verified
- 2026-10-15
