Aton-Kish / reinforced-chests

Minecraft fabric mod to add reinforced chests.
MIT License
2 stars 5 forks source link

[Feature] How to retexture GUI with a resource pack #55

Open Yowesephth opened 9 months ago

Yowesephth commented 9 months ago

This isn't really a feature request, but there's no bug to report, the mod is working fine to my knowledge. I just haver a question

How would one retexture the gui for these chests? I am using a pokemon themed resourcepack that edits the GUI, the resource pack has a file for generic chests, and without doing anything special, the mod inherits the texture for the slots.

see here: https://imgur.com/a/SU7ThW0

but as you can see, there's still plenty of the default gray minecraft UI. What would have to rexture to replace the gray here?

Aton-Kish commented 9 months ago

In my mod, I've constructed the GUI by cutting and pasting some default textures. I've used the following files:

https://github.com/Aton-Kish/reinforced-core/blob/b1406a7ba19669c8fda3a17aaee2a34608167142/src/client/java/atonkish/reinfcore/client/gui/screen/ingame/ReinforcedStorageScreen.java#L37-L63