[SOLVED] healing potion with cooldown

Started by cyberstorm811 on

Topic category: Help with MCreator software

Last seen on 01:16, 1. Mar 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED] healing potion with cooldown
Thu, 10/05/2023 - 14:54 (edited)

i have been trying to create a mod and I wanted to add healing potions with a 60-second cooldown, I tried using a tutorial I found on here for a key bind cooldown beacuse I wanted to have it be activated by a key bind, but it didn't work and now I do not know what to do, would someone be able to explain it and help me

here are some images of the previous procedure guide i followed and modified

 

ill also leave a link to the guide i used to create this procedures

https://mcreator.net/forum/98794/adding-cooldown-keybind

Edited by cyberstorm811 on Thu, 10/05/2023 - 14:54
Last seen on 01:16, 1. Mar 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
turns out it did work, i…
Thu, 10/05/2023 - 14:53

turns out it did work, i just had to wait a while after using a potion from previous tests, if you need the code for healing potions feel free to use this and modify on the design, its designed for 3 levels of potions starting at weak and getting stronger