Skip to content

InvUI v1.17

Compare
Choose a tag to compare
@NichtStudioCode NichtStudioCode released this 30 Sep 17:07
· 79 commits to main since this release
  • Added ObscuredInventory, an Inventory implementation that can hide certain slots
  • Added ReferencingInventory.fromReversedPlayerStorageContents(PlayerInventory)
  • Obscured inventory slots are now ignored for shift-click and collect to cursor actions. This can be reverted to the previous behavior using Gui#setIgnoreObscuredInventorySlots(false)
  • VirtualInventories can now have resize handlers
  • The default implementations for PagedGui<Inventory> and ScrollGui<Inventory> now handle virtual inventory resizing properly
  • Added ScrollGui#bake and PagedGui#bake which can be used to re-bake pages / lines for cases where their content changes size (this does not need to be called manually for virtual inventories, as resize handlers are registered automatically)
  • Inventories that do not fit on a page in the default PagedGui<Inventory> implementation will now overflow to the next page
  • Fixed an issue where virtual inventories with size 0 could not be resized
  • Fixed #32 - Ghost items when hotkey-swapping to off-hand on Spigot
  • Fixed #47 - Different behavior of shift-click item move to player's inventory