the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 24 lines 570 B view raw
1#pragma once 2 3#include "SimpleContainer.h" 4 5class EnderChestTileEntity; 6 7class PlayerEnderChestContainer : public SimpleContainer 8{ 9private: 10 shared_ptr<EnderChestTileEntity> activeChest; 11 12public: 13 PlayerEnderChestContainer(); 14 15 virtual int getContainerType(); 16 17 void setActiveChest(shared_ptr<EnderChestTileEntity> activeChest); 18 void setItemsByTag(ListTag<CompoundTag> *enderItemsList); 19 ListTag<CompoundTag> *createTag(); 20 bool stillValid(shared_ptr<Player> player); 21 void startOpen(); 22 void stopOpen(); 23 bool canPlaceItem(int slot, shared_ptr<ItemInstance> item); 24};