Class GuiScreenEvent.DrawScreenEvent.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
Enclosing class:
GuiScreenEvent.DrawScreenEvent

public static class GuiScreenEvent.DrawScreenEvent.Pre extends GuiScreenEvent.DrawScreenEvent
This event fires just before GuiScreen#render(int, int, float) is called. Cancel this event to skip GuiScreen#render(int, int, float).
  • Constructor Details

    • Pre

      public Pre(Screen gui, MatrixStack mStack, int mouseX, int mouseY, float renderPartialTicks)