Interface ScreenMouseEvents.AfterMouseDrag
- 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 TypeMethodDescriptionbooleanafterMouseDrag(net.minecraft.client.gui.screens.Screen screen, net.minecraft.client.input.MouseButtonEvent context, double horizontalAmount, double verticalAmount, boolean consumed) Called after a mouse is dragged on screen.
-
Method Details
-
afterMouseDrag
boolean afterMouseDrag(net.minecraft.client.gui.screens.Screen screen, net.minecraft.client.input.MouseButtonEvent context, double horizontalAmount, double verticalAmount, boolean consumed) Called after 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 amountconsumed- whether the mouse drag was already consumed- See Also:
-