Interface ScreenMouseEvents.AllowMouseRelease
- 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 TypeMethodDescriptionbooleanallowMouseRelease(net.minecraft.client.gui.screens.Screen screen, net.minecraft.client.input.MouseButtonEvent context) Checks if the mouse click should be allowed to release in a screen.
-
Method Details
-
allowMouseRelease
boolean allowMouseRelease(net.minecraft.client.gui.screens.Screen screen, net.minecraft.client.input.MouseButtonEvent context) Checks if the mouse click should be allowed to release in a screen.- Parameters:
screen- the screencontext- the context of the mouse release, containing the mouse position and button- See Also:
-