Class ScreenEvent.DrawScreenEvent.Pre

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

public static class ScreenEvent.DrawScreenEvent.Pre extends ScreenEvent.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 screen, PoseStack poseStack, int mouseX, int mouseY, float partialTick)