Class ScreenEvent.MouseClickedEvent.Pre

Enclosing class:
ScreenEvent.MouseClickedEvent

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

    • Pre

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