介绍
本模组允许玩家在选项-控制界面视觉意义上隐藏特定的按键绑定及按键绑定分类。
配置文件
新版本
.minecraft/config/invisiblekeybinding-client.toml
#InvisibleKeybinding Settings
[general]
#Keybindings that should be invisible in the controls screen
invisibleKeybindings = ["key.example1", "key.example2"]
#Keybinding categories that should be invisible in the controls screen
invisibleCategories = ["key.categories.example1", "key.categories.example2"]
1.12.2 及以前
.minecraft/config/invisiblekeybinding.cfg
# Configuration file
general {
# List of names of the keybinding categories that should be invisible
S:invisibleCategories <
ExampleCategory1
ExampleCategory2
"ExampleCategory3 ends with space "
>
# List of names of the keybindings that should be invisible.
S:invisibleKeybindings <
example.key1.name
example.key2.name
"example.key3.name ends with space "
>
}
匹配按键绑定(invisibleCategories)时,请使用 Key Description(一般在 options.txt 可见,如对于“key_key.chat:20”,Key Description 为“key.chat”);
匹配按键绑定分类(invisibleKeybindings)时,可使用本地化键和当前语言下的本地化结果(如对于“多人游戏”按键绑定分类,使用“key.categories.multiplayer”、“多人游戏”等均可)。
1.12.2 及更早版本的配置文件中,首尾的空格会在解析时被忽略,请在两侧加上英文双引号(")。
注意事项
1.12.2 版本需要前置 MixinBooter。
你可以将本模组加入整合包。