Get keycode and keycode press triggers

Started by Tazgirl on

Topic category: Feature requests and ideas for MCreator

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Get keycode and keycode press triggers

There's 3, maybe 4, client sided blocks I think could be really useful for advanced mod making and from my knowledge of Java should be possible.

A block which can get the keycode used for a supplied keybind. i.e keybind.name.ZOOM and then returns the keycode as a string

A block which takes an input of a keycode then forces it to be pressed for a set number of ticks. i.e holds down w for 10 ticks

A block which takes an input of a keycode then forces it to be de-pressed/unable to be pressed for a set number of ticks. i.e forces w to become unpressed for 10 ticks if held

 

Then this one is a maybe as it could be recreated through the use of the other blocks but would be easier:

A block which prevents the client from using a set keycode for a set number of ticks. i.e the player pressing w doesnt do anything but the force press block still can.

Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I would love for a force…
Wed, 05/08/2024 - 18:22

I would love for a force client keypress (key) block, So you can access debug commands automatically