Interface ScreenMouseEvents.BeforeMouseDrag
- 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.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeMouseDrag(net.minecraft.client.gui.screens.Screen screen, net.minecraft.client.input.MouseButtonEvent context, double horizontalAmount, double verticalAmount) Called before a mouse is dragged on screen.
-
Method Details
-
beforeMouseDrag
void beforeMouseDrag(net.minecraft.client.gui.screens.Screen screen, net.minecraft.client.input.MouseButtonEvent context, double horizontalAmount, double verticalAmount) Called before a mouse is dragged on screen.- Parameters:
screen- the screencontext- the context of the mouse drag, containing the mouse position and buttonhorizontalAmount- the horizontal drag amountverticalAmount- the vertical drag amount- See Also:
-