Skip to content

InvUI v2.1.0

Latest

Choose a tag to compare

@NichtStudioCode NichtStudioCode released this 10 May 09:06
· 1 commit to main since this release

invui

Additions (experimental)

  • Bundle select handlers on Gui
  • Bundle select handlers on Inventory
  • Inventory visualizer: A function that can define a custom "visualization" (ItemProvider) for an ItemStack in an Inventory. Results are cached for VirtualInventory
  • Window cursor visualizer: Like inventory visualizer, but for the item stack that is on the cursor

Additions

  • InventoryUtils#dropItemLikePlayer, InventoryUtils#addToInventoryOrDrop
  • ItemUtils#asType

Changes

  • CompositeInventory can now be empty (composed of 0 inventories)

invui-kotlin

Additions (experimental)

  • DSL API for the GUI bundle select handlers and window cursor visualizers
  • Added ProviderDslPropery<List<T>> by T and by Provider<T> extension functions

Changes

  • GuiDsl: ignoreObscuredInventorySlots now defaults to true to match the Gui.Builder default