Package net.minecraftforge.client.event
Class ScreenEvent.KeyboardKeyPressedEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ScreenEvent
net.minecraftforge.client.event.ScreenEvent.KeyboardKeyEvent
net.minecraftforge.client.event.ScreenEvent.KeyboardKeyPressedEvent
- Direct Known Subclasses:
ScreenEvent.KeyboardKeyPressedEvent.Post
,ScreenEvent.KeyboardKeyPressedEvent.Pre
- Enclosing class:
- ScreenEvent
public abstract static class ScreenEvent.KeyboardKeyPressedEvent
extends ScreenEvent.KeyboardKeyEvent
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
This event fires afterGuiEventListener.keyPressed(int, int, int)
if the key was not already handled.static class
This event fires when keyboard input is detected for a GuiScreen, before it is handled.Nested classes/interfaces inherited from class net.minecraftforge.client.event.ScreenEvent
ScreenEvent.BackgroundDrawnEvent, ScreenEvent.DrawScreenEvent, ScreenEvent.InitScreenEvent, ScreenEvent.KeyboardCharTypedEvent, ScreenEvent.KeyboardKeyEvent, ScreenEvent.KeyboardKeyPressedEvent, ScreenEvent.KeyboardKeyReleasedEvent, ScreenEvent.MouseClickedEvent, ScreenEvent.MouseDragEvent, ScreenEvent.MouseInputEvent, ScreenEvent.MouseReleasedEvent, ScreenEvent.MouseScrollEvent, ScreenEvent.PotionShiftEvent, ScreenEvent.PotionSizeEvent
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
ConstructorDescriptionKeyboardKeyPressedEvent
(Screen screen, int keyCode, int scanCode, int modifiers) -
Method Summary
Methods inherited from class net.minecraftforge.client.event.ScreenEvent.KeyboardKeyEvent
getKeyCode, getModifiers, getScanCode
Methods inherited from class net.minecraftforge.client.event.ScreenEvent
getScreen
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Constructor Details
-
KeyboardKeyPressedEvent
-