Commit Graph

353 Commits

Author SHA1 Message Date
NichtStudioCode
3c446a30dd Update SimplePagedGUIsGUI.java 2021-06-05 17:36:02 +02:00
NichtStudioCode
793a8c28da Fixed VirtualInventory DROP_ONE_SLOT and PICKUP_ONE 2021-06-04 21:15:42 +02:00
NichtStudioCode
88bca58c54 Added some VirtualInventory Methods 2021-06-04 21:11:26 +02:00
NichtStudioCode
b1c3e69959 Make BaseGUI public 2021-06-02 22:20:10 +02:00
NichtStudioCode
0ddf3db29e Merge BaseGUI and IndexedGUI 2021-06-02 22:16:23 +02:00
NichtStudioCode
b17fc27ee5 Rewrote VirtualInventory
- VirtualInventory now allows for a custom max stack size on each individual slot
- Cleaned up methods, added better descriptions
- Allow changing the new item stack in the ItemUpdateEvent
- Added support for InventoryAction.HOTBAR_SWAP
2021-06-02 22:04:38 +02:00
NichtStudioCode
048568cfac VirtualInventory#getWindows, Item#getWindows 2021-05-11 19:32:14 +02:00
NichtStudioCode
d42c242947 GUI#closeForAllViewers 2021-05-11 19:03:07 +02:00
NichtStudioCode
640cdef177 Fixed endless loop when ItemUpdateEvent is cancelled 2021-05-11 18:52:25 +02:00
NichtStudioCode
8e0ca7ea44 Respect maxStackSize in VirtualInventory#addItem 2021-05-11 15:29:53 +02:00
NichtStudioCode
0715ac2dba Make VirtualInventory#notifyWindows public 2021-05-08 21:49:50 +02:00
NichtStudioCode
bdf74fb191 ItemBuilder getter Methods 2021-05-08 14:41:16 +02:00
NichtStudioCode
c623250e3a ItemUpdateEvent#isSwap 2021-05-05 22:57:05 +02:00
NichtStudioCode
7697707b21 Fixed ItemBuilder#setAmount not working when using a base ItemStack 2021-05-05 16:55:26 +02:00
NichtStudioCode
dcdcba3fab Added @NotNulls in ItemBuilder 2021-05-04 22:52:27 +02:00
NichtStudioCode
698387d20b Accept ItemStack in ItemBuilder 2021-05-04 22:38:10 +02:00
NichtStudioCode
01cff674f0 Fixed Window not being set for Items of nested GUIs 2021-05-03 19:48:52 +02:00
NichtStudioCode
dd80927b46 VirtualInventory#canHold 2021-04-30 19:03:46 +02:00
NichtStudioCode
1b60239b34 isAdd, isRemove, getAddedAmount, getRemovedAmount 2021-04-30 19:03:31 +02:00
NichtStudioCode
31ec100806 Remove Window from list in VirtualInventory when closed 2021-04-25 17:23:30 +02:00
NichtStudioCode
3b9e5f5db0 VirtualInventory#simulateAdd 2021-04-24 15:26:40 +02:00
NichtStudioCode
cab14d0047 Fix NullPointerException in VirtualInventory#getItems 2021-04-21 21:42:32 +02:00
NichtStudioCode
edde43b1ae ItemUpdateEvent UpdateReason 2021-04-21 20:55:18 +02:00
NichtStudioCode
ff56f8e017 Fixed GUIBuilder not working for Tab GUIs 2021-04-11 00:23:05 +02:00
NichtStudioCode
ba0a57af41 VirtualInventory#getItems 2021-04-10 12:45:53 +02:00
NichtStudioCode
ce147a38b8 Update ItemBuilder.java 2021-04-07 20:47:33 +02:00
NichtStudioCode
f0d1ac5eaf Add itemUpdateHandler 2021-03-31 13:47:35 +02:00
NichtStudioCode
dc381dba6e Added option to delete VirtualInventories 2021-03-31 13:39:51 +02:00
NichtStudioCode
da96b415a9 GUI Background 2021-02-28 19:36:51 +01:00
NichtStudioCode
a22e33cf64 Added option to set plugin manually 2021-02-21 15:02:50 +01:00
NichtStudioCode
b87177fe83 Update to latest ResourcePack 2021-02-16 21:33:28 +01:00
NichtStudioCode
5e27d272db Added AsyncItem 2021-02-13 19:06:05 +01:00
NichtStudioCode
76b947e2a0 Moved ItemBuilder 2021-02-13 18:39:16 +01:00
NichtStudioCode
c084c1a2bc SimpleItem.of 2021-02-13 18:02:05 +01:00
NichtStudioCode
f38f86d423 Provide option to choose between InvUIRP versions 2021-02-13 17:52:36 +01:00
NichtStudioCode
3c3856423e Improved HeadTexture cache
Cache entries now expire after one day
If the server is in only mode, the UUID of a Player will be retrieved using the usercache
2021-02-13 17:51:48 +01:00
NichtStudioCode
39a8941f62 VirtualInventory Cursor Collect 2021-02-12 13:16:20 +01:00
NichtStudioCode
9ec262a122 VirtualInventory ItemDrag 2021-02-12 01:44:46 +01:00
NichtStudioCode
8d3f4e3690 Removed ItemStackHolder 2021-02-11 22:34:05 +01:00
NichtStudioCode
459f19d7b3 Made Structure independent from GUIBuilder 2021-02-11 21:48:45 +01:00
NichtStudioCode
bd625c3adb Update to latest InventoryAccess 2021-02-09 15:51:26 +01:00
NichtStudioCode
77ab4c3c10 Update to latest ResourcePack 2021-02-08 22:24:46 +01:00
NichtStudioCode
7335ae86de VirtualInventories in MergedWindow 2021-02-08 20:26:38 +01:00
NichtStudioCode
951178f161 Minor changes
-Added some @NotNull and -@Nullable
-Some refactoring
-Added some new constructors for windows that don't require the closeable and closeOnEvent boolean
2021-02-08 19:00:09 +01:00
NichtStudioCode
b5af62d64d Update README.md 2021-02-08 18:17:53 +01:00
NichtStudioCode
849320e338 Removed InvUI#onDisable 2021-02-08 18:03:58 +01:00
NichtStudioCode
a973701bbc Improved GUIBuilder & ControlItems 2021-02-08 17:00:36 +01:00
NichtStudioCode
b76be6ffd8 ScrollGUI 2021-02-08 13:04:27 +01:00
NichtStudioCode
5e8a9d5536 Update SimpleWindow.java 2021-02-07 20:09:41 +01:00
NichtStudioCode
417b824e3a Merge branch 'main' of https://github.com/NichtStudioCode/InvUI into main 2021-02-07 20:04:30 +01:00