Interface ClientRawInputEvent.MouseScrolled
- Enclosing interface:
- ClientRawInputEvent
public static interface ClientRawInputEvent.MouseScrolled
-
Method Summary
Modifier and TypeMethodDescriptionmouseScrolled
(net.minecraft.client.Minecraft client, double amount) Invoked whenever the mouse scroll wheel is used.
-
Method Details
-
mouseScrolled
Invoked whenever the mouse scroll wheel is used. Equivalent to Forge'sInputEvent.MouseScrollEvent
event.- Parameters:
client
- The Minecraft instance performing it.amount
- The amount of movement.- Returns:
- A
EventResult
determining the outcome of the event, the execution of the vanilla scrolling mechanism may be cancelled by the result.
-