Keyboard Detector
by NoNamer8192
Keyboard Detector turns key presses on the keyboard into redstone signals, letting command blocks react to specific keys during play.
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
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.
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.
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.
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.
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
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.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Keyboard Detector | Fabric | 1.21.4 – 1.21.8 | Client and server | 2025-08-24 |
| Bedrock Detector | Fabric | 1.21.10 | Server-side only | 2025-10-21 |
| Keyboard Place Extender | Fabric | 1.21.5 – 1.21.11 | Client and server | 2026-02-20 |
Questions
Does Keyboard Detector need to be installed on the server?
Which loader does Keyboard Detector use?
Why must duplicate command blocks be used with 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).
Official listing
- Modrinth page
- modrinth.com/mod/keyboard-detector
- Owner
- NoNamer8192
- Published
- 2025-07-28
- Updated on Modrinth
- 2025-08-24
- Facts verified
- 2026-10-15
