Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.21] Registering custom armor bar always uses armor bar texture from Detail Armor Bar #55

Open
Autovw opened this issue Jun 23, 2024 · 0 comments

Comments

@Autovw
Copy link

Autovw commented Jun 23, 2024

I've received a report about my custom armor bar not being properly shown. Upon investigating it appears that the texture I provide in ArmorBarRenderManager is not being applied by Detail Armor Bar. Instead, it uses the armor bar texture from Detail Armor Bar itself.

Changing the texture width and height to 128x128 in ArmorBarRenderManager reveals this mod's armor bar texture instead of my custom one:
image

serenyadev added a commit to serenyadev/DetailArmorBar that referenced this issue Aug 18, 2024
RedLime pushed a commit that referenced this issue Aug 30, 2024
* implement data driven stuff

* improve error logging

* rename armor field to items

* better color handling

* move classes to a different package, add item support

* improve codecs abit

* different textures for different parts

* better error checking

* make outline optional in armor

* fix crash when trying to override an existing entry

* update example RP to new format

* make is_shown optional (default: true)

* tiny example rp fix

* fix a naming inconsistency

* remove duplicate setShaderTexture calls

* remove more duplicate stuff

* fix texture bug i noticed (prob caused #55)

* optimize imports

* idea is useless piece of trash

* make armor loading a little safer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant