public abstract static class GuiScreenEvent.MouseClickedEvent extends GuiScreenEvent.MouseInputEvent
Modifier and Type | Class and Description |
---|---|
static class |
GuiScreenEvent.MouseClickedEvent.Post
This event fires after
IGuiEventListener.mouseClicked(double, double, int) if the click was not already handled. |
static class |
GuiScreenEvent.MouseClickedEvent.Pre
This event fires when a mouse click is detected for a GuiScreen, before it is handled.
|
GuiScreenEvent.ActionPerformedEvent, GuiScreenEvent.BackgroundDrawnEvent, GuiScreenEvent.DrawScreenEvent, GuiScreenEvent.InitGuiEvent, GuiScreenEvent.KeyboardCharTypedEvent, GuiScreenEvent.KeyboardKeyEvent, GuiScreenEvent.KeyboardKeyPressedEvent, GuiScreenEvent.KeyboardKeyReleasedEvent, GuiScreenEvent.MouseClickedEvent, GuiScreenEvent.MouseDragEvent, GuiScreenEvent.MouseInputEvent, GuiScreenEvent.MouseReleasedEvent, GuiScreenEvent.MouseScrollEvent, GuiScreenEvent.PotionShiftEvent
Modifier and Type | Field and Description |
---|---|
private int |
button |
Constructor and Description |
---|
MouseClickedEvent(Screen gui,
double mouseX,
double mouseY,
int button) |
Modifier and Type | Method and Description |
---|---|
int |
getButton() |
getMouseX, getMouseY
getGui
public MouseClickedEvent(Screen gui, double mouseX, double mouseY, int button)