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 Screen.renderBackground(PoseStack, 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, PoseStack mStack)
  • Method Details

    • getMatrixStack

      public PoseStack getMatrixStack()
      The MatrixStack to render with.