AFKHold
by Eng11s
AFKHold keeps chosen keys and mouse buttons held down, so players can stay away from the keyboard during long walks, boat trips or repetitive farming.
What it does
Some tasks in Minecraft mean holding a button for a long time: walking or boating across a large map, or clicking repeatedly on a farm. AFKHold simulates pressing those buttons down, so the character keeps moving or clicking while the player is away. Its optional settings include a mute option that silences the game while a key is held, a disconnect option for damage and totem use, and an autoclicker switch with a configurable delay.
The mod is client-side only, so it changes nothing on a server and needs no installation there. It is published for Fabric and Quilt, with files covering 26.1 – 26.2 and the latest build, 1.1+26.2, dated 2026-06-17. Fabric API is required on Fabric, and Mod Menu is a recommended companion for opening its settings screen. The code is under the MIT License and is open source.
AFKHold was inspired by AFKTape by Kokeria, a similar tool that holds keys down. Its source and issue tracker are public.
Key features
Held keys and buttons
Chosen keys and mouse buttons stay pressed without the player touching the input device.
Mute while held
An option silences the game audio for as long as a key is being held down.
Disconnect options
Settings control taking damage and using a totem on disconnect, letting a character survive an unattended session.
Autoclicker switch and delay
A toggle starts automatic clicking, and a delay setting controls the interval between clicks.
Mod Settings screen
Options are edited in an in-game settings screen, reachable through Mod Menu.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Long walks and boat trips
Holding the forward key across a large world saves the player from keeping a finger on the keyboard.
Farm clicking
The autoclicker with a set delay handles repeated clicks on farms or crop harvesting.
Who it’s for: Players who run long unattended tasks in singleplayer or on a client-side setup, where the mod's effect stays on their own machine.
Questions
Does AFKHold need Fabric API?
Does AFKHold have to be installed on a server?
Which versions does AFKHold support?
In the catalog
AFKHold is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 13,894 mods support Minecraft 26.2.
Similar mods
What the author says
This mod was made to simulate taping down buttons while AFK. This can be very useful when using any farm that require holding buttons down, clicking or making tedious tasks like walking/boating long distances simple. If you need to use mouse while held down, you can hold 'LALT' to look around in game.
Official listing
- Modrinth page
- modrinth.com/mod/afkhold
- Owner
- Eng11s
- Published
- 2026-05-08
- Updated on Modrinth
- 2026-06-17
- Facts verified
- 2026-10-15
