How can i do something by pressing a key?

Started by CouLdN on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can i do something by pressing a key?

I want to add a potion effect to the player  when you press a key.