SpyMan10 / backpackmod-1.16-old

1.16+ Backpack items for Minecraft game
MIT License
7 stars 3 forks source link

Visual bug when using texture packs #32

Open Kynz0 opened 2 years ago

Kynz0 commented 2 years ago

When i use texture pack that changes gui of inventory it makes this weird visual bug. I use vanilla tweaks dark UI. image image

SpyMan10 commented 2 years ago

Hello, It's not a bug, GUI textures are generated automatically because size of each backpack item is configurable

Kynz0 commented 1 year ago

ok but is there a way to fix it?

SpyMan10 commented 1 year ago

No, the only way to fix that is to add a new property in the configuration file to specify the color to use to fill the gui background. I will fix in the next major release (mc 1.20). That mod need a complete rewrite, the current code is fully deprecated.

But if you want you can recompile it with the new background color. File : https://github.com/SpyMan10/backpackmod/blob/252dad85f0784dad5d3b8b9c98f28197cc8a7936/src/main/java/net/spyman/backpackmod/client/gui/screen/BackpackScreen.java#L58