COWMODSКаталог модов

keybindjs

A Kubejs Addition

Автор: yiran145732,5 тыс.6обновлён 30 апр. 2025 г.
Утилиты

Описание

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.

Последние версии

Все версии →
beta

keybindjs 2001-2.2.3

2001-2.2.3
30 апр. 2025 г.23,1 тыс.Minecraft: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6forge
Скачать
beta

keybindjs 2101-1.0.1

2101-1.0.1
30 апр. 2025 г.7,8 тыс.Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5neoforge
Скачать
release

keybindjs 2101-1.0

2101-1.0
16 апр. 2025 г.708Minecraft: 1.21.1neoforge
Скачать
Что нового
English<br> All events are transferred to the client. <br> 中文 <br> 所有事件都转移至client
release

keybindjs 2001-2.2

2001-2.2
16 апр. 2025 г.265Minecraft: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6forge
Скачать
Что нового
English<br> Allow Extra to directly enter the keymapping name<br> 中文<br> 允许Extra直接填写keymapping name
release

keybindjs 2001-2.1.1

2001-2.1.1
8 апр. 2025 г.89Minecraft: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6forge
Скачать
Что нового
add hidekey method in modiftevent
beta

keybindjs 2001-2.1.0

2001-2.1.0
2 апр. 2025 г.95Minecraft: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6forge
Скачать
Что нового
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).
release

keybindjs 2001-2.0.1

2001-2.0.1
16 мар. 2025 г.117Minecraft: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6forge
Скачать
Что нового
allow 1.19.2 use
release

keybindjs 2001-2.0

2001-2.0
9 мар. 2025 г.65Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6forge
Скачать
Что нового
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).
release

keybindjs 2001-1.9

2001-1.9
9 мар. 2025 г.46Minecraft: 1.20.1forge
Скачать
Что нового
Add more monitoring methods ```js KeyBindEvents.keyRelease('customName', event => {}) KeyBindEvents.keyReleaseInGui('customName', event => {}) KeyBindEvents.firstKeyPress('customName', event => {}) KeyBindEvents.firstKeyPressInGui('customName', event => {}) ```
release

keybindjs 2001-1.8

2001-1.8
5 мар. 2025 г.62Minecraft: 1.20.1forge
Скачать
Что нового
Added listener support for existing 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.