Heart Amulet

Started by X Super on Sat, 04/16/2022 - 23:40

Topic category: Help with modding (Java Edition)

Last seen on 03:55, 24. Jun 2022
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Heart Amulet
Sat, 04/16/2022 - 23:40

Hey forum!
I am trying to make a heart amulet that when you hold it gives you 1 extra heart, I want to use the command /attribute but the problem is that when the player stops holding it keeps the hearts, and I want to get rid of the extra hearts when the player stops holding it

Last seen on 20:11, 27. May 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
hm, try making a world tickā€¦
Thu, 05/26/2022 - 23:38

hm, try making a world tick update in a procedure, that, if the player is holding the amulet, it gives them the health boost effect?

Last seen on 03:55, 24. Jun 2022
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
it worked! thanks :)
Sat, 06/04/2022 - 16:35

it worked! thanks :)