Commit Graph

394 Commits

Author SHA1 Message Date
NichtStudioCode
2c498eabe3
Update LICENSE 2024-03-31 10:47:34 +02:00
NichtStudioCode
0928e1f4d1 Bump version 2024-03-31 10:31:58 +02:00
NichtStudioCode
72a5639b2d Fix Window not set as parent of GUI after reopening 2024-03-31 10:31:35 +02:00
NichtStudioCode
954df03ea2 Bump version 2024-03-06 10:07:03 +01:00
NichtStudioCode
2d790314d3 Fix #65 2024-03-06 10:06:03 +01:00
NichtStudioCode
51aff8fe96 Add some NotNull annotations 2024-03-06 10:05:51 +01:00
NichtStudioCode
f76896231c Bump version 2024-01-12 09:05:41 +01:00
NichtStudioCode
e4d24de018 Fix ComponentLocalizer '%' escape and error message 2024-01-12 09:05:12 +01:00
NichtStudioCode
02de62fca8
Update README.md 2023-12-17 10:17:03 +01:00
NichtStudioCode
eb04148acb Bump version 2023-12-17 09:50:47 +01:00
NichtStudioCode
49b3a74fc7 1.20.4 Support 2023-12-17 09:50:37 +01:00
NichtStudioCode
21b8babc31 Remove invui-resourcepack 2023-12-17 09:49:37 +01:00
NichtStudioCode
6db2edc1dc Bump version 2023-10-28 13:41:15 +02:00
NichtStudioCode
f029914abd Throw MojangApiException and IOException in HeadTexture#of and SkullBuilder constructor
Implements #54
2023-10-28 13:40:05 +02:00
NichtStudioCode
659e9596fc Bump version 2023-10-12 16:06:41 +02:00
NichtStudioCode
f12ccf6fc8 Reformat code 2023-10-12 16:06:22 +02:00
NichtStudioCode
785854f4a8 Remove ItemUtils#setSkullGameProfile
Because both Paper 1.14.4 and 1.15.0 are not up-to-date with the changes of Spigot 1.14.4 (CraftMetaSkull#setProfile exists on Spigot 1.14.4, but not Paper 1.14.4 and 1.15.0), it does not make sense to put this behind inventory-access revisions. Instead, the SkullBuilder will now just check every time whether CraftMetaSkull#setProfile exists.
2023-10-12 16:02:35 +02:00
NichtStudioCode
be09c8621c Bump version 2023-10-12 10:31:14 +02:00
NichtStudioCode
babad46e84 Fix several incompatibilities with 1.14
This commit introduces support for 1.14.0, 1.14.1, 1.14.2 and 1.14.3 with the new inventory-access-r1 and inventory-access-r2 modules. All subsequent revisions have been pushed down by two versions. (ex.: inventory-access-r15 is inventory-access-r17 now)

Other changes include:
- Introduced ItemUtils#setSkullGameProfile inventory-access method
- Removed all usages of fastutil classes, as those are relocated to a different path on older versions and therefore not accessible
- Removed all usages of Material#isAir and ClickType#SWAP_OFFHAND, as those did not exist in 1.14
- invui-core now depends on spigot 1.14 instead of 1.20.2. This should prevent any future issues regarding the usage of methods and properties that have only been introduced later
2023-10-12 10:30:18 +02:00
NichtStudioCode
08411eba78 Bump version 2023-10-09 18:43:23 +02:00
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
f6a25d5d0d Clean up reflection registry and utils 2023-09-30 17:46:13 +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
130ed90aaa
Update README.md 2023-09-24 18:11:16 +02:00
NichtStudioCode
ac47f08f1b Bump version 2023-09-24 18:06:34 +02:00
NichtStudioCode
05f02dae78 1.20.2 Support 2023-09-24 18:06:23 +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
D0gma_
f2b5c4fd4c
specify withoutPreFormatting return type 2023-08-18 21:27:22 +02:00
NichtStudioCode
131e44bc75 Bump version 2023-08-09 12:11:07 +02:00
NichtStudioCode
85a6435114
Merge pull request #45 from D0gmaDev/main
Add BannerBuilder and FireworkBuilder
2023-08-09 12:10:07 +02:00
NichtStudioCode
d43f2be95c Reformat code 2023-08-09 12:09:51 +02:00