InvUI v2.0.0-alpha.16
Pre-release
Pre-release
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
CraftingTableWindowtoCraftingWindow CartographyWindow: RenamedoutputGuitoresultGui, MovedMapIcon,MapPatchtoCartographyWindow.MapIcon,CartographyWindow.MapPatchAnimationno longer holds state. This was moved to a newAnimation.Stateclass- 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
StonecutterWindowwithout 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