Cheos137 / ArmorpointsPlusplus

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

[Health bar issue] #10

Closed Taknax closed 3 years ago

Taknax commented 3 years ago

Description Transparency of the heart bar is disabled and cant close the number beside.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'mod option'
  2. Click on 'ArmorPoints++'
  3. Scroll down to 'show health value and show armor value. Both False.'
  4. See error at the health bar

Expected behavior The backgroung of the hearts from the health bar should be transparent and i cant close the number beside .

Screenshots 2021-06-28_01 53 59

Version v2.0.0 [1.12.2]

Additional context I use two mod which midify health value. LevelHearts and UnhealthyDying.

Cheos137 commented 3 years ago

Does not happen with Appp alone -> some kind of compat issue. Gonna look into that.

Cheos137 commented 3 years ago

Can't reproduce with LevelHearts (1.12.2-2.0.0) and UnhealthyDying (1.3.1). When looking at the HUD in your screenshot... that is 'Tough As Nails', right? So, what mods are you using (full list with versions, please)

Taknax commented 3 years ago

I figured out it just occure if "minimal HUD" is enabled in the LevelHearts mod. Tried it without other mods. Just LH and Appp. There is a another small issue. Im gonna make some screenshots later and send you. Ty for attention.

Cheos137 commented 3 years ago

By looking at the code of LevelHearts, I saw that minimal HUD is mutually incompatible with Appp, as it overrides vanilla hud elements. But I think I can do something about Appp glitching out because of that.

Cheos137 commented 3 years ago

should be fixed now - I added glEnableAlpha() to each of the render methods which seems to do the trick