@Environment(value=CLIENT) @FunctionalInterface public static interface ScreenMouseEvents.BeforeMouseClick
Modifier and Type | Method and Description |
---|---|
void |
beforeMouseClick(net.minecraft.client.gui.screen.Screen screen,
double mouseX,
double mouseY,
int button) |
void beforeMouseClick(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