src/main/java/codes/biscuit/skyblockaddons/listeners/RenderListener.java
/**
     * Render overlays and warnings for clients without labymod.
     */
Render overlays and warnings for clients without labymod.
Render overlays and warnings for clients without labymod .
@SubscribeEvent()
    public void onRenderRegular(RenderGameOverlayEvent.Post e) {
        if ((!main.isUsingLabymod() || Minecraft.getMinecraft().ingameGUI instanceof GuiIngameForge)) {
            if (e.type == RenderGameOverlayEvent.ElementType.EXPERIENCE || e.type == RenderGameOverlayEvent.ElementType.JUMPBAR) {
                if (main.getUtils().isOnSkyblock()) {
                    renderOverlays();
                    renderWarnings(e.resolution);
                } else {
                    renderTimersOnly();
                }
                drawUpdateMessage();
            }
        }
    }
@ SubscribeEvent ( ) public void onRenderRegular ( RenderGameOverlayEvent . Post e ) { if ( ( ! main . isUsingLabymod ( ) || Minecraft . getMinecraft ( ) . ingameGUI instanceof GuiIngameForge ) ) { if ( e . type == RenderGameOverlayEvent . ElementType . EXPERIENCE || e . type == RenderGameOverlayEvent . ElementType . JUMPBAR ) { if ( main . getUtils ( ) . isOnSkyblock ( ) ) { renderOverlays ( ) ; renderWarnings ( e . resolution ) ; } else { renderTimersOnly ( ) ; } drawUpdateMessage ( ) ; } } }
Render overlays and warnings for clients without labymod.
Render overlays and warnings for clients without labymod .