Back to mods
KeyboardJS project artwork

Modrinth · Minecraft mod

KeyboardJS

Allow you to listen keyboard operations more quickly and conveniently

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which KeyboardJS release should I use?

Updated 1 year ago
Latest stable file 1.0.0
Game version 1.20.1
Loader Forge

KeyboardJS 1.0.0 targets 1.20.1 with Forge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is KeyboardJS required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does KeyboardJS 1.0.0 need?

1.0.0. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add KeyboardJS without breaking your instance.

Built for KeyboardJS 1.0.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.0. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.0. It opens that exact file at the source.

About this project

What does KeyboardJS add?

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))
})

Project description from Modrinth.

Pick your setup

KeyboardJS by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

KeyboardJS versions and loaders

1 of 1 releases match

Looking for an older file? The official Modrinth project page is in Resources.