Package net.minecraftforge.client.event
Class GuiScreenEvent.DrawScreenEvent
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.client.event.GuiScreenEvent
-
- net.minecraftforge.client.event.GuiScreenEvent.DrawScreenEvent
-
- Direct Known Subclasses:
GuiScreenEvent.DrawScreenEvent.Post
,GuiScreenEvent.DrawScreenEvent.Pre
- Enclosing class:
- GuiScreenEvent
public static class GuiScreenEvent.DrawScreenEvent extends GuiScreenEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GuiScreenEvent.DrawScreenEvent.Post
This event fires just afterGuiScreen#render(int, int, float)
is called.static class
GuiScreenEvent.DrawScreenEvent.Pre
This event fires just beforeGuiScreen#render(int, int, float)
is called.-
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 int
mouseX
private int
mouseY
private MatrixStack
mStack
private float
renderPartialTicks
-
Constructor Summary
Constructors Constructor Description DrawScreenEvent(Screen gui, MatrixStack mStack, int mouseX, int mouseY, float renderPartialTicks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatrixStack
getMatrixStack()
The MatrixStack to render with.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.-
Methods inherited from class net.minecraftforge.client.event.GuiScreenEvent
getGui
-
-
-
-
Field Detail
-
mStack
private final MatrixStack mStack
-
mouseX
private final int mouseX
-
mouseY
private final int mouseY
-
renderPartialTicks
private final float renderPartialTicks
-
-
Constructor Detail
-
DrawScreenEvent
public DrawScreenEvent(Screen gui, MatrixStack mStack, int mouseX, int mouseY, float renderPartialTicks)
-
-
Method Detail
-
getMatrixStack
public MatrixStack getMatrixStack()
The MatrixStack to render with.
-
getMouseX
public int getMouseX()
The x coordinate of the mouse pointer on the screen.
-
getMouseY
public int getMouseY()
The y coordinate of the mouse pointer on the screen.
-
getRenderPartialTicks
public float getRenderPartialTicks()
Partial render ticks elapsed.
-
-