Commit Graph

53 Commits

Author SHA1 Message Date
NichtStudioCode
86a9fb6ea1 Fix SkullBuilder on 1.20.2 2023-10-09 18:42:28 +02:00
NichtStudioCode
c55b6945cd Bump version 2023-10-06 18:19:14 +02:00
NichtStudioCode
3e59186076 Remove unused local variable in PagedItemsGuiImpl#bake 2023-10-04 20:44:06 +02:00
NichtStudioCode
3a74406a0b Fixed several NPEs related to Window titles 2023-10-04 20:43:35 +02:00
NichtStudioCode
d7401d4d04 Fix events in delegating inventories 2023-10-04 20:41:42 +02:00
NichtStudioCode
923af0cc8a Bump version 2023-10-03 07:55:09 +02:00
NichtStudioCode
11654d3967 Fix PagedItemsGuiImpl only creating full pages 2023-10-03 07:52:19 +02:00
NichtStudioCode
7cb0dbcc3d Bump version 2023-09-30 18:55:53 +02:00
NichtStudioCode
5cf1bcff80 Remove debug println 2023-09-30 18:36:05 +02:00
NichtStudioCode
a691235f47 Fix #32 2023-09-30 18:08:26 +02:00
NichtStudioCode
42c2c56937 Improve Paged- and ScrollGui
- PagedGui pages and ScrollGui content is now saved as List<SlotElement> to improve performance
- Added PagedGui#bake and ScrollGui#bake to recreate those slot element lists if needed
- PagedInventoriesGuiImpl now lets oversized inventories overflow to the next page
- Added resize handler to VirtualInventory that is called whenever the inventory is resized
- PagedInventoriesGuiImpl and ScrollInventoriesGuiImpl automatically register a resize handler to virtual inventories that they display
2023-09-30 17:45:21 +02:00
NichtStudioCode
bc1345da59 Ignore obscured embedded inventory slots by default 2023-09-30 17:13:01 +02:00
NichtStudioCode
f105a9aabc Fixed VirtualInventory#resize failing if previous size was 0 2023-09-30 15:01:53 +02:00
NichtStudioCode
205b566959 Fix #47 2023-09-30 14:34:58 +02:00
NichtStudioCode
ac47f08f1b Bump version 2023-09-24 18:06:34 +02:00
NichtStudioCode
39cc0534e7 Fix issues related to InvUI#tryFindPlugin
- Fixed an issue where tryFindPlugin would throw an exception if the paper plugin class loader class wasn't found
- Surrounded most logic in tryFindPlugin with try-catch to ensure the more informative exception in getPlugin to be thrown in case of failure
2023-09-22 22:24:27 +02:00
NichtStudioCode
436f520a35 Bump version 2023-09-04 19:02:30 +02:00
NichtStudioCode
66b9c33a42 Reformat code 2023-09-04 19:02:19 +02:00
NichtStudioCode
de30faabd7
Merge pull request #46 from D0gmaDev/patch-1
Add more item methods
2023-09-04 18:58:58 +02:00
NichtStudioCode
7e683ed7dc Update Inventory javadoc 2023-09-04 18:54:34 +02:00
NichtStudioCode
2b56eed030 Add Inventory#modifyItem and Inventory#replaceItem 2023-09-04 18:54:24 +02:00
D0gma_
8957b6534b Add lore methods and unbreakable to AbstractItemBuilder 2023-08-19 14:03:44 +02:00
D0gma_
c21a372bd8 Add Firework power modifier 2023-08-19 13:57:12 +02:00
NichtStudioCode
131e44bc75 Bump version 2023-08-09 12:11:07 +02:00
NichtStudioCode
d43f2be95c Reformat code 2023-08-09 12:09:51 +02:00
D0gma_
7215bb2bc1 Add BannerBuilder and FireworkBuilder 2023-08-08 17:56:15 +02:00
NichtStudioCode
f6dcd52d34 Bump version 2023-07-19 09:24:10 +02:00
NichtStudioCode
215f088e3f Add PagedInventoriesGuiImpl 2023-07-19 09:24:04 +02:00
NichtStudioCode
673e9e5fe2 Fix javadoc param reference for outsideClickHandler 2023-07-02 12:57:14 +02:00
NichtStudioCode
2ae88d8378 Bump version 2023-07-02 12:50:46 +02:00
NichtStudioCode
cb320140b6 Fix window builder open handlers not being added to window 2023-07-02 12:50:40 +02:00
NichtStudioCode
288bd2505c Remove org.joml.Math import 2023-06-15 21:52:13 +02:00
NichtStudioCode
1d276aa356 Find plugin instance when loaded through PaperPluginClassLoader 2023-06-12 20:19:21 +02:00
NichtStudioCode
38cc1d57bd Improved window close handling
- WindowManager#windowsByPlayer are now also updated in WindowManager#addWindow and WindowManager#removeWindow

- Opening a new window during window close handlers now properly registers them in the WindowManger maps; but a Spigot issue still prevents this from working as inventories opened during the InventoryCloseEvent don't get click events
2023-06-11 16:41:01 +02:00
NichtStudioCode
e19447f7b9 Save viewer instance in AbstractWindow 2023-06-11 16:38:00 +02:00
NichtStudioCode
7b0767b9f4 Rearrange close and open methods in AbstractWindow 2023-06-11 14:33:53 +02:00
NichtStudioCode
210527b742 Bump version 2023-06-09 18:33:41 +02:00
NichtStudioCode
82e5408bed Fix Window closeable 2023-06-09 18:33:41 +02:00
NichtStudioCode
0c33ec3630 1.20 Support 2023-06-08 12:59:23 +02:00
NichtStudioCode
0cdbf5b779 Bump version 2023-06-01 12:20:50 +02:00
NichtStudioCode
71d0540d4a Fix #36 2023-06-01 12:20:16 +02:00
NichtStudioCode
fed3c03080 Bump version 2023-05-22 21:35:55 +02:00
NichtStudioCode
18270da64e Bump version 2023-05-08 18:18:04 +02:00
NichtStudioCode
7e43cfd207 Fix cartography window not displaying the map 2023-05-08 18:17:18 +02:00
NichtStudioCode
e56d8e61e8 Add SimpleItem(ItemStack) constructor 2023-05-08 18:16:55 +02:00
NichtStudioCode
46a1cf1536 Bump version 2023-05-06 16:52:13 +02:00
NichtStudioCode
695f9ed83e Fix line and page out of bounds after content update 2023-05-06 16:52:07 +02:00
NichtStudioCode
70483b6029 Bump version 2023-04-25 13:08:45 +02:00
NichtStudioCode
0182506f44 Fix SkullBuilder not setting serializedProfile in SkullMeta 2023-04-25 13:08:08 +02:00
NichtStudioCode
e660c26454 Use generic Gui / Window type for modifier in Gui / Window Builder 2023-04-16 18:37:07 +02:00