Immersive Aircraft [Fabric/Forge]

Immersive Aircraft [Fabric/Forge]

15M Downloads

1.20.1 - overlap right bar

sfiomn opened this issue ยท 1 comments

commented

Hello there,

I'm the dev of Legendary Survival Overhaul mod and I've notived a little overlap between our right bars :

Image

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 :

int y = screenHeight - 49 - Config.getInstance().healthBarRow * 10;

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 !