Class GuiScreenEvent.MouseDragEvent.Post

Enclosing class:
GuiScreenEvent.MouseDragEvent

public static class GuiScreenEvent.MouseDragEvent.Post extends GuiScreenEvent.MouseDragEvent
This event fires after IGuiEventListener.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 gui, double mouseX, double mouseY, int mouseButton, double dragX, double dragY)