How can I make a toggle on/off with a keybind

Started by Xyon on

Topic category: Help with modding (Java Edition)

Last seen on 21:11, 14. Sep 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make a toggle on/off with a keybind

Im trying to make a keybind give the player haste and I have been able to. but idk how to make it last forever until the player clicks the keybind again and disables it

Last seen on 14:41, 10. Sep 2024
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check this Topic. I made…
Thu, 08/08/2024 - 21:15

Check this Topic. I made there an Example.

Last seen on 21:11, 14. Sep 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you
Mon, 08/12/2024 - 01:39

Thank you