- 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.AllowMouseScroll
-
Method Summary
Modifier and Type |
Method |
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.
|