Interface ScreenMouseEvents.AfterMouseClick
- All Superinterfaces:
ClientEventAwareListener
- 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.
@ClientOnly
@FunctionalInterface
public static interface ScreenMouseEvents.AfterMouseClick
extends ClientEventAwareListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterMouseClick(net.minecraft.client.gui.screen.Screen screen, double mouseX, double mouseY, int button) Called after a mouse click has been pressed in a screen.
-
Method Details
-
afterMouseClick
void afterMouseClick(net.minecraft.client.gui.screen.Screen screen, double mouseX, double mouseY, int button) Called after a mouse click has been pressed in a screen.- Parameters:
mouseX- the X position of the mousemouseY- the Y position of the mousebutton- the button number, which can be identified by the constants inGLFW.- See Also:
-