Cheos137 / ArmorpointsPlusplus

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

[Bug]: Armor bar itself is glitched out #62

Closed vainlaind4in closed 1 year ago

vainlaind4in commented 1 year ago

Is there an existing issue for this?

Are you using the latest version currently available?

Description

Apparently, whenever you put a piece of armor on, the armor bar's rendering just doesn't properly load. The textures are all warped, and it's hard to know how many armor points you have. It's strangely placed above the hunger bar too.

Screenshot is offered below.

I assume it's maybe a mod incompatibility, since I have a couple other inventory GUI altering mods.

Version

3.0.x for Minecraft Forge 1.19

Version

No response

To Reproduce

  1. Open a world in survival (with mods showcased in screenshots)
  2. Armor bar seems to appear, but it is above the hunger bar instead, and it's completely distorted.

Expexted Behavior

Armor bar should have appeared as chestplate looking things, with numbers on the side (similar to the health points), and no distortion with clear distinction of how many armor points you have. It also needs to be above the health bar.

Additional Context

I am playing on a relatively large modpack, with over 225 mods.

Screenshots

Picture of armor bar image

Mods page 1 image Mods page 2 image

Relevant Log / Crash-Report Output

Log Report https://gist.github.com/vainlaind4in/53343095f3af8625266295662bfe1165

Cheos137 commented 1 year ago

This is an incompatibility for sure, and on forge 1.18 and 1.19 , ap++ doesn't do anything hacky that would be able to break... So i'm 95% sure it's purely some other mod's fault.

But i can't for the life of me figure out which mod's fault it is in such a big pack.

vainlaind4in commented 1 year ago

I have added the log into the issue, hopefully it might help with what is happening.

Cheos137 commented 1 year ago

Can't see any exceptions related to ap++ (as is expected with rendering issues - they are weird behavior and not loggable errors) The only thing that would help narrow down the problem would be to either somehow dump the hud component registry (which i doubt is possible) or try to reproduce this with a subset of the pack (the mods most likely to cause this) - the latter of which i can't do as i don't have the pack you're playing (and i sadly don't have the time to do this, currently, too)

vainlaind4in commented 1 year ago

Forgot to add this, but apparently, the numbers for the armor bar show up on the very top of the screen, where it is aligned with the health bar, as well as the toughness icons also appear where the armor points should've been.

Cheos137 commented 1 year ago

that, in combination with the armor bar - or what's left of it - being rendered on the right side actually makes me think that some mod tries to prevent the armor bar from rendering but fails to properly set up it's own render state when trying to render it's own bar...

so probably nothing i can fix on my end, sadly

Cheos137 commented 1 year ago

closing due to inactivity