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.MouseScrollEventevent.- Parameters:
client- The Minecraft instance performing it.amount- The amount of movement.- Returns:
- A
EventResultdetermining the outcome of the event, the execution of the vanilla scrolling mechanism may be cancelled by the result.
-