Home›Java›Mods›KeyBinding Hider
KeyBinding Hider
ModsJava

KeyBinding Hider

Java mod listed for Minecraft 1.20–1.21. Downloads from the MC Java Mods app on Android.

by im_gizmo · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.11 · Fabric⬇ Download for 1.21–1.21.1 · Fabric⬇ Download for 1.20.1 · Fabric⬇ Download for 1.21.11 · NeoForge⬇ Download for 1.21–1.21.1 · NeoForge⬇ Download for 1.20.1 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

KeyBinding Hider

A simple mod for hiding specific key bindings in the GUI.

This mod was developed by me for my modpack, I cannot guarantee that it will work properly in other situations.

How to use

Most users can configure hidden key bindings through the in-game configuration screens.
However, advanced users may also edit the configuration file manually to achieve more complex behavior.

The following example shows the contents of config/key_binding_hider.json.

{
  "HiddenKeyBindingsUseUnknown": true, // Set hidden key bindings to Unknown to prevent key binding conflicts.
  "HiddenKeyPatterns": [ // Key bindings with IDs matching any of these patterns will be hidden.
    "key.hotbar.9" // Hide the hotbar 9 key binding
  ],
  "HiddenCategoryPatterns": [ // Key bindings whose category matches any of these patterns will be hidden.
    "minecraft:multiplayer", // Hide the multiplayer category
    "#jei:.*" // Hide all categories matching this regular expression
  ]
}

By default, entries are treated as plain text.
If an entry starts with #, the rest of the value is treated as a regular expression.

For example, #key\.jei\..* hides all JEI key bindings, and #jei:.* hides all JEI-related categories.

License

This mod is licensed under the MIT License. You can find the full license text in the LICENSE file.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more