Skip to content

Releases: NichtStudioCode/InvUI

InvUI v2.2.0-RC.2

13 Jun 13:17

Choose a tag to compare

InvUI v2.2.0-RC.2 Pre-release
Pre-release
  • Updated to Minecraft 26.2
  • Windows will now silently reject opening for sleeping, invalid, and disconnected players

InvUI v2.1.1

10 Jun 15:32

Choose a tag to compare

  • #119 - Fix strange initialization issue in PacketListener

InvUI v2.1.0

10 May 09:06

Choose a tag to compare

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

InvUI v2.0.0

18 Apr 11:31

Choose a tag to compare

  • Updated to Paper 26.1.2

InvUI v2.0.0-RC.2

11 Apr 12:16

Choose a tag to compare

  • Fixed #118 - Creative mode off-hand item desync after GUI interaction
  • Fixed an issue where InvUI would re-send the entire inventory after an off-hand swap

InvUI v2.0.0-RC.1

04 Apr 09:31

Choose a tag to compare

  • Updated to Paper 26.1.1
  • Changed the default inventory max stack size to 99, allowing items with a max stack size >64 to work as expected

InvUI v2.0.0-beta.7

31 Mar 16:17

Choose a tag to compare

InvUI v2.0.0-beta.7 Pre-release
Pre-release
  • Window#open and Window#close now throw an exception if called from an incorrect thread
  • Window tick performance improvements

InvUI v2.0.0-beta.6

28 Mar 17:45

Choose a tag to compare

InvUI v2.0.0-beta.6 Pre-release
Pre-release

invui

Additions

  • Added PagedGui<SlotElement>, ScrollGui<SlotElement>
  • Added Window#sendAllDataToViewer
  • SlotElement.InventoryLink can now define a visualizer function

Changes

  • Minimum required Java version is now 25
  • Window title updates are now batched
  • Window#open now does nothing when trying to open an already open window instead of throwing an exception.
  • Slots to different instances of ReferencingInventory.PlayerStorageContents will no longer be deduplicated in item-drags
  • Window tick performance improvements

invui-kotlin

Additions

  • Added extensive KDoc for DSL API
  • Added window, gui providers to WindowDsl, GuiDsl that contain the Window/Gui after creation
  • Added inventory-with-background API to IngredientsDsl ('x' by (inventory with backgroundProvider))
  • Added by SlotElementSupplier to IngredientsDsl
  • Added level, progress, restockMessageEnabled to MerchantWindowDsl
  • Exposed viewer in WindowDsl
  • Exposed base item stack in ItemProviderDsl. Added a top level function to create an ItemProviderDsl with an empty base.

Changes

  • paged/scroll/tab gui content updates through providers are now batched
  • ItemProviderDsl will now automatically un-hide the tooltip if lore or name is set (like ItemBuilder did already)
  • Flattened package xyz.xenondevs.invui.dsl.property into its parent package
  • Removed provider-transforming extension functions like setContent(provider: Provider<T>, transform: (T) -> List<C>). These were originally intended to make reactive gui code more compact but are no longer needed due to the DSL API.

Fixes

  • Fixed lore in ItemProviderDsl inheriting default lore formatting

InvUI v2.0.0-beta.5

15 Mar 10:04

Choose a tag to compare

InvUI v2.0.0-beta.5 Pre-release
Pre-release
  • Fixed clone methods on gui- and window builders not properly cloning some components

InvUI v2.0.0-beta.4

07 Mar 13:29

Choose a tag to compare

InvUI v2.0.0-beta.4 Pre-release
Pre-release
  • Fixed an issue where the StonecutterWindow would display the actual recipes if the buttonsGui was of size 0
  • Fixed InvUI throwing a NoSuchElement during disable if its packet handler was already removed
  • Set up KDoc publishing for invui-kotlin to maven repository