public static class GuiScreenEvent.BackgroundDrawnEvent extends GuiScreenEvent
GuiScreen.drawDefaultBackground()
and before the rest of the Gui draws.
This allows drawing next to Guis, above the background but below any tooltips.GuiScreenEvent.ActionPerformedEvent, GuiScreenEvent.BackgroundDrawnEvent, GuiScreenEvent.DrawScreenEvent, GuiScreenEvent.InitGuiEvent, GuiScreenEvent.KeyboardInputEvent, GuiScreenEvent.MouseInputEvent, GuiScreenEvent.PotionShiftEvent
Event.HasResult, Event.Result
Constructor and Description |
---|
BackgroundDrawnEvent(GuiScreen gui) |
Modifier and Type | Method and Description |
---|---|
int |
getMouseX()
The x coordinate of the mouse pointer on the screen.
|
int |
getMouseY()
The y coordinate of the mouse pointer on the screen.
|
getGui
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public BackgroundDrawnEvent(GuiScreen gui)