Interface ClientRawInputEvent.MouseClicked
- Enclosing interface:
- ClientRawInputEvent
public static interface ClientRawInputEvent.MouseClicked
-
Method Summary
Modifier and TypeMethodDescriptionmouseClicked
(net.minecraft.client.Minecraft client, int button, int action, int mods) Invoked whenever a mouse button is pressed.
-
Method Details
-
mouseClicked
Invoked whenever a mouse button is pressed. There are two variants, either a raw mouse input or the input after it is processed by the game.- Parameters:
client
- The Minecraft instance performing it.button
- The pressed mouse button.action
- The action that should be performed.mods
- Additional modifiers.- Returns:
- A
EventResult
determining the outcome of the event, the execution of the vanilla clicking mechanism may be cancelled by the result.
-