how do I detect if a player clicks a certain key

Started by bigstupididiot on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do I detect if a player clicks a certain key

I am making a enchantment and need to detect if the player clicks the spacebar in order to make them double jump. how would I do that?

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Add a key bind element.
Sun, 04/09/2023 - 14:06

Add a key bind element.