Key Holder
by Levi_Designs
Key Holder lets a player hold a chosen key or mouse button down without keeping a finger on it, toggling the press on and off with a single bind.
What it does
Key Holder simulates a held key or mouse button on each game tick until the player turns it off. The key to hold is picked from the keyboard or mouse, either through a click-to-capture field in the config screen or with a chat command. A separate one-button toggle starts and stops the hold instantly, so typing is not needed during play.
The mod is client-side only, so only the player's client needs it and no server install is required. It runs in single-player and on multiplayer servers alike. It requires Fabric API, and works with Cloth Config API for a graphical settings screen and Mod Menu for opening that screen from the mods list. Files are for Minecraft 26.2 on Fabric Loader 0.18.4 or newer, and the code is open source under the MIT License.
Chat commands cover scripted use, and a macro bound to another mod's key can trigger the same hold without the player holding anything down.
Key features
Held key simulation
A chosen key or mouse button is treated as pressed on every tick until the hold is turned off.
Click-to-capture key picker
The config field records the next key or mouse button the player clicks, so no key names need to be typed.
One-button toggle
A single bind starts and stops the hold, letting the player switch it on mid-action.
Chat commands
Commands set and clear the held key from the chat box, which suits quick or scripted use.
Cloth Config screen
Settings can be changed in a graphical screen, and Mod Menu can open it from the mods list.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Optional 2
Use cases
Who it’s for: Players who want a key kept down for long stretches of walking, running or jumping, and anyone who scripts actions through chat or key macros on a single-player or multiplayer client.
How it compares
Settings Hotkey is a client-side Fabric mod for 26.1.2 and is released into the public domain under CC0 1.0 Universal, so it is open source. Secondary Key is also client-side for Fabric, covering 26.2 – 26.3, and is MIT licensed, but it is not open source. ContextKeys is client-side with a range of 1.21 – 26.2 under the MIT License and is not open source; Key Holder focuses on holding a single key, while ContextKeys assigns keys by context.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Key Holder | Fabric | 26.2 | Client-side only | 2026-07-09 |
| Settings Hotkey | Fabric | 26.1.2 | Client-side only | 2026-07-26 |
| Secondary Key | Fabric | 26.2 – 26.3 | Client-side only | 2026-09-15 |
| ContextKeys | Fabric | 1.21 – 26.2 | Client-side only | 2026-08-28 |
Questions
Does Key Holder need Fabric API?
Does a server need Key Holder installed?
Can the held key be set without the config screen?
In the catalog
Key Holder is one of 8,499 Technology mods on ModsFinder, and one of 4,201 Technology mods for Fabric. 13,894 mods support Minecraft 26.2.
More from Levi_Designs
Similar mods
What the author says
Ever needed to hold down a key for a while — forward to walk into a wall, space to keep jumping, your sprint key, a macro-bound key from another mod — without actually holding it? Key Holder does it for you. Pick any key or mouse button and toggle it "held." Key Holder simulates that key being pressed every tick…
Official listing
- Modrinth page
- modrinth.com/mod/key-holder
- Owner
- Levi_Designs
- Published
- 2026-07-09
- Updated on Modrinth
- 2026-07-09
- Facts verified
- 2026-10-15
