Releases: NichtStudioCode/InvUI
Releases · NichtStudioCode/InvUI
InvUI v2.0.0-alpha.17
Java code examples are now available in the InvUI Documentation
New features
invui-kotlin
: Added experimental dsl for creating windows, guis, and items- Added overloads for
Item.Builder#addClickHandler
,Item.Builder#addBundleSelectHandler
accepting functional interfaces with fewer arguments - Added
Item#EMPTY
- an empty item that does nothing
Changes
- Exceptions thrown in user code (e.g. in
Item#getItemProvider
) are now caught and logged in more scenarios - The gui of the merged window (
Window#mergedBuilder
) now defaults to an empty gui of dimensions (9, 10) (previously this threw an exception if left unspecified)
InvUI v2.0.0-alpha.16
Alongside the Javadoc, there is now also additional documentation available for InvUI v2. Note that this documentation is not yet fully complete. Most notably, all code examples are currently only in Kotlin.
New features
- Added
BrewingWindow
,GrindstoneWindow
,SmithingWindow
- Cartography windows now support setting the view mode (normal, duplicate, small, lock)
- Inventory gui priority and iteration order is now categorized
- Animations can now be configured to not freeze the gui
- Bound items can now be unbound and will be automatically unbound if removed from the gui
Changes
- Renamed
CraftingTableWindow
toCraftingWindow
CartographyWindow
: RenamedoutputGui
toresultGui
, MovedMapIcon
,MapPatch
toCartographyWindow.MapIcon
,CartographyWindow.MapPatch
Animation
no longer holds state. This was moved to a newAnimation.State
class- Localization now uses the mini message translator. This means that arguments are now referenced with
<arg:index>
instead of%s
- Slot element suppliers for inventories and guis will now throw an exception if they've reached their end instead of cycling back to the first slot
- Windows no longer write the slot number of all displayed UI items into their persistent data container
invui-kotlin
: removed provider-combining overloads forItem.Builder
, added provider-mapping overloads (without combing, so only one provider) to everything
Fixes
- Fixed an issue where an exception was thrown when creating a
StonecutterWindow
without defining the buttons gui - Fixed an issue where an incorrect enchantment cost would be displayed in the
AnvilWindow
- Fixed an issue where the cartography window would not show the result slot if the input slot is empty
- Fixed various issues where inventory interactions would ignore the Gui's frozen state
InvUI v2.0.0-alpha.15
- Fixed an issue where InvUI's internal netty channel handler name was not unique
InvUI v2.0.0-alpha.14
- Updated to 1.21.6
- Removed
Gui#remove(...)
in favor ofGui#setSlotElement(..., null)
- Added
CraftingTableWindow
andFurnaceWindow
InvUI v1.46
- 1.21.6 Support
InvUI v2.0.0-alpha.13
- invui-kotlin: Updated
commons-provider
InvUI v2.0.0-alpha.12
- Updated to Paper 1.21.5-76
InvUI v2.0.0-alpha.11
- Fixed an issue where windows would not work if ProtocolLib was installed
InvUI v2.0.0-alpha.10
- Fixed
Inventory#simulateMultiAdd
not working
InvUI v2.0.0-alpha.9
- Fixed an issue where TabGui-bound items would not be updated on tab change