Uses of Interface
com.ultikits.ultitools.ui.UiIntent
Packages that use UiIntent
Package
Description
Backend-independent UI intents (notice, confirm, form, choice, grid) and the service that shows them.
Internal chest rendering, event routing and pure gesture decoders.
Internal mapping and presentation of UI intents using Paper dialogs.
Internal session coordination and the editable-slot runtime seam.
-
Uses of UiIntent in com.ultikits.ultitools.ui
Classes in com.ultikits.ultitools.ui that implement UiIntentModifier and TypeClassDescriptionfinal classChoice<T>Pick one of a list of text options (no item icons; useGridfor that).final classA yes/no question.final classA form with one or more inputs, submitted at once.final classAn item-centred screen addressed by slot: a snapshot of what each slot shows and what a click does.final classA message with one acknowledge button.Methods in com.ultikits.ultitools.ui that return UiIntentMethods in com.ultikits.ultitools.ui with parameters of type UiIntentModifier and TypeMethodDescription<R> UiSession<R> Shows an intent with intent-dependent defaults.<R> UiSession<R> UiService.show(org.bukkit.entity.Player viewer, UiIntent<R> intent, ShowOptions options) Shows an intent with explicit options.booleanWhether this backend can showintenttoviewernow. -
Uses of UiIntent in com.ultikits.ultitools.ui.chest
Methods in com.ultikits.ultitools.ui.chest with parameters of type UiIntent -
Uses of UiIntent in com.ultikits.ultitools.ui.dialog
Methods in com.ultikits.ultitools.ui.dialog with parameters of type UiIntentModifier and TypeMethodDescriptionprivate static UiResult<?> DialogAnswers.checked(UiIntent<?> intent, ButtonRole role, @Nullable io.papermc.paper.dialog.DialogResponseView response) Maps one supported intent without constructing any Paper registry object.private DialogModelDialogMapper.model(UiIntent<?> intent, org.bukkit.entity.Player viewer, List<Text> body, List<DialogModel.Input> inputs, List<DialogModel.Button> buttons, DialogModel.Kind kind, boolean escapeCloses) private DialogModelDialogMapper.model(UiIntent<?> intent, org.bukkit.entity.Player viewer, List<Text> body, List<DialogModel.Input> inputs, List<DialogModel.Button> buttons, DialogModel.Kind kind, boolean escapeCloses, DialogModel.Button exit) UiResult<?> DialogAnswers.read(UiIntent<?> intent, ButtonRole role, @Nullable io.papermc.paper.dialog.DialogResponseView response, String owner) Returns a validated answer or a player-closed result.private static <R> voidDialogTicket.report(UiIntent<R> intent, UiBackend.BackendCallbacks<R> callbacks, DialogAnswers answers, ButtonRole role, @Nullable io.papermc.paper.dialog.DialogResponseView response, String ownerName) Forwards only the value type validated against this same intent.boolean -
Uses of UiIntent in com.ultikits.ultitools.ui.runtime
Fields in com.ultikits.ultitools.ui.runtime declared as UiIntentMethods in com.ultikits.ultitools.ui.runtime that return UiIntentMethods in com.ultikits.ultitools.ui.runtime with parameters of type UiIntentModifier and TypeMethodDescriptionprivate <R> RuntimeSession<R> RuntimeUiService.newSession(org.bukkit.entity.Player viewer, UiIntent<R> intent) <R> UiSession<R> <R> UiSession<R> RuntimeUiService.show(org.bukkit.entity.Player viewer, UiIntent<R> intent, ShowOptions options) Constructors in com.ultikits.ultitools.ui.runtime with parameters of type UiIntentModifierConstructorDescription(package private)RuntimeSession(RuntimeUiService service, org.bukkit.entity.Player viewer, UiIntent<R> intent)