keybindjs

A Kubejs Addition

19,74k

keybindjs

A mod that allows modpack creators to use KubeJS to register, modify, and remove key bindings.

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:

```javascript 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') }) ``` Note: Do NOT install this mod on servers.

ADS