@Environment(value=CLIENT) @FunctionalInterface public static interface ScreenMouseEvents.AfterMouseScroll
Modifier and Type | Method and Description |
---|---|
void |
afterMouseScroll(net.minecraft.client.gui.screen.Screen screen,
double mouseX,
double mouseY,
double horizontalAmount,
double verticalAmount)
Called after a mouse has scrolled on screen.
|
void afterMouseScroll(net.minecraft.client.gui.screen.Screen screen, double mouseX, double mouseY, double horizontalAmount, double verticalAmount)
mouseX
- the x position of the mousemouseY
- the y position of the mousehorizontalAmount
- the horizontal scroll amountverticalAmount
- the vertical scroll amount