Class GuiScreenEvent.KeyboardCharTypedEvent.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
Enclosing class:
GuiScreenEvent.KeyboardCharTypedEvent

public static class GuiScreenEvent.KeyboardCharTypedEvent.Pre extends GuiScreenEvent.KeyboardCharTypedEvent
This event fires when keyboard character input is detected for a GuiScreen, before it is handled. Cancel this event to bypass IGuiEventListener.charTyped(char, int).
  • Constructor Details

    • Pre

      public Pre(Screen gui, char codePoint, int modifiers)