how do I detect if a player clicks a certain key

Started by bigstupididiot on

Topic category: Help with modding (Java Edition)

Last seen on 16:31, 9. Apr 2023
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?

Last seen on 07:56, 10. Apr 2023
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.