Class GuiScreenEvent.MouseDragEvent.Pre

Enclosing class:
GuiScreenEvent.MouseDragEvent

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

    • Pre

      public Pre(Screen gui, double mouseX, double mouseY, int mouseButton, double dragX, double dragY)