Skip to content

Releases: NichtStudioCode/InvUI

InvUI v2.0.0-alpha.5

18 Dec 14:27

Choose a tag to compare

InvUI v2.0.0-alpha.5 Pre-release
Pre-release
  • Inventories can now define click handlers
  • Inventories can now have multiple item update handlers
  • Added ItemBuilder#setCustomName
  • Fixed an issue where ItemBuilder would never clear its cache and return outdated item stacks
  • Added ItemBuilder#build, which will never return cached item stacks
  • Fixed an issue where embedded obscured inventories would not update properly

InvUI v2.0.0-alpha.4

17 Dec 18:42

Choose a tag to compare

InvUI v2.0.0-alpha.4 Pre-release
Pre-release
  • Fixed an issue where ItemBuilder could not handle item stacks with a custom model data component that had an alpha value != 0 in the colors section

InvUI v2.0.0-alpha.3

13 Dec 11:44

Choose a tag to compare

InvUI v2.0.0-alpha.3 Pre-release
Pre-release
  • Fixed a possible NPE in the ItemBuilder constructor
  • Fixed an issue where ItemBuilder would try to write into unmodifiable collections
  • Fixed an issue where custom model data was not cloned when cloning ItemBuilder

InvUI v2.0.0-alpha.2

08 Dec 20:06

Choose a tag to compare

InvUI v2.0.0-alpha.2 Pre-release
Pre-release
  • Fixed an issue where windows were not notified when updating inventories through composite- or obscured inventories

InvUI v2.0.0-alpha.1

07 Dec 14:45

Choose a tag to compare

InvUI v2.0.0-alpha.1 Pre-release
Pre-release

Please note that this is a pre-release, and more API-breaking changes may happen in future pre-releases.

The javadoc for this version can be found here.

The project structure has changed, the only available artifacts are now xyz.xenondevs.invui:invui and xyz.xenondevs.invui:invui-kotlin.

Breaking changes

  • Removed multi-version support, future InvUI versions will only always target latest Paper
  • Removed Spigot support
  • Gui, Window, Inventory, and all their subclasses are now sealed or final
  • Item is now sealed, but AbstractItem can still be extended
  • Replaced ControlItem with BoundItem / AbstractBoundItem
  • Removed Item#getItemProvider() in favor of Item#getItemProvider(Player)
  • Item#handleClick now receives Click instead of InventoryClickEvent
  • Removed SkullBuilder, PotionBuilder, BannerBuilder, FireworkBuilder and replaced ItemBuilder with a simplified version. All this data can still be added to items using the new ItemBuilder's data component methods.
  • Removed support for BaseComponent, adventure components can now be used without wrapping them in a ComponentWrapper
  • Raw strings for names in the item builder or window title are now parsed as mini message instead of legacy text format
  • Removed the default item implementations such as SimpleItem or CycleItem. Alternatives are available via static methods in Item or using Item.builder().

New features

  • New Item.Builder and BoundItem.Builder API for creating UI items without subclassing AbstractItem
  • Data component support in ItemBuilder
  • Added IngredientPreset
  • Item#notifyWindows can now be called asynchronously
  • Experimental reactive item/gui/window API via invui-kotlin

InvUI v1.43

04 Dec 10:57

Choose a tag to compare

  • 1.21.4 Support

InvUI v1.42

02 Dec 17:23
b396f34

Choose a tag to compare

  • #98 : player context in Item#getItemProvider

InvUI v1.41

10 Nov 16:18

Choose a tag to compare

  • Fixed #95
  • Fixed Window#changeTitle causing an empty inventory to be visible for a short amount of time in some cases

InvUI v1.40

03 Nov 16:05

Choose a tag to compare

  • Fixed dupe with gui-embedded inventories

InvUI v1.39

23 Oct 09:53

Choose a tag to compare

  • 1.21.2 Support
  • Fixed NoSuchMethodError when trying to open anvil window on 1.21.1