Package net.minecraftforge.client.event
Class InputEvent.MouseScrollEvent
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.client.event.InputEvent
-
- net.minecraftforge.client.event.InputEvent.MouseScrollEvent
-
- Enclosing class:
- InputEvent
public static class InputEvent.MouseScrollEvent extends InputEvent
This event fires when the mouse scroll wheel is used outside of a gui.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.client.event.InputEvent
InputEvent.ClickInputEvent, InputEvent.KeyInputEvent, InputEvent.MouseInputEvent, InputEvent.MouseScrollEvent, InputEvent.RawMouseEvent
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
leftDown
private boolean
middleDown
private double
mouseX
private double
mouseY
private boolean
rightDown
private double
scrollDelta
-
Constructor Summary
Constructors Constructor Description MouseScrollEvent(double scrollDelta, boolean leftDown, boolean middleDown, boolean rightDown, double mouseX, double mouseY)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getMouseX()
double
getMouseY()
double
getScrollDelta()
boolean
isLeftDown()
boolean
isMiddleDown()
boolean
isRightDown()
-