Class InputEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.InputEvent
- Direct Known Subclasses:
InputEvent.InteractionKeyMappingTriggered,InputEvent.Key,InputEvent.MouseButton,InputEvent.MouseScrollingEvent
public abstract class InputEvent
extends net.neoforged.bus.api.Event
Fired when an input is detected from the user's input devices.
See the various subclasses to listen for specific devices and inputs.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFired when a keymapping that by default involves clicking the mouse buttons is triggered.static classFired when a keyboard key input occurs, such as pressing, releasing, or repeating a key.static classFired when a mouse button is pressed/released.static classFired when a mouse scroll wheel is used outside of a screen and a player is loaded, before being processed by vanilla. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InputEvent
@Internal protected InputEvent()
-