▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Keyboard Detector
Keyboard Detector

Keyboard Detector

Detect any keypresses to enable more possibilities for key events!!!

466
2
Все версииKeyboardDetector 1.0.0

KeyboardDetector 1.0.0

Release8 мес. назад

Список изменений

Keyboard Detector Command Usage Guide

  1. /keyboarddetector iskeydown

Function: Detects whether a single key is pressed.

Usage: /keyboarddetector iskeydown

Example: /keyboarddetector iskeydown @p 49

Detects if the player presses the '1' key.

When placed in a repeating command block:

Returns true and outputs a redstone signal while '1' is held.

Returns false with no redstone output when released.

=============================================================================

  1. /keyboarddetector matchgroup

Function: Detects simultaneous multi-key presses (keys are processed without mutual interference).

Usage: /keyboarddetector matchgroup ,,...

Example: /keyboarddetector matchgroup @p 49,50,51 false

Detects if the player presses '1', '2', and '3' concurrently.

When placed in a repeating command block:

Returns true/redstone signal only when all specified keys are pressed simultaneously.

If is set to true:

Maintains true/redstone signal after keys are released until manually reset.

=============================================================================

  1. /keyboarddetector flush

Function: Clears all stored key-press records (used when is true).

Example:

After executing /keyboarddetector matchgroup @p 49,50,51 true in a loop:

Pressing/releasing '1','2','3' maintains a persistent signal.

Executing /keyboarddetector flush will:

Immediately terminate the redstone signal.

Reset detection until the next valid simultaneous key press.

Файлы

keyboarddetector-1.0.0.jar(16.81 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.0.0

Загрузчики

Fabric

Версии игры

1.21.4

Загрузок

38

Дата публикации

8 мес. назад

Загрузил

ID версии

Главная