Package net.minecraftforge.client.event
Class GuiScreenEvent.KeyboardKeyPressedEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.GuiScreenEvent
net.minecraftforge.client.event.GuiScreenEvent.KeyboardKeyEvent
net.minecraftforge.client.event.GuiScreenEvent.KeyboardKeyPressedEvent
- Direct Known Subclasses:
GuiScreenEvent.KeyboardKeyPressedEvent.Post
,GuiScreenEvent.KeyboardKeyPressedEvent.Pre
- Enclosing class:
- GuiScreenEvent
public abstract static class GuiScreenEvent.KeyboardKeyPressedEvent
extends GuiScreenEvent.KeyboardKeyEvent
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
This event fires afterIGuiEventListener.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.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
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 gui, int keyCode, int scanCode, int modifiers) -
Method Summary
Methods inherited from class net.minecraftforge.client.event.GuiScreenEvent.KeyboardKeyEvent
getKeyCode, getModifiers, getScanCode
Methods inherited from class net.minecraftforge.client.event.GuiScreenEvent
getGui
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Constructor Details
-
KeyboardKeyPressedEvent
-