Toggle Keybinds
by kwak0
Toggle Keybinds lets a player bind a key or mouse button to switch between hotbar slots, so one press can flip a slot on and off.
What it does
Keyboard keys and mouse buttons can both be assigned as toggles. Pressing the bound input flips the player between hotbar slots, which saves reaching for number keys during combat or building. The bindings are set in the controls menu like any other keybind.
The mod is client-side only, so a server does not need it and players can join without installing anything. It requires Fabric API and works alongside Mod Menu for its settings screen. The code is open source under the GNU Lesser General Public License v3.0 only, and files are published for Fabric on game versions 1.21.4 – 26.2, with 1.0.4 for 26.2 as the latest build.
Key features
Hotbar slot toggles
Each toggle keybind switches the player between two hotbar slots, so frequently used items sit one press apart.
Keyboard and mouse bindings
Toggles can be assigned to keyboard keys or mouse buttons, whichever the player finds easier to reach.
Slot configuration
The first slot and second slot of each toggle are set separately, with slot numbers counted from zero to eight.
Settings screen
Mod Menu opens a settings screen for the mod, where toggles can be checked and adjusted without editing files.
Gallery
Compatibility
Latest build for each game version and loader.
26.x4 of 4 versions with builds
1.21.x8 of 8 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Combat switching
A player fighting with a sword and a bow can bind one key to flip between the two slots without taking a hand off the movement keys.
Building with blocks
Players placing blocks from two stacks can toggle between them with a mouse button, keeping the cursor near the build.
Who it’s for: Players who switch between a small number of hotbar slots often, and who prefer a single input over the number row. Only the client needs the mod, so it suits both single-player and multiplayer play.
How it compares
Hotbar Keybinds is Fabric only, covers game versions 1.16.1 – 26.3, and is client-side only under All rights reserved, so its source code is not open. Scroll2Key is also client-side only and open source under the CC0 1.0 Universal license, with files for 1.20.1 – 26.2. Toggle Toggle Sneak is client-side only under the MIT License and is not open source, for 1.21 – 26.3.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Toggle Keybinds | Fabric | 1.21.4 – 26.2 | Client-side only | 2026-06-24 |
| Hotbar Keybinds | Fabric | 1.16.1 – 26.3 | Client-side only | 2026-10-01 |
| Scroll2Key | Fabric | 1.20.1 – 26.2 | Client-side only | 2026-07-12 |
| Toggle Toggle Sneak | Fabric | 1.21 – 26.3 | Client-side only | 2026-10-08 |
Questions
Does Toggle Keybinds need Fabric API?
Does a server need Toggle Keybinds?
Which game versions does Toggle Keybinds support?
In the catalog
Toggle Keybinds 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
Official listing
- Modrinth page
- modrinth.com/mod/toggle-keybinds
- Owner
- kwak0
- Published
- 2025-07-01
- Updated on Modrinth
- 2026-06-24
- Facts verified
- 2026-10-15
