promotional bannermobile promotional banner

KeyBinding Hider

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

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.

The KeyBinding Hider Team

profile avatar
  • 2
    Followers
  • 6
    Projects
  • 7.8M
    Downloads

More from im_gizmoView all

  • I have slept project image

    I have slept

    • 49.9K
    • Mods

    This mod resets all players' sleep counters after skipping the night in multiplayer mode, ensuring no phantoms spawn for those who didn't sleep.

    • 49.9K
    • May 12, 2026
    • Mods
    • +1
  • TaCZ JS project image

    TaCZ JS

    • 1.8M
    • Mods

    KubeJS TaCZ integration.

    • 1.8M
    • May 11, 2026
    • Mods
  • Save My Shaky Network project image

    Save My Shaky Network

    • 5.9M
    • Mods

    Block common mods from connecting to the internet without affecting the mods' functionality, preventing slow loading or game crashes caused by network issues.

    • 5.9M
    • April 29, 2026
    • Mods
    • +1
  • ChatJS project image

    ChatJS

    • 134
    • Mods

    Access large language models from KubeJS using an OpenAI-compatible API.

    • 134
    • September 19, 2025
    • Mods
    • +1
  • I have slept project image

    I have slept

    • 49.9K
    • Mods

    This mod resets all players' sleep counters after skipping the night in multiplayer mode, ensuring no phantoms spawn for those who didn't sleep.

    • 49.9K
    • May 12, 2026
    • Mods
    • +1
  • TaCZ JS project image

    TaCZ JS

    • 1.8M
    • Mods

    KubeJS TaCZ integration.

    • 1.8M
    • May 11, 2026
    • Mods
  • Save My Shaky Network project image

    Save My Shaky Network

    • 5.9M
    • Mods

    Block common mods from connecting to the internet without affecting the mods' functionality, preventing slow loading or game crashes caused by network issues.

    • 5.9M
    • April 29, 2026
    • Mods
    • +1
  • ChatJS project image

    ChatJS

    • 134
    • Mods

    Access large language models from KubeJS using an OpenAI-compatible API.

    • 134
    • September 19, 2025
    • Mods
    • +1