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
  • Field Details

    • mStack

      private final MatrixStack mStack
    • mouseX

      private final int mouseX
    • mouseY

      private final int mouseY
    • renderPartialTicks

      private final float renderPartialTicks
  • Constructor Details

    • DrawScreenEvent

      public DrawScreenEvent(Screen gui, MatrixStack mStack, int mouseX, int mouseY, float renderPartialTicks)
  • Method Details

    • 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.