跳到正文

KeyBinding Hider

作者:im_gizmo

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.

常见问题

KeyBinding Hider 支持哪些 Minecraft 版本?

KeyBinding Hider 支持 Minecraft Java 版 1.20.1–1.21.11,共 4 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

KeyBinding Hider 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

im_gizmo 的其他作品

查看全部 →