Class GuiScreenEvent.MouseScrollEvent.Post

Enclosing class:
GuiScreenEvent.MouseScrollEvent

public static class GuiScreenEvent.MouseScrollEvent.Post extends GuiScreenEvent.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 gui, double mouseX, double mouseY, double scrollDelta)