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