Hey people of the forums, how could i make a double chest inventory to send to a player? Like, they do /dc and it brings up a double chest. Ik it uses tiles but theres no double chest one. I dont want to use any other plugin so is there a way i can do this?
I think this topic is the same of https://forums.pmmp.io/threads/how-to-open-double-chest-on-command.5027/ Exemple of double chest inventory https://github.com/Frago9876543210/Inv-Menu/blob/master/src/InventoryMenu/API.php#L98-L129
Using packet like InventoryMenu PHP: $pk2 = new InventoryContentPacket; $pk2->windowId = WindowTypes::MINECART_CHEST; $pk2->items = $items; $player->dataPacket($pk2);