ModsFinder

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.

FabricClient-side onlyMIT LicenseOpen source26.2

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

  1. Held key simulation

    A chosen key or mouse button is treated as pressed on every tick until the hold is turned off.

  2. 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.

  3. One-button toggle

    A single bind starts and stops the hold, letting the player switch it on mid-action.

  4. Chat commands

    Commands set and clear the held key from the chat box, which suits quick or scripted use.

  5. 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.

26.21.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Optional 2

Mod MenuAdds a mod menu to view the list of mods you have installed.
Optional
Cloth Config APIConfiguration Library for Minecraft Mods
Optional

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
Key HolderFabric26.2Client-side only2026-07-09
Settings HotkeyFabric26.1.2Client-side only2026-07-26
Secondary KeyFabric26.2 – 26.3Client-side only2026-09-15
ContextKeysFabric1.21 – 26.2Client-side only2026-08-28

Questions

Does Key Holder need Fabric API?

Yes. Fabric API is a required dependency and must be installed alongside Key Holder on Fabric Loader 0.18.4 or newer.

Does a server need Key Holder installed?

No. Servers do not need it; each player installs it for their own game.

Can the held key be set without the config screen?

Yes. A chat command sets the key to hold, and the click-to-capture field in the config also works without typing a key name.

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

All projects

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…
Levi_Designs, on the Modrinth page

Official listing

Owner
Levi_Designs
Published
2026-07-09
Updated on Modrinth
2026-07-09
Facts verified
2026-10-15

Tags