Package net.minecraftforge.client.event
Class GuiScreenEvent.MouseClickedEvent
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.client.event.GuiScreenEvent
-
- net.minecraftforge.client.event.GuiScreenEvent.MouseInputEvent
-
- net.minecraftforge.client.event.GuiScreenEvent.MouseClickedEvent
-
- Direct Known Subclasses:
GuiScreenEvent.MouseClickedEvent.Post
,GuiScreenEvent.MouseClickedEvent.Pre
- Enclosing class:
- GuiScreenEvent
public abstract static class GuiScreenEvent.MouseClickedEvent extends GuiScreenEvent.MouseInputEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GuiScreenEvent.MouseClickedEvent.Post
This event fires afterIGuiEventListener.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.-
Nested classes/interfaces inherited from class net.minecraftforge.client.event.GuiScreenEvent
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
-
-
Field Summary
Fields Modifier and Type Field Description private int
button
-
Constructor Summary
Constructors Constructor Description MouseClickedEvent(Screen gui, double mouseX, double mouseY, int button)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getButton()
-
Methods inherited from class net.minecraftforge.client.event.GuiScreenEvent.MouseInputEvent
getMouseX, getMouseY
-
Methods inherited from class net.minecraftforge.client.event.GuiScreenEvent
getGui
-
-
-
-
Constructor Detail
-
MouseClickedEvent
public MouseClickedEvent(Screen gui, double mouseX, double mouseY, int button)
-
-