Class ScreenEvent.MouseReleasedEvent.Pre

Enclosing class:
ScreenEvent.MouseReleasedEvent

public static class ScreenEvent.MouseReleasedEvent.Pre extends ScreenEvent.MouseReleasedEvent
This event fires when a mouse release is detected for a GuiScreen, before it is handled. Cancel this event to bypass GuiEventListener.mouseReleased(double, double, int).
  • Constructor Details

    • Pre

      public Pre(Screen screen, double mouseX, double mouseY, int button)