
KeyBindJS
A Kubejs Addition
If you are making a modpack, I recommend using the "Smart Key Prompts" mod.
You can find more usage examples in the wiki
Below is an example of changing the default accessory menu key to ALT+X (moved under vanilla's Misc category) and removing the jump key binding:
KeyBindEvents.modify(event => {
event.modifyKey('key.curios.open.desc', GLFM.GLFM_KEY_X)
event.modifyModifier('key.curios.open.desc', KeyModifier.ALT)
event.modifyCategory('key.curios.open.desc', 'key.categories.misc')event.remove('key.jump')
})
正在加载版本记录…
正在加载评论…
评论在新手盒子客户端中发表,这里同步展示。