InvUI

A spigot library for creating custom inventory-based GUIs.

MIT License

Stars
242
Committers
2

Bot releases are visible (Hide)

InvUI - InvUI v1.17

Published by NichtStudioCode about 1 year ago

  • 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 ScrollGui<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
InvUI - InvUI v1.16

Published by NichtStudioCode about 1 year ago

  • Support for Minecraft 1.20.2
  • Fixed some issues to ensure that a more informative exception will be thrown when InvUI cannot retrieve the plugin instance using the class loader
InvUI - InvUI v1.15

Published by NichtStudioCode about 1 year ago

  • Added Inventory#modifyItem and Inventory#replaceItem
  • #46 - Add more item methods
InvUI - InvUI v1.14

Published by NichtStudioCode about 1 year ago

  • #45 - Added Banner- and Firework ItemBuilder
InvUI - InvUI v1.13

Published by NichtStudioCode over 1 year ago

  • Added a PagedGui implementation with Inventory content type
InvUI - InvUI v1.12

Published by NichtStudioCode over 1 year ago

  • InvUI can now also automatically obtain the plugin instance from paper plugins
  • Improved the error message for cases when the plugin instance cannot be obtained through the class loader
  • Fixed an issue where open handlers configured in the window builder were never actually added to the window
  • Fixed an issue where VirtualInventories could not be used on older versions due to an import to org.joml.Math
InvUI - InvUI v1.11

Published by NichtStudioCode over 1 year ago

  • Fixed an issue where uncloseable Windows could be closed
InvUI - InvUI v1.10

Published by NichtStudioCode over 1 year ago

  • Support for Minecraft 1.20
InvUI - InvUI v1.9

Published by NichtStudioCode over 1 year ago

  • Fixed #36 - java.lang.IndexOutOfBoundsException on TabGuiImpl#isTabAvailable
InvUI - InvUI v1.8

Published by NichtStudioCode over 1 year ago

  • Fixed an issue where the toast for already achieved advancements would be shown again after closing player-inventory-affecting windows on spigot-mapped servers
InvUI - InvUI v1.7

Published by NichtStudioCode over 1 year ago

  • Added a SimpleItem constructors that accept ItemStack
  • Fixed an issue where the CartographyWindow would not display the map
InvUI - InvUI v1.6

Published by NichtStudioCode over 1 year ago

  • Fixed an issue where the ScrollGui line and PageGui page could be out of bounds after updating the Gui's contents
InvUI - InvUI v1.5

Published by NichtStudioCode over 1 year ago

  • Window- and Gui- Builders now accept modifier Consumers with the generic Gui / Window type instead of just Gui and Window
  • Fixed an issue where the skull builder would generate an incomplete SkullMeta, leading to NullPointerExceptions
InvUI - InvUI v1.4

Published by NichtStudioCode over 1 year ago

  • Fixed an issue where double windows would not restore the player inventory during server stop / reload.
  • Fixed #31
InvUI - InvUI v1.3

Published by NichtStudioCode over 1 year ago

  • Added missing @NotNull and @Nullable annotations to ItemUpdateEvent
  • Fixed an issue where Inventory#setItem would always use slot 0 for empty ItemStacks
  • Fixed an issue where air ItemStacks would be passed to the ItemPostUpdateEvent when shift-clicking items out of a gui-embedded inventory
  • Split the invui module in invui and invui-core. This now makes it possible to directly depend on invui-core, which does not include all inventory-access revisions.
InvUI - InvUI 1.2

Published by NichtStudioCode over 1 year ago

  • Added a copy constructor for VirtualInventory
InvUI - InvUI v1.1

Published by NichtStudioCode over 1 year ago

  • Added ComponentLocalizer#setComponentCreator
InvUI - InvUI v1.0

Published by NichtStudioCode over 1 year ago