VazkiiMods / Quark

Small things, improving Minecraft without changing the core gameplay.
https://quark.vazkii.net
Other
587 stars 287 forks source link

Elytra indicator with Overflowing Bars installed shifts the entire UI to the right #5052

Open gamma-delta opened 2 months ago

gamma-delta commented 2 months ago

Steps to reproduce:

My guess is that this is because in Quark, the whole PoseStack is shifted to the right in order to make the armor bar render to the right (link), but Overflowing Bars cancels the RenderGuiOverlayEvent.Pre event (link), and perhaps the Post event isn't fired if the Pre event is cancelled.

I encountered this in this modpack: https://github.com/dr3ams/Industrial-Village/issues/49

Logs: https://mclo.gs/HVkjf1w