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

KeyboardJS

Allow you to listen keyboard operations more quickly and conveniently

Автор: LirxOwO46,3 тыс.0обновлён 19 дек. 2024 г.
Механики игры

Описание

Please do not install on your server!

Please do not install on your server!

Please do not install on your server!

This is a simplified mod that simplifies the keyboard operation of kubejs.

With this mod, you can monitor the operation of keys on the keyboard, including pressing and releasing.

Determine whether a key has been pressed or released by returning a Boolean value.

Pressed Event

ItemEvents.rightClicked("emerald",event=>{
    event.player.tell(Keyboard.pressed(Keys.F3))
})

Released Event

PlayerEvents.tick(event=>{
    event.player.tell(Keyboard.released(Keys.X))
})

Галерея

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

Все версии →
release

KeyboardJS 1.0.0

1.0.0
19 дек. 2024 г.46,3 тыс.Minecraft: 1.20.1forge
Скачать