ModsFinder

Keyboard Detector

by NoNamer8192

Keyboard Detector turns key presses on the keyboard into redstone signals, letting command blocks react to specific keys during play.

FabricClient and serverApache License 2.0Open source1.21.4 – 1.21.8

What it does

The mod adds a keyboard event detection feature that reads the Minecraft keys a player presses and reports them through command block subcommands. A detected key can be set to switch a redstone signal on when it is pressed and off when it is released, and a key can also be watched as a held state so the signal stays on for as long as the key is down.

Detection covers single keys, long presses and several keys pressed together, and each key can be processed independently. Letters can be matched in lowercase or with case sensitivity, and the numeric keypad has its own codes. Command blocks that run the detector need to be set up carefully, since duplicate entries in the match group are required and a reset must be guarded by a conditional statement. The mod is published for Fabric only, and it runs on client and server, so the server and every player need it. Files cover 1.21.4 – 1.21.8 and are released under the Apache License 2.0, and the source code is public.

Key features

  1. Key pressed and released signals

    A detected key switches a redstone signal on when it is pressed and off when it is released, for reactions that follow each keystroke.

  2. Held key detection

    A key can be watched as a held state, so the signal stays active for as long as the key is down, and it deactivates once the key is let go.

  3. Simultaneous key combinations

    Several keys can be detected at once, and the detector can wait for a new combination to be pressed before it reactivates.

  4. Persistent signal mode

    In persistent mode the signal stays active after the keys are pressed, and a reset with a conditional statement returns the detection state.

Compatibility

Latest build for each game version and loader.

1.21.81.2.2
1.21.71.2.2
1.21.61.2.2
1.21.51.2.2
1.21.41.2.2
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

How it compares

Full comparison

Keyboard Detector runs on Fabric with files for 1.21.4 – 1.21.8 and is open source under the Apache License 2.0. Bedrock Detector is server-side only, open source under the GNU Lesser General Public License v3.0 only, and published for 1.21.10, so it targets a different version range and only the server needs it. Keyboard Place Extender is client and server and is closed to modification under All rights reserved, covering 1.21.5 – 1.21.11.

ModLoadersGame versionsEnvironmentUpdated
Keyboard DetectorFabric1.21.4 – 1.21.8Client and server2025-08-24
Bedrock DetectorFabric1.21.10Server-side only2025-10-21
Keyboard Place ExtenderFabric1.21.5 – 1.21.11Client and server2026-02-20

Questions

Does Keyboard Detector need to be installed on the server?

Yes. Installation covers the server and each player's game.

Which loader does Keyboard Detector use?

It is published for Fabric only, and the latest file is 1.2.2 for 1.21.8, released on 2025-08-24.

Why must duplicate command blocks be used with the match group?

Otherwise only one key event is triggered, and the subcommands for detection are not available, so the author recommends repeating the command blocks executing the match group.

In the catalog

Keyboard Detector is one of 8,499 Technology mods on ModsFinder, and one of 4,201 Technology mods for Fabric. 17,695 mods support Minecraft 1.21.8.

Similar mods

What the author says

Advanced keyboard event detection in Minecraft for all keys! If target player have pressed the '1' key, the command block will return true and activate redstone signal constantly (Until /keyboarddetector flush is executed).
NoNamer8192, on the Modrinth page

Official listing

Owner
NoNamer8192
Published
2025-07-28
Updated on Modrinth
2025-08-24
Facts verified
2026-10-15

Tags