Is there any way to make custom looking hearts during an custom damage?

Started by haecker.3 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there any way to make custom looking hearts during an custom damage?

i want to add different kinds of damage to my mod, freezing, radiation and electrocuting. I already know how to make my own type of damage but is there any way to change the appearance of the hearts during the custom damage? I already tried using overlays but the hearts kept moving to the left or the right and always were behind the normal hearts...

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is no way within…
Fri, 04/03/2026 - 08:36

There is no way within mcreator other than using overlays. To make it appear above set the priority to the lowest so it overlays at the latest possible time. I don't remember if that works to be fair it may not be possible to overlay on top of the base hud. If you're talking about the hearts moving/animating then you just need to make the same animation using another set of hearts and use display conditions to make it play. I don't know when the animation plays but you can probably find a way to call it. Otherwise you're gonna need custom code.