Class ScreenEvent.MouseScrollEvent.Post

Enclosing class:
ScreenEvent.MouseScrollEvent

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

    • Post

      public Post(Screen screen, double mouseX, double mouseY, double scrollDelta)