Class GuiScreenEvent.MouseScrollEvent.Post

  • Enclosing class:
    GuiScreenEvent.MouseScrollEvent

    public static class GuiScreenEvent.MouseScrollEvent.Post
    extends GuiScreenEvent.MouseScrollEvent
    This event fires after IGuiEventListener#mouseScrolled(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 Detail

      • Post

        public Post​(Screen gui,
                    double mouseX,
                    double mouseY,
                    double scrollDelta)