[Solved]Giving access to Keybinding after specific Event

Started by xTremQuick on

Topic category: Help with MCreator software

Last seen on 21:29, 30. Aug 2023
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Solved]Giving access to Keybinding after specific Event
Wed, 07/19/2023 - 20:41 (edited)

Hey there!

For my Mod I want to Have a Key Binding which summons Lightning after eating a food. I got the food I got the Lightning part but right now the Player can summon the lightning at any time and not only after eating this food. It should be possible to Create Lightning until you die after you eat the food. Is there a way to solve this?

Edited by xTremQuick on Wed, 07/19/2023 - 20:41
Last seen on 23:04, 20. May 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use a player lifetime logic…
Sun, 07/16/2023 - 22:51

Use a player lifetime logic variable, there should be a bunch of posts on this website about how to use those, so you should be able to look it up