Help with CustomInventory

Denic

Supporter
Don't quote me on this but I believe you can do something like the following using FakeInventories https://github.com/NukkitX/FakeInventories

Code:
ChestFakeInventory chest = new ChestFakeInventory();
chest.onOpen(player);
You would set the contents in the constructor of the inventory using an InventryHolder object
 
Top