Package net.minecraftforge.client.event
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 ofGuiScreen#drawBackground(int)
and before the rest of the Gui draws. This allows drawing next to Guis, above the background but below any tooltips.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.client.event.GuiScreenEvent
GuiScreenEvent.BackgroundDrawnEvent, GuiScreenEvent.DrawScreenEvent, GuiScreenEvent.InitGuiEvent, GuiScreenEvent.KeyboardCharTypedEvent, GuiScreenEvent.KeyboardKeyEvent, GuiScreenEvent.KeyboardKeyPressedEvent, GuiScreenEvent.KeyboardKeyReleasedEvent, GuiScreenEvent.MouseClickedEvent, GuiScreenEvent.MouseDragEvent, GuiScreenEvent.MouseInputEvent, GuiScreenEvent.MouseReleasedEvent, GuiScreenEvent.MouseScrollEvent, GuiScreenEvent.PotionShiftEvent
-
-
Field Summary
Fields Modifier and Type Field Description private MatrixStack
mStack
-
Constructor Summary
Constructors Constructor Description BackgroundDrawnEvent(Screen gui, MatrixStack mStack)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatrixStack
getMatrixStack()
The MatrixStack to render with.-
Methods inherited from class net.minecraftforge.client.event.GuiScreenEvent
getGui
-
-
-
-
Field Detail
-
mStack
private final MatrixStack mStack
-
-
Constructor Detail
-
BackgroundDrawnEvent
public BackgroundDrawnEvent(Screen gui, MatrixStack mStack)
-
-
Method Detail
-
getMatrixStack
public MatrixStack getMatrixStack()
The MatrixStack to render with.
-
-