Armor should give more health

Started by xEinfachlars on

Topic category: Help with MCreator software

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Armor should give more health

Good evening,

 

I wanted to inquire if someone could explain to me how to create a procedure that ensures that when I wear the helmet of an armor, it adds exactly one more heart to my health bar?

 

Thank you. :D

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make it run the following…
Sun, 01/28/2024 - 22:59

Make it run the following two commands when the helmet is equipped:

/attribute Dev minecraft:generic.max_health base set 22

/effect give @a minecraft:regeneration 3 1