Interface ScreenMouseEvents.BeforeMouseScroll
- Enclosing class:
ScreenMouseEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Environment(CLIENT)
@FunctionalInterface
public static interface ScreenMouseEvents.BeforeMouseScroll
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeMouseScroll
(Screen screen, double mouseX, double mouseY, double horizontalAmount, double verticalAmount) Called before a mouse has scrolled on screen.
-
Method Details
-
beforeMouseScroll
void beforeMouseScroll(Screen screen, double mouseX, double mouseY, double horizontalAmount, double verticalAmount) Called before a mouse has scrolled on screen.- Parameters:
mouseX
- the x position of the mousemouseY
- the y position of the mousehorizontalAmount
- the horizontal scroll amountverticalAmount
- the vertical scroll amount
-