1.20.1 - overlap right bar
sfiomn opened this issue ยท 1 comments
Hello there,
I'm the dev of Legendary Survival Overhaul mod and I've notived a little overlap between our right bars :
We also use your mod in our Minecraft Legendary Edition modpack (https://www.curseforge.com/minecraft/modpacks/minecraft-legendary-edition), so fixing it in 1.20.1 would really help us better it.
This can easily be solved by changing your code there :
And use the forgeGui.rightHeight that allows modders to interact between each other with the gui bars.
Here is an example :
https://github.com/sfiomn/LegendarySurvivalOverhaul/blob/a671a9c8f3eeab2d3e7d70a572cad1d085b66d4e/src/main/java/sfiomn/legendarysurvivaloverhaul/client/render/RenderThirstGui.java#L103
Hope it helps, and thanks in advance, your mod is great !
Ah you need to increment the forgeGui.rightHeight at the end also :)
https://github.com/sfiomn/LegendarySurvivalOverhaul/blob/a671a9c8f3eeab2d3e7d70a572cad1d085b66d4e/src/main/java/sfiomn/legendarysurvivaloverhaul/client/render/RenderThirstGui.java#L68