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 Screen.render(PoseStack, int, int, float) is called. Cancel this event to skip the render method.
  • Constructor Details

    • Pre

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