Package net.minecraftforge.client.event
Class InputEvent.MouseButton.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.InputEvent
net.minecraftforge.client.event.InputEvent.MouseButton
net.minecraftforge.client.event.InputEvent.MouseButton.Pre
- Enclosing class:
- InputEvent.MouseButton
Fired when a mouse button is pressed/released, before being processed by vanilla.
This event is cancellable, and does not have a result. If the event is cancelled, then the mouse event will not be processed by vanilla (e.g. keymappings and screens)
This event is fired on the main Forge event bus, only on the logical client.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.event.InputEvent.MouseButton
InputEvent.MouseButton.Post, InputEvent.MouseButton.Pre
Nested classes/interfaces inherited from class net.minecraftforge.client.event.InputEvent
InputEvent.InteractionKeyMappingTriggered, InputEvent.Key, InputEvent.MouseButton, InputEvent.MouseScrollingEvent
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.client.event.InputEvent.MouseButton
getAction, getButton, getModifiers
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Pre
@Internal public Pre(int button, int action, int modifiers)
-