Class ScreenEvent.MouseDragEvent.Post

Enclosing class:
ScreenEvent.MouseDragEvent

public static class ScreenEvent.MouseDragEvent.Post extends ScreenEvent.MouseDragEvent
This event fires after GuiEventListener.mouseDragged(double, double, int, double, double) if the drag was not already handled. Cancel this event when you successfully use the mouse drag, to prevent other handlers from using the same input.
  • Constructor Details

    • Post

      public Post(Screen screen, double mouseX, double mouseY, int mouseButton, double dragX, double dragY)