Class ScreenEvent.MouseScrolled.Post

Enclosing class:
ScreenEvent.MouseScrolled

public static class ScreenEvent.MouseScrolled.Post extends ScreenEvent.MouseScrolled
Fired after the mouse scroll is handled, if not handled by the screen and the corresponding ScreenEvent.MouseScrolled.Pre is not cancelled.

This event is not cancellable, and does not

invalid reference
have a result
. If the event is cancelled, the mouse scroll will be set as handled.

This event is fired on the main Forge event bus, only on the logical client.

  • Constructor Details

    • Post

      @Internal public Post(Screen screen, double mouseX, double mouseY, double scrollDeltaX, double scrollDeltaY)