Commit Graph

390 Commits

Author SHA1 Message Date
NichtStudioCode
d13d9c73bb Fixed a NullPointerException when a LinkedSlotElement linked to null 2021-08-05 16:48:56 +02:00
NichtStudioCode
a4c587c01f Added maven-source-plugin 2021-08-05 14:39:43 +02:00
NichtStudioCode
c08b7ae5be Fixed NullPointerException in VirtualInventory#putItemStack
When an ItemUpdateEvent set the newItemStack to null, a NullPointerException was thrown.
This has been fixed.
2021-08-02 12:24:52 +02:00
NichtStudioCode
cd4c8da7f7 Improved VirtualInventory shift-click logic 2021-07-24 21:55:22 +02:00
NichtStudioCode
b465bbc7de Update BaseGUI.java
Fixed a bug that didn't let players put items inside a VirtualInventory if the whole stack didn't fit.
2021-07-18 14:17:59 +02:00
NichtStudioCode
ac7302d606 Fixed NullPointerException in WindowManager#findOpenWindow 2021-07-17 14:16:20 +02:00
NichtStudioCode
8c185e53f1 Refactoring 2021-07-17 14:15:18 +02:00
NichtStudioCode
3c41fb721d Improved MojangApiUtils 2021-07-17 11:57:12 +02:00
NichtStudioCode
f1576d6983 Fixed hotbar and offhand item being air instead of null 2021-07-16 22:26:39 +02:00
NichtStudioCode
623bb94c5d VirtualInventory Background 2021-07-14 18:14:57 +02:00
NichtStudioCode
2be6a60022 VirtualInventory#canHold with list parameter 2021-07-11 13:09:25 +02:00
NichtStudioCode
18d948b03f Update VirtualInventory.java 2021-07-11 10:15:53 +02:00
NichtStudioCode
94a45df534 Update VirtualInventory.java 2021-07-11 10:15:21 +02:00
NichtStudioCode
91dea0566d Set source encoding 2021-07-11 10:15:15 +02:00
NichtStudioCode
11912e31e8 Support for 1.17.1 2021-07-10 20:12:40 +02:00
NichtStudioCode
0a4883f347 Update README.md 2021-07-10 18:06:12 +02:00
NichtStudioCode
7872d025be Updated maven-javadoc-plugin 2021-07-08 16:59:59 +02:00
NichtStudioCode
529ccb342a Generate javadoc during install phase 2021-07-08 16:43:42 +02:00
NichtStudioCode
dbb8da7420 Fixed VirtualInventory serialization 2021-07-07 18:00:57 +02:00
NichtStudioCode
ad820a2196 Add byte placeholder in VirtualInventory serialization 2021-07-06 18:54:04 +02:00
NichtStudioCode
af780f6b4b Improved serialization of VirtualInventories 2021-07-06 18:35:11 +02:00
NichtStudioCode
890553cd5c BaseComponent[] as Window title 2021-07-03 14:05:27 +02:00
NichtStudioCode
eb735c5811 Updated InvUIRP 2021-06-28 16:28:55 +02:00
NichtStudioCode
caa7be1fb4 Removed MaterialIcon 2021-06-28 16:28:33 +02:00
NichtStudioCode
ed65b173dd Added Window#changeTitle 2021-06-27 15:35:38 +02:00
NichtStudioCode
0bef2477ad Fixed TileEntity inventories not using the set title 2021-06-27 15:03:00 +02:00
NichtStudioCode
be8ced08f5 Fixed inventories not having the correct size on 1.14 2021-06-27 13:30:45 +02:00
NichtStudioCode
9c13fb74db Compile with Java 8 2021-06-27 13:30:19 +02:00
NichtStudioCode
488092a8f8 Fixed VirtualInventory#setItem using the wrong maxStackSize 2021-06-17 22:34:27 +02:00
NichtStudioCode
9a8d46d6c9 Update .gitignore 2021-06-17 21:13:51 +02:00
NichtStudioCode
886a8ebbcb Improved AutoCycleItem 2021-06-17 21:13:43 +02:00
NichtStudioCode
a721a8c028 Fixed VirtualInventory#addItem 2021-06-15 21:09:40 +02:00
NichtStudioCode
31ebfb4bb8 Merge branch 'main' of https://github.com/NichtStudioCode/InvUI into main 2021-06-12 21:15:45 +02:00
NichtStudioCode
37664b72ca Fixed pom 2021-06-12 21:15:25 +02:00
NichtStudioCode
843695d414
Create maven.yml 2021-06-12 21:07:31 +02:00
NichtStudioCode
61ddcc128e Merged with InventoryAccess 2021-06-12 15:15:31 +02:00
NichtStudioCode
e1611d93fd Renamed SimplePagedGUIsGUI to SimplePagedNestedGUI 2021-06-05 18:23:03 +02:00
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