Class GuiScreenEvent.MouseClickedEvent.Pre

Enclosing class:
GuiScreenEvent.MouseClickedEvent

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