Uses of Interface
com.ultikits.ultitools.text.Text
Packages that use Text
Package
Description
New command handling framework with improved architecture.
Command validation framework using Chain of Responsibility pattern.
The rendering engine and GUI base classes: build grid snapshots, show sessions, schedule entity frames.
The bundled widget library.
Immutable item descriptions rendered per viewer locale; non-null by default.
Text, stable message keys and locale resolution for UltiTools 7.
Internal catalogue loading, locale selection and Adventure rendering for the text contracts.
Backend-independent UI intents (notice, confirm, form, choice, grid) and the service that shows them.
Framework-owned item conservation, contribution accounting and bounded container lifecycle.
Internal mapping and presentation of UI intents using Paper dialogs.
-
Uses of Text in com.ultikits.ultitools.abstracts.command
Methods in com.ultikits.ultitools.abstracts.command that return TextMethods in com.ultikits.ultitools.abstracts.command with parameters of type TextModifier and TypeMethodDescription(package private) static voidBaseCommandExecutor.sendValidationFailure(org.bukkit.command.CommandSender sender, Text text, String legacyMessage) -
Uses of Text in com.ultikits.ultitools.abstracts.command.validation
Fields in com.ultikits.ultitools.abstracts.command.validation declared as TextMethods in com.ultikits.ultitools.abstracts.command.validation that return TextModifier and TypeMethodDescriptionCommandValidator.ValidationResult.getErrorText()Returns deferred text, or null for success and legacy string failures.ValidatorChain.ChainValidationResult.getErrorText()Returns deferred text from the first failure, or null for success or a legacy string failure.Methods in com.ultikits.ultitools.abstracts.command.validation with parameters of type TextModifier and TypeMethodDescriptionCreates a failure rendered in the eventual recipient's language.Constructors in com.ultikits.ultitools.abstracts.command.validation with parameters of type TextModifierConstructorDescriptionprivateValidationResult(boolean valid, String errorMessage, String errorKey, Text errorText) -
Uses of Text in com.ultikits.ultitools.abstracts.gui.declarative.engine
Fields in com.ultikits.ultitools.abstracts.gui.declarative.engine declared as TextConstructors in com.ultikits.ultitools.abstracts.gui.declarative.engine with parameters of type TextModifierConstructorDescriptionprotectedDeclarativeGui(UiService ui, Scheduler scheduler, org.bukkit.entity.Player viewer, String id, Text title, int rows) GuiRenderer(Text title, int rows, GuiScheduler scheduler, Consumer<Grid> sink) Creates a snapshot renderer; the caller supplies the first frame to UiService and later frames to its session.(package private)SnapshotBuilder(Text title, int rows) protectedStatefulDeclarativeGui(UiService ui, Scheduler scheduler, org.bukkit.entity.Player viewer, String id, Text title, int rows) -
Uses of Text in com.ultikits.ultitools.abstracts.gui.declarative.widgets
Fields in com.ultikits.ultitools.abstracts.gui.declarative.widgets declared as TextModifier and TypeFieldDescriptionprivate TextTextButton.Builder.textprivate final TextTextButton.textFields in com.ultikits.ultitools.abstracts.gui.declarative.widgets with type parameters of type TextMethods in com.ultikits.ultitools.abstracts.gui.declarative.widgets that return TextMethods in com.ultikits.ultitools.abstracts.gui.declarative.widgets that return types with arguments of type TextMethods in com.ultikits.ultitools.abstracts.gui.declarative.widgets with parameters of type TextMethod parameters in com.ultikits.ultitools.abstracts.gui.declarative.widgets with type arguments of type Text -
Uses of Text in com.ultikits.ultitools.commands
Methods in com.ultikits.ultitools.commands that return TextModifier and TypeMethodDescriptionprivate static TextPluginInstallCommands.requesterText(PendingChanges.Requester requester) -
Uses of Text in com.ultikits.ultitools.item
Fields in com.ultikits.ultitools.item declared as TextModifier and TypeFieldDescriptionprivate @Nullable TextItemSpec.Builder.nameprivate final @Nullable TextItemSpec.nameFields in com.ultikits.ultitools.item with type parameters of type TextMethods in com.ultikits.ultitools.item that return TextModifier and TypeMethodDescription@Nullable TextItemSpec.name()Returns text for ITEM_NAME (the non-italic default name), or absent.Methods in com.ultikits.ultitools.item that return types with arguments of type TextModifier and TypeMethodDescriptionItemSpec.lore()Returns unmodifiable lore; empty means no LORE component is set.Methods in com.ultikits.ultitools.item with parameters of type TextModifier and TypeMethodDescriptionAppends a deferred lore line.Sets the deferred name, or clears it with null.Method parameters in com.ultikits.ultitools.item with type arguments of type TextModifier and TypeMethodDescriptionReplaces lore with a defensive copy of the lines. -
Uses of Text in com.ultikits.ultitools.services
Methods in com.ultikits.ultitools.services with parameters of type TextModifier and TypeMethodDescriptionvoidNotificationService.sendActionBarNotification(org.bukkit.entity.Player player, Text message) Shows text above the hotbar.default voidNotificationService.sendBossBarNotification(org.bukkit.entity.Player player, Text message) Shows a green, continuous boss bar for the default lifetime without a sound.default voidNotificationService.sendBossBarNotification(org.bukkit.entity.Player player, Text message, Duration duration) Shows a green, continuous boss bar for the given lifetime without a sound.voidNotificationService.sendBossBarNotification(org.bukkit.entity.Player player, Text message, Duration duration, net.kyori.adventure.bossbar.BossBar.Color color, net.kyori.adventure.bossbar.BossBar.Overlay overlay, @Nullable net.kyori.adventure.sound.Sound sound) Shows a boss bar that empties overdurationand then disappears.default voidNotificationService.sendBossBarNotification(org.bukkit.entity.Player player, Text message, Duration duration, @Nullable net.kyori.adventure.sound.Sound sound) Shows a green, continuous boss bar with an optional sound.default voidNotificationService.sendMessageNotification(org.bukkit.entity.Player player, Text message) Sends a chat message without a sound.voidNotificationService.sendMessageNotification(org.bukkit.entity.Player player, Text message, @Nullable net.kyori.adventure.sound.Sound sound) Sends a chat message and optionally plays a sound to the player.default voidNotificationService.sendSubTitleNotification(org.bukkit.entity.Player player, Text subtitle) Shows a subtitle and an empty title, without a sound.default voidNotificationService.sendSubTitleNotification(org.bukkit.entity.Player player, Text subtitle, @Nullable net.kyori.adventure.sound.Sound sound) Shows a subtitle and an empty title with an optional sound.default voidNotificationService.sendTitleNotification(org.bukkit.entity.Player player, Text title, Text subtitle) Shows a title and subtitle with the default times, without a sound.default voidNotificationService.sendTitleNotification(org.bukkit.entity.Player player, Text title, Text subtitle, @Nullable net.kyori.adventure.sound.Sound sound) Shows a title and subtitle with the default times and an optional sound.voidNotificationService.sendTitleNotification(org.bukkit.entity.Player player, Text title, Text subtitle, @Nullable net.kyori.adventure.sound.Sound sound, net.kyori.adventure.title.Title.Times times) Shows a title and subtitle with the given times and optionally plays a sound. -
Uses of Text in com.ultikits.ultitools.services.impl
Methods in com.ultikits.ultitools.services.impl with parameters of type TextModifier and TypeMethodDescriptionvoidInMemoryNotificationService.sendActionBarNotification(org.bukkit.entity.Player player, Text message) voidInMemoryNotificationService.sendBossBarNotification(org.bukkit.entity.Player player, Text message, Duration duration, net.kyori.adventure.bossbar.BossBar.Color color, net.kyori.adventure.bossbar.BossBar.Overlay overlay, @Nullable net.kyori.adventure.sound.Sound sound) voidInMemoryNotificationService.sendMessageNotification(org.bukkit.entity.Player player, Text message, @Nullable net.kyori.adventure.sound.Sound sound) voidInMemoryNotificationService.sendTitleNotification(org.bukkit.entity.Player player, Text title, Text subtitle, @Nullable net.kyori.adventure.sound.Sound sound, net.kyori.adventure.title.Title.Times times) -
Uses of Text in com.ultikits.ultitools.text
Classes in com.ultikits.ultitools.text that implement TextModifier and TypeClassDescriptionstatic final recordFixed text.static final recordA deferred message with an unmodifiable argument copy.Fields in com.ultikits.ultitools.text declared as TextModifier and TypeFieldDescriptionprivate final TextArg.Localized.valueThe field for thevaluerecord component.Methods in com.ultikits.ultitools.text that return TextModifier and TypeMethodDescriptionstatic TextText.literal(net.kyori.adventure.text.ComponentLike component) Returns a fixed component, identical for all locales.static TextText.of(MessageKey key, Arg... args) Returns a deferred message; argument names must be unique.static TextText.of(MessageKey key, List<? extends Arg> args) Returns a deferred message; argument names must be unique.static TextShorthand forliteral(Component.text(plain)).Arg.Localized.value()Returns the value of thevaluerecord component.Methods in com.ultikits.ultitools.text with parameters of type TextModifier and TypeMethodDescriptionvoidMessages.forEachRecipient(net.kyori.adventure.audience.Audience audience, Text text, BiConsumer<? super net.kyori.adventure.audience.Audience, ? super net.kyori.adventure.text.Component> action) Expands a forwarding audience withAudience.forEachAudience(java.util.function.Consumer)and invokes the action once per leaf recipient with text rendered in that recipient's locale.net.kyori.adventure.text.ComponentRenders in the requested locale; never throws for a missing key or translation.net.kyori.adventure.text.ComponentRenders using the viewer'sresolved locale.default voidSends chat text in each recipient's resolved locale.default voidMessages.sendActionBar(net.kyori.adventure.audience.Audience audience, Text text) Sends action-bar text in each recipient's resolved locale.net.kyori.adventure.text.ComponentReturns text for a shared object (entity name, text display or shared boss bar).static ArgReturns deferred text, rendered in the enclosing message's locale.Constructors in com.ultikits.ultitools.text with parameters of type Text -
Uses of Text in com.ultikits.ultitools.text.internal
Methods in com.ultikits.ultitools.text.internal with parameters of type TextModifier and TypeMethodDescriptionvoidModuleMessages.forEachRecipient(net.kyori.adventure.audience.Audience audience, Text text, BiConsumer<? super net.kyori.adventure.audience.Audience, ? super net.kyori.adventure.text.Component> action) net.kyori.adventure.text.ComponentRenders literal or translated text in the requested locale.net.kyori.adventure.text.Componentnet.kyori.adventure.text.Componentnet.kyori.adventure.text.Component -
Uses of Text in com.ultikits.ultitools.ui
Fields in com.ultikits.ultitools.ui declared as TextModifier and TypeFieldDescriptionprivate TextNotice.Builder.buttonprivate final TextNotice.buttonprivate final TextChoiceInput.labelprivate final TextChoiceOption.labelThe field for thelabelrecord component.private final TextSliderInput.Builder.labelprivate final TextSliderInput.labelprivate final TextTextInput.Builder.labelprivate final TextTextInput.labelprivate final TextToggleInput.labelprivate final @Nullable TextTransferDecision.messageprivate TextConfirm.Builder.noprivate final TextConfirm.noprivate TextForm.Builder.submitprivate final TextForm.submitprivate final TextChoice.Builder.titleprivate final TextChoice.titleprivate final TextConfirm.Builder.titleprivate final TextConfirm.titleprivate final TextForm.Builder.titleprivate final TextForm.titleprivate final TextGrid.Builder.titleprivate final TextGrid.titleprivate final TextNotice.Builder.titleprivate final TextNotice.titleprivate final @Nullable TextChoiceOption.tooltipThe field for thetooltiprecord component.private TextConfirm.Builder.yesprivate final TextConfirm.yesFields in com.ultikits.ultitools.ui with type parameters of type TextModifier and TypeFieldDescriptionChoice.bodyChoice.Builder.bodyConfirm.bodyConfirm.Builder.bodyForm.bodyForm.Builder.bodyNotice.bodyNotice.Builder.bodyMethods in com.ultikits.ultitools.ui that return TextModifier and TypeMethodDescriptionNotice.button()Button label; defaults to the framework messageultitools:ui.ok.ChoiceInput.label()ChoiceOption.label()Returns the value of thelabelrecord component.FormInput.label()The deferred label.SliderInput.label()TextInput.label()ToggleInput.label()Confirm.no()Defaults toultitools:ui.no.Form.submit()Defaults toultitools:ui.submit.Choice.title()Confirm.title()Form.title()Grid.title()Notice.title()UiIntent.title()Title shown by every backend.@Nullable TextChoiceOption.tooltip()Returns the value of thetooltiprecord component.Confirm.yes()Defaults toultitools:ui.yes.Methods in com.ultikits.ultitools.ui that return types with arguments of type TextModifier and TypeMethodDescriptionChoice.body()Body lines in display order; unmodifiable.Confirm.body()Body lines in display order; unmodifiable.Form.body()Body lines; unmodifiable.Notice.body()Body lines, unmodifiable and in display order.TransferDecision.message()The refusal message, if any.Methods in com.ultikits.ultitools.ui with parameters of type TextModifier and TypeMethodDescriptionAppends one line.Appends one line.Appends one line.Appends one line.static <T> Choice.Builder<T> static Confirm.BuilderStarts a question description.static Form.Builderstatic Grid.Builderstatic Notice.BuilderStarts an immutable message description.static SliderInput.BuilderStarts a finite range, initially at its minimum, with step 1.static TextInput.BuilderStarts an input with an empty initial string, maximum length 32 and one line.Sets the acknowledge button label.Sets the negative label.static <T> ChoiceInput<T> ChoiceInput.of(String key, Text label, List<ChoiceOption<T>> options) Uses the first option initially.static <T> ChoiceInput<T> ChoiceInput.of(String key, Text label, List<ChoiceOption<T>> options, T initial) initialmust be one of the options' values.static <T> ChoiceOption<T> Creates an option without a tooltip.static ToggleInputCreates a checkbox with a validated key.Appends an option without a tooltip.static TransferDecisionRefuses and sendsmessageto the viewer (rendered in their locale).Sets the submit label.Sets the affirmative label.Method parameters in com.ultikits.ultitools.ui with type arguments of type TextModifier and TypeMethodDescriptionReplaces the body with a defensive copy.Replaces the body with a defensive copy.Replaces the body with a defensive copy.Replaces the body with a defensive copy.Constructors in com.ultikits.ultitools.ui with parameters of type TextModifierConstructorDescriptionprivateprivateprivateprivateprivateprivateprivateprivateChoiceInput(String key, Text label, List<ChoiceOption<T>> options, T initial) ChoiceOption(T value, Text label, @Nullable Text tooltip) Rejects a null value or label.privateToggleInput(String key, Text label, boolean initial) privateTransferDecision(int limit, @Nullable Text message) -
Uses of Text in com.ultikits.ultitools.ui.container
Fields in com.ultikits.ultitools.ui.container with type parameters of type TextModifier and TypeFieldDescriptionprivate final BiConsumer<org.bukkit.entity.Player, Text> ConservingGestureEngine.notifierConservingGestureEngine.Plan.sentConstructor parameters in com.ultikits.ultitools.ui.container with type arguments of type TextModifierConstructorDescription(package private)ConservingGestureEngine(BooleanSupplier onContainerThread, Predicate<SlotContainer> owns, BiConsumer<org.bukkit.entity.Player, Text> notifier) FrameworkContainerRuntime(BooleanSupplier onContainerThread, BiConsumer<org.bukkit.entity.Player, Text> refusalNotifier) Creates the editable runtime. -
Uses of Text in com.ultikits.ultitools.ui.dialog
Methods in com.ultikits.ultitools.ui.dialog with parameters of type TextModifier and TypeMethodDescriptionprivate DialogModel.ButtonDialogMapper.button(Text label, @Nullable Text tooltip, ButtonRole role, org.bukkit.entity.Player viewer) Method parameters in com.ultikits.ultitools.ui.dialog with type arguments of type TextModifier and TypeMethodDescriptionprivate 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)