Cheos137 / ArmorpointsPlusplus

A light-weight mod overhauling vanilla ui components
https://modrinth.com/mod/armorpoints
MIT License
2 stars 2 forks source link

[Bug]: [1.19.2] Health number display being rendered on the top of the screen #64

Closed ffuentesm closed 1 year ago

ffuentesm commented 1 year ago

Is there an existing issue for this?

Are you using the latest version currently available?

Description

The health number is displayed on top of the screen, not next to the hearts

Version

Other (this list is not up to date - again...)

Version

ArmorPoints++ v3.0.9 [FORGE 1.19]

To Reproduce

No response

Expexted Behavior

Red Numbers should be next to the hearts

Additional Context

Mod list: https://crashy.net/8ae0dcdb-978e-4cd6-b94f-19d2c86310c3

Screenshots

image

Relevant Log / Crash-Report Output

No response

Cheos137 commented 1 year ago

happens if some other mods override heart rendering (like mantle does, for example) by cancelling forge's heart component render event - not a bug of armorpoints++ (if you're using mantle, you need to configure mantle to not replace the health bar, otherwise you might have to remove the mod replacing the health bar)

edit: had a look at your modlist, Health Overlay seems suspicious

Cheos137 commented 1 year ago

you could also manually set the text position in armorpoints++'s config if you want to keep the overridden heart rendering - there is no option to determine the position automatically, as armorpoints++'s rendering code is not called if cancelled.