Class GuiScreenEvent.MouseReleasedEvent.Pre

Enclosing class:
GuiScreenEvent.MouseReleasedEvent

public static class GuiScreenEvent.MouseReleasedEvent.Pre extends GuiScreenEvent.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 gui, double mouseX, double mouseY, int button)