Health Overlay (Forge)

Health Overlay (Forge)

10M Downloads

Hearts displayed in Tab don't have the overlay

EssieFir opened this issue ยท 10 comments

commented

image
image
This is a singleplayer world in 1.16.

commented

I didn't think of this case at all, I'll get around to doing it in the coming days. Thanks for reporting it! The issue probably happens in every version, since I didn't touch the tab overlay.

commented

Glad I could help! Would you be adding this to previous versions as well or just 1.16+?

commented

Most likely 1.14+

commented

That's good, thanks.

commented

This should do. I only did 1.15 and 1.16 because I forgot that I already deleted the workspace for 1.14. I'll also look into doing the same thing on forge, if its even possible. But I doubt that it'll be possible without some hook though, so its not happening if thats the case.

commented

Also some additional info on what I did. Since you can only access the "score" value, I couldn't make a separate renderer for absorption and for the health, instead the hearts are all rendered with the colors for the hearts from the hotbar. I might add a separate config option for those hearts in the future.

commented

Sadly, after updating the mod (3.6.11) the issue still seems to be present.
Also when the player's health reaches 44 the game stops rendering the hearts altogether:
image
Which would make the health overlay in the player list redundant when players have 44+ health.

commented

Oh, the feature works only in dev. Seems that something is broken with mixins/fabric. I'll look into it.

commented

Alright, it should be fixed now. Tell me if it works when you have the time to check it out

commented

Yeah, It works like a charm, thanks!