Get and Set max health of entity

Started by Silverslayer547 on

Topic category: Help with modding (Java Edition)

Last seen on 09:03, 9. Jun 2022
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Get and Set max health of entity

I am trying to create a potion effect that slowly drains the max health of the player up until 5 hearts, but I can't seem to access the max health of the player/entity. Is there a possible way to do this, or will I have to rethink the effect of this potion?

Such a feature is planned…
Sat, 01/18/2020 - 22:32

Such a feature is planned for future updates. Please check our issue tracker for more info.