How do I replace the health gauge with another image or change the health limit of a player?

Started by Hamburger_Patty on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I replace the health gauge with another image or change the health limit of a player?

As the title says, I'm looking to change the health gauge. How can I do this?

The version is 1.20.1

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Your best bet is probably to…
Sun, 10/08/2023 - 19:25

Your best bet is probably to try messing around with custom overlays. You can align them to match the position of the default health bar, change the priority so it covers up the default health bar, and then give various conditions for their display. 

Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you! I'll give that a…
Mon, 10/09/2023 - 02:21

Thank you! I'll give that a try.