Class ScreenEvent.Render.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
Enclosing class:
ScreenEvent.Render

public static class ScreenEvent.Render.Pre extends ScreenEvent.Render
Fired before the screen is drawn.

This event is cancellable, and does not have a result. If the event is cancelled, the screen will not be drawn.

This event is fired on the main Forge event bus, only on the logical client.

  • Constructor Details

    • Pre

      @Internal public Pre(Screen screen, GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)