
Tooltip renders behind emi. Solution! (1.20.1-forge)
Natanaelel opened this issue ยท 0 comments
Rendering of tooltips (1) should happen after EmiScreenManager.drawForeground
(2) and ContainerScreenEvent.Render.Foreground
(3).
By moving (1) to the end of render
I solved the issue.
(1) https://github.com/Low-Drag-MC/LDLib-MultiLoader/blob/1.20.1/common/src/main/java/com/lowdragmc/lowdraglib/gui/modular/ModularUIGuiContainer.java#L152
(2) https://github.com/Low-Drag-MC/LDLib-MultiLoader/blob/1.20.1/common/src/main/java/com/lowdragmc/lowdraglib/gui/modular/ModularUIGuiContainer.java#L179
(3) https://github.com/Low-Drag-MC/LDLib-MultiLoader/blob/1.20.1/common/src/main/java/com/lowdragmc/lowdraglib/gui/modular/ModularUIGuiContainer.java#L165