How to change health color with potion effect?

Started by AddingUraniumT… on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to change health color with potion effect?

I'm messing around with modding right now and am adding radiation poisoning as an effect (don't ask). I'd like to be able to change the player's HP bar color (like powdered snow/freezing, wither, and poison do) but have no clue how to do it. Would anyone know how I can do this?

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use an overlay, anchor to…
Fri, 04/03/2026 - 08:28

Use an overlay, anchor to center bottom. This wont look great when the hearts animate unless you want to make that with additional images but idk how to check for when they are doing that.