@Environment(value=CLIENT) @FunctionalInterface public static interface ScreenMouseEvents.AllowMouseClick
Modifier and Type | Method and Description |
---|---|
boolean |
allowMouseClick(net.minecraft.client.gui.screen.Screen screen,
double mouseX,
double mouseY,
int button) |
boolean allowMouseClick(net.minecraft.client.gui.screen.Screen screen, double mouseX, double mouseY, int button)
mouseX
- the x position of the mousemouseY
- the y position of the mousebutton
- the button number, which can be identified by the constants in GLFW
.org.lwjgl.glfw.GLFW#GLFW_MOUSE_BUTTON_1