public static class GuiScreenEvent.DrawScreenEvent extends GuiScreenEvent
Modifier and Type | Class and Description |
---|---|
static class |
GuiScreenEvent.DrawScreenEvent.Post
This event fires just after
GuiScreen.drawScreen() is called. |
static class |
GuiScreenEvent.DrawScreenEvent.Pre
This event fires just before
GuiScreen.drawScreen() is called. |
GuiScreenEvent.ActionPerformedEvent, GuiScreenEvent.BackgroundDrawnEvent, GuiScreenEvent.DrawScreenEvent, GuiScreenEvent.InitGuiEvent, GuiScreenEvent.KeyboardInputEvent, GuiScreenEvent.MouseInputEvent
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
int |
mouseX
The x coordinate of the mouse pointer on the screen.
|
int |
mouseY
The y coordinate of the mouse pointer on the screen.
|
float |
renderPartialTicks
Partial render ticks elapsed.
|
gui
Constructor and Description |
---|
DrawScreenEvent(GuiScreen gui,
int mouseX,
int mouseY,
float renderPartialTicks) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public final int mouseX
public final int mouseY
public final float renderPartialTicks
public DrawScreenEvent(GuiScreen gui, int mouseX, int mouseY, float renderPartialTicks)