类 ScreenEvent.CharacterTyped.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
封闭类:
ScreenEvent.CharacterTyped

public static class ScreenEvent.CharacterTyped.Pre extends ScreenEvent.CharacterTyped
Fired before the character input is handled by the screen.

This event is cancellable, and does not have a result. If the event is cancelled, the screen's character input handler will be bypassed and the corresponding ScreenEvent.CharacterTyped.Post will not be fired.

This event is fired on the main Forge event bus, only on the logical client.

  • 构造器详细资料

    • Pre

      @Internal public Pre(Screen screen, char codePoint, int modifiers)