Skip to content

InvUI v2.0.0-beta.3

Pre-release
Pre-release

Choose a tag to compare

@NichtStudioCode NichtStudioCode released this 07 Feb 15:58

Changes & Additions

invui

  • Added StonecutterWindow.Builder#setSelectedSlot(int)

invui-kotlin

  • Added itemProvider { } DSL
  • IngredientsDsl now also accepts Supplier<Item> and Supplier<SlotElement>
  • WindowDsl#serverWindowState is now a MutableProviderDslProperty instead of a ProviderDslProperty
  • Removed specialized provider dsl properties like ItemProviderDslProperty, replaced with extension functions overloading by

Fixes

  • Fixed an issue where the StonecutterWindow would show the actual recipes of the item in the input slot
  • Fixed an issue where slot 100 of the StonecutterWindow would not be displayed
  • Fixed an issue where the buttons GUI of the StonecutterWindow would load in delayed
  • Fixed an issue where the selected button would be deselected client-side when clicking on the input or output item of a StonecutterWindow's inventory
  • Fixed an issue where the buttons of a StonecutterWindow would be unnecessarily resent when the input item was updated, causing the scroll bar to reset. (Note that the scroll bar still resets when the player interacts with the input/output slots, which is not fixable.)