Class ScreenEvent.MouseScrolled.Post
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.ScreenEvent
net.neoforged.neoforge.client.event.ScreenEvent.MouseInput
net.neoforged.neoforge.client.event.ScreenEvent.MouseScrolled
net.neoforged.neoforge.client.event.ScreenEvent.MouseScrolled.Post
- Enclosing class:
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
.
If the event is cancelled, the mouse scroll will be set as handled.invalid reference
have a result
This event is fired on the main Forge event bus, only on the logical client.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.neoforge.client.event.ScreenEvent.MouseScrolled
ScreenEvent.MouseScrolled.Post, ScreenEvent.MouseScrolled.Pre
Nested classes/interfaces inherited from class net.neoforged.neoforge.client.event.ScreenEvent
ScreenEvent.BackgroundRendered, ScreenEvent.CharacterTyped, ScreenEvent.Closing, ScreenEvent.Init, ScreenEvent.KeyPressed, ScreenEvent.KeyReleased, ScreenEvent.MouseButtonPressed, ScreenEvent.MouseButtonReleased, ScreenEvent.MouseDragged, ScreenEvent.MouseScrolled, ScreenEvent.Opening, ScreenEvent.Render, ScreenEvent.RenderInventoryMobEffects
-
Constructor Summary
-
Method Summary
Methods inherited from class net.neoforged.neoforge.client.event.ScreenEvent.MouseScrolled
getScrollDeltaX, getScrollDeltaY
Methods inherited from class net.neoforged.neoforge.client.event.ScreenEvent.MouseInput
getMouseX, getMouseY
Methods inherited from class net.neoforged.neoforge.client.event.ScreenEvent
getScreen
-
Constructor Details
-
Post
@Internal public Post(Screen screen, double mouseX, double mouseY, double scrollDeltaX, double scrollDeltaY)
-