Class ScreenEvent.KeyboardKeyReleasedEvent.Pre

Enclosing class:
ScreenEvent.KeyboardKeyReleasedEvent

public static class ScreenEvent.KeyboardKeyReleasedEvent.Pre extends ScreenEvent.KeyboardKeyReleasedEvent
This event fires when keyboard input is detected for a GuiScreen, before it is handled. Cancel this event to bypass GuiEventListener.keyReleased(int, int, int).
  • Constructor Details

    • Pre

      public Pre(Screen screen, int keyCode, int scanCode, int modifiers)