Class GuiScreenEvent.BackgroundDrawnEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.GuiScreenEvent
net.minecraftforge.client.event.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.
  • Field Details

  • Constructor Details

    • BackgroundDrawnEvent

      public BackgroundDrawnEvent(Screen gui, MatrixStack mStack)
  • Method Details

    • getMatrixStack

      public MatrixStack getMatrixStack()
      The MatrixStack to render with.