Class GuiScreenEvent.BackgroundDrawnEvent

  • Enclosing class:
    GuiScreenEvent

    public static class GuiScreenEvent.BackgroundDrawnEvent
    extends GuiScreenEvent
    This event fires at the end of GuiScreen#drawBackground(int) and before the rest of the Gui draws. This allows drawing next to Guis, above the background but below any tooltips.
    • Constructor Detail

      • BackgroundDrawnEvent

        public BackgroundDrawnEvent​(Screen gui,
                                    MatrixStack mStack)
    • Method Detail

      • getMatrixStack

        public MatrixStack getMatrixStack()
        The MatrixStack to render with.