Skip to content

KeyBinding Hider

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

17k downloads Updated

Last update on each platform

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

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.

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

Edit the config/key_binding_hider.toml file to hide the key bindings you want. The mod will hide all KeyBindings starting with a value in KeyBindings

SetKeyBindingToUnknown = true
KeyBindings = ["key.jei"]

For example, hide and disable all JEI KeyBindings.

License

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