hey , is it possible to spawn in a double chest inventory then send the GUI to the player? if so how , thanks in advanced
You can use addWindow() to open a chest at certain coordinates if the chunk that the chest is in is loaded for the player. OR you can spawn the chest next to him.
i want to spawn the chest next to the player , which i have the code for , but i want a double chest inventory
You can place two chests next to each other(I suggest with the same meta) and use the ChestTile->pairWith() method on each of them.
after that i just get the tile and the inventory and add it to the player via addWindow() function right?