Skip to content

Releases: landonjw/GooeyLibs

v1.12.2-2.2.0

28 Jul 16:05
Compare
Choose a tag to compare
  • Added hideFlags method to button builders for controlling which lore attributes to hide.
    • This moves the lore hiding from occurring automatically to being something to opt into.
  • Fixed bug with inventory items having their nbt modified when UI is opened.
  • Items passed into builder are now cloned instead of used directly.
    • This prevents vulnerabilities to items being mutated, and affecting other buttons.
  • Added GooeyButton#of method that takes itemstrack and title.
  • Changed type of next/previous methods in LinkedPage to offer LinkedPage rather than Page.

v1.12.2-2.1.1

02 Jun 21:36
aa650ab
Compare
Choose a tag to compare
  • Fixed sponge exceptions when user is forced to open a UI when they are already in a container
  • Exposed LinkedPage implementation in LinkedPage#getNext and LinkedPage#getPrevious

v2.1.0

23 May 04:49
Compare
Choose a tag to compare

Adding & moved some convenience methods to keep things nice and easy.

  • Added all convenience methods from template builders to builders themselves
    • This should make template updates after initialization easier & cleaner
  • Added a clear method to all template implementations
    • Removes all buttons from template
  • Made fill method behavior consistent among all templates
    • Fills all slots that are currently empty
  • Added convenience methods to relevant templates for making layouts from lists of buttons
    • These methods are appended with fromList
      • ie. ChestTemplate#row -> ChestTemplate#rowFromList
  • Added InventoryHelper to assist in making player inventory changes that reflect in Gooey Pages
  • Added more context methods to ButtonAction to see if slot clicked is in player inventory, and getting the clicked slot in inventory template

v2.0.3

12 Apr 03:01
Compare
Choose a tag to compare
  • Fixed exception being caused by passing empty list into PaginationHelper

v2.0.2

09 Apr 01:45
Compare
Choose a tag to compare
  • Changed package naming and modid to allow for Gooey1 and Gooey2 to co-exist as dependencies
  • Fixed sponge throwing warnings when user clicked a slot in user inventory
  • Fixed desyncs on movable button collisions in player inventory
  • Fixed desyncs on movable buttons being left clicked on non-identical movable buttons
  • Fixed desyncs on movable button being left clicked on top of identical movable button twice in the same tick
  • Fixed error when user clicked the edge of the container UI (not a slot) with an item on their cursor

v2.0.1

02 Apr 08:10
Compare
Choose a tag to compare
  • Fixed issue with PaginationHelper looping infinitely if no placeholders were set in the supplied Template.
  • Fixed desyncs with movable buttons when user middle clicked and dragged
  • Fixed desyncs with movable buttons when user left/right clicked and dragged on top of other buttons
  • Fixed Sponge throwing warnings when switching pages with different dimensions

2.0.0 Experimental Build 2

23 Mar 07:35
Compare
Choose a tag to compare
Pre-release
v2.0.0-dev-build-2

reformatted code

2.0.0 Experimental Build

22 Mar 05:31
Compare
Choose a tag to compare
Pre-release
v2.0.0-dev-build

exposed builder variables in ChestTemplate

v1.0.6

19 Sep 21:08
Compare
Choose a tag to compare
Add page reference to ButtonAction

v1.0.5

29 Jul 19:57
34f485d
Compare
Choose a tag to compare
Update LICENSE