@Environment(value=CLIENT) @FunctionalInterface public static interface ScreenMouseEvents.AllowMouseScroll
Modifier and Type | Method and Description |
---|---|
boolean |
allowMouseScroll(net.minecraft.client.gui.screen.Screen screen,
double mouseX,
double mouseY,
double horizontalAmount,
double verticalAmount)
Checks if the mouse should be allowed to scroll in a screen.
|
boolean allowMouseScroll(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