Description
Gallery
Changelog
Versions
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:
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.
All Versions
+ Add Version
[2101-1.0] keybindjs 2101-1.0
by yiran1457 on Apr 16, 2025
Download
English<br>
All events are transferred to the client. <br>
中文 <br>
所有事件都转移至client
All events are transferred to the client. <br>
中文 <br>
所有事件都转移至client
[2001-2.2] keybindjs 2001-2.2
by yiran1457 on Apr 16, 2025
Download
English<br>
Allow Extra to directly enter the keymapping name<br>
中文<br>
允许Extra直接填写keymapping name
Allow Extra to directly enter the keymapping name<br>
中文<br>
允许Extra直接填写keymapping name
[2001-2.1.1] keybindjs 2001-2.1.1
by yiran1457 on Apr 08, 2025
Download
add hidekey method in modiftevent
[2001-2.1.0] keybindjs 2001-2.1.0
by yiran1457 on Apr 02, 2025
Download
Allowed to be installed on the server. If installed on the server, there is no need to delete the
KeyBindEvents in startup. Added JSIO for reading and writing JS files (although this has little to do with the content of this mod).
[2001-2.0.1] keybindjs 2001-2.0.1
by yiran1457 on Mar 16, 2025
Download
allow 1.19.2 use
[2001-2.0] keybindjs 2001-2.0
by yiran1457 on Mar 09, 2025
Download
Fixed the issue where modifier keys couldn't be used (but still can't set modifier keys like
ALT, CTRL, SHIFT as key bindings for monitoring).
[2001-1.9] keybindjs 2001-1.9
by yiran1457 on Mar 09, 2025
Download
Add more monitoring methods
``
``
js
KeyBindEvents.keyRelease('customName', event => {})
KeyBindEvents.keyReleaseInGui('customName', event => {})
KeyBindEvents.firstKeyPress('customName', event => {})
KeyBindEvents.firstKeyPressInGui('customName', event => {})
``
[2001-1.8] keybindjs 2001-1.8
by yiran1457 on Mar 05, 2025
Download
Added listener support for existing key bindings.
Example usage:
``
Allows detecting key presses as if using self-registered key bindings.
Example usage:
``
js
KeyBindEvents.modify(event => {
event.addListener('www', 'key.forward')
event.addListener('sss', 'key.back')
})
``Allows detecting key presses as if using self-registered key bindings.
[2001-1.7] keybindjs 2001-1.7
by yiran1457 on Mar 03, 2025
Download
Now you can use
@key_name and @category_name to retrieve the name of the key and the name of the type, similar to ProbeJS snippets.
[2001-1.6] keybindjs 2001-1.6
by yiran1457 on Mar 03, 2025
Download
Nothing