how to increase entity max health

Started by hazar on Tue, 02/02/2021 - 22:19

Topic category: Advanced modding

Last seen on 11:50, 20. Feb 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
how to increase entity max health
Tue, 02/02/2021 - 22:19

I Have an enchant and trying to figure out how to increase the max health of the entity that's wearing armour with it on, whether player or other entity such as a zombie!,

Already iterated through and got the level of the enchant combined across all armour slots, but i cant seem to find a block of code for setting max health, only current!

Last seen on 11:50, 20. Feb 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
and how does this help may I…
Wed, 02/03/2021 - 21:57

and how does this help may I ask?

Last seen on 14:28, 10. Apr 2021
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
hazar if you use MCreator…
Sat, 02/13/2021 - 18:21

hazar if you use MCreator 2021.1 with 1.16.4 Support you can use the Command /attribute.

If you use MCreator 2020.5 use this Plugin: DTM's Toolkit - Attributes (v1.1.0) | MCreator

Check this Wiki for the /attribute Command: Commands/attribute – Official Minecraft Wiki (gamepedia.com)

Or try the Command /attribute yourself in Minecraft 1.16.4.

Last seen on 14:28, 10. Apr 2021
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
But the Plugin should work…
Sat, 02/13/2021 - 18:23

But the Plugin should work on MCreator 2021.1 too.

Last seen on 12:44, 10. Apr 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
maybe you can add health…
Mon, 03/08/2021 - 14:15

maybe you can add health boost effect when worn