Class NativeUiInput.State

java.lang.Object
com.viaversion.viafabricplus.bedrock.screen.ui.NativeUiInput.State
Enclosing class:
NativeUiInput

public static final class NativeUiInput.State extends Object
  • Constructor Details

  • Method Details

    • phase

      public int phase(int index)
    • invalidateMappings

      public void invalidateMappings()
      Visibility callbacks and input-order removal preserve double-press history.
    • dispatch

      public NativeUiInput.Dispatch dispatch(int source, int phase, NativeUiInput.Context context)
      Dispatches an Input component without sibling event handlers.
    • dispatch

      public NativeUiInput.Dispatch dispatch(int source, int phase, NativeUiInput.Context context, Consumer<NativeUiInput.ButtonEvent> handler)
      Sibling components run before the sender commits its accepted mapping phase.
    • hover

      public NativeUiInput.Hover hover(boolean previous, boolean inside, boolean forcedOut, int handlerMask)
      The caller supplies geometry/control admission; hover_enabled is checked by the native pointer entry, not this handler.
    • pointer

      public NativeUiInput.Pointer pointer(boolean previous, boolean inside, boolean forcedOut, int handlerMask)
    • suppress

      public void suppress(int source, int phase, NativeUiInput.Context context)