Unreleased version v7.1.0-SNAPSHOT. This page describes the alpha branch and may change at any time; it is not part of any released version.

commit 8ebd82e · 2026-11-28 05:16 UTC

Skip to content

GUI Interface ​

UltiTools-API 7.0 removes the 6.x imperative chest pages without a compatibility bridge and no longer bundles obliviate-invs. Use the replacements below and rebuild your module against 7.0. For 6.x classes and examples, see the archived v6.5.0 guide.

Replacements in 7.0 v7.0.0+ ​

Removed in 7.0Use insteadDocumented in
BaseInventoryPageDeclarativeGui: return a tree of Container, TextButton and ItemDisplay from build(BuildContext)Declarative GUI
BasePaginationPageKeep the page number in a State, build the visible slice with GridView, and turn pages with setStateDeclarative GUI
BaseConfirmationPage, Confirm.gui(...)Confirm of the UI service (com.ultikits.ultitools.ui.Confirm), shown with UiService#showUI: Intents and Sessions
Confirm.chat(...) (ChatConfirm)None in the framework; the module sends its own clickable chat promptUI: Intents and Sessions
Buttons, ViewTypeNo replacement type; use a TextButton label or the framework label keysDialog buttons
obliviate-invs, UniversalSchedulerNo longer bundled; see Legacy chest pages and confirmation widgets

Colors ​

The com.ultikits.ultitools.entities.Colors enum still selects glass pane colors for buttons and decorations. The framework's built-in GUI glass colors and button materials are unchanged.

v7.0.0 color API change

Colors#getCode() and XVersionUtils are removed. Use Colors#getGlassPaneMaterial() to get a Bukkit Material, or use Material.CYAN_STAINED_GLASS_PANE directly.

java
ItemStack glass = new ItemStack(Colors.CYAN.getGlassPaneMaterial());

See Native item and sound APIs in 7.0 for the full migration.

Contributors

No contributors

Released under the MIT License.