Package net.minecraftforge.client.event
Class GuiScreenEvent.KeyboardKeyPressedEvent.Pre
- 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
-
- net.minecraftforge.client.event.GuiScreenEvent.KeyboardKeyPressedEvent.Pre
-
- Enclosing class:
- GuiScreenEvent.KeyboardKeyPressedEvent
public static class GuiScreenEvent.KeyboardKeyPressedEvent.Pre extends GuiScreenEvent.KeyboardKeyPressedEvent
This event fires when keyboard input is detected for a GuiScreen, before it is handled. Cancel this event to bypassIGuiEventListener.keyPressed(int, int, int)
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.client.event.GuiScreenEvent.KeyboardKeyPressedEvent
GuiScreenEvent.KeyboardKeyPressedEvent.Post, GuiScreenEvent.KeyboardKeyPressedEvent.Pre
-
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
-
-
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
-
-
-
-
Constructor Detail
-
Pre
public Pre(Screen gui, int keyCode, int scanCode, int modifiers)
-
-