Class GuiScreenEvent.KeyboardKeyPressedEvent.Post

Enclosing class:
GuiScreenEvent.KeyboardKeyPressedEvent

public static class GuiScreenEvent.KeyboardKeyPressedEvent.Post extends GuiScreenEvent.KeyboardKeyPressedEvent
This event fires after IGuiEventListener.keyPressed(int, int, int) if the key was not already handled. Cancel this event when you successfully use the keyboard input to prevent other handlers from using the same input.
  • Constructor Details

    • Post

      public Post(Screen gui, int keyCode, int scanCode, int modifiers)