类 ScreenEvent.CharacterTyped

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ScreenEvent
net.minecraftforge.client.event.ScreenEvent.CharacterTyped
直接已知子类:
ScreenEvent.CharacterTyped.Post, ScreenEvent.CharacterTyped.Pre
封闭类:
ScreenEvent

public static class ScreenEvent.CharacterTyped extends ScreenEvent
Fired when a keyboard key corresponding to a character is typed. See the two subclasses for listening before and after the normal handling.
另请参阅:
  • 字段详细资料

    • codePoint

      private final char codePoint
    • modifiers

      private final int modifiers
  • 构造器详细资料

    • CharacterTyped

      @Internal public CharacterTyped(Screen screen, char codePoint, int modifiers)
  • 方法详细资料

    • getCodePoint

      public char getCodePoint()
      返回 the character code point。
      返回:
      the character code point
    • getModifiers

      public int getModifiers()
      返回 a bit field representing the active modifier keys。
      返回:
      a bit field representing the active modifier keys
      另请参阅: