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, GuiScreenEvent.PotionShiftEventEvent.HasResult, Event.Result| Constructor and Description |
|---|
DrawScreenEvent(GuiScreen gui,
int mouseX,
int mouseY,
float renderPartialTicks) |
| 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.
|
float |
getRenderPartialTicks()
Partial render ticks elapsed.
|
getGuigetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic DrawScreenEvent(GuiScreen gui, int mouseX, int mouseY, float renderPartialTicks)