Started by
haecker.3
on
Topic category: Help with Minecraft modding (Java Edition)
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...
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.