Class ScreenEvent.BackgroundDrawnEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ScreenEvent
net.minecraftforge.client.event.ScreenEvent.BackgroundDrawnEvent
Enclosing class:
ScreenEvent

public static class ScreenEvent.BackgroundDrawnEvent extends ScreenEvent
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

    • poseStack

      private final PoseStack poseStack
  • Constructor Details

    • BackgroundDrawnEvent

      public BackgroundDrawnEvent(Screen screen, PoseStack poseStack)
  • Method Details

    • getPoseStack

      public PoseStack getPoseStack()
      The PoseStack to render with.