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.PotionShiftEvent
Event.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.
|
getGui
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public DrawScreenEvent(GuiScreen gui, int mouseX, int mouseY, float renderPartialTicks)