Releases: landonjw/GooeyLibs
Releases · landonjw/GooeyLibs
v1.12.2-2.2.0
- 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
- 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
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
- These methods are appended with fromList
- 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
v2.0.2
- 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
- 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
v2.0.0-dev-build-2 reformatted code
2.0.0 Experimental Build
v2.0.0-dev-build exposed builder variables in ChestTemplate