A command that checks for clicked/held/released keys.
Something like:
/execute if key{player,key,clicked/held/released}
It would add a new way for using command blocks, datapacks and things to do with commands in general.
For example:
Repeating command: /execute at steve if key{steve,G,clicked} run summon minecraft:lightning ~3 ~ ~
A command like this one which strikes down lightning in front of you when G is clicked.
Please sign in to leave a comment.
0 Comments