Class ScreenEvent.Preedit

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.ScreenEvent
net.neoforged.neoforge.client.event.ScreenEvent.Preedit
Direct Known Subclasses:
ScreenEvent.Preedit.Post, ScreenEvent.Preedit.Pre
Enclosing class:
ScreenEvent

public abstract static class ScreenEvent.Preedit extends ScreenEvent

Fired when an Input Method Editor (IME) preedit event is received by a screen.

An IME lets users enter text that is not directly available from their keyboard, such as Chinese, Japanese, and Korean characters. While input is being composed, the IME supplies temporary preedit text that can change until the user commits it.

See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getPreeditEvent

      public @Nullable PreeditEvent getPreeditEvent()
      Returns the current preedit composition, or null if there is no active composition.
      Returns:
      the current preedit composition, or null if there is no active composition