Class GuiScreenEvent.KeyboardKeyReleasedEvent.Pre

Enclosing class:
GuiScreenEvent.KeyboardKeyReleasedEvent

public static class GuiScreenEvent.KeyboardKeyReleasedEvent.Pre extends GuiScreenEvent.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 gui, int keyCode, int scanCode, int modifiers)