the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 30 lines 552 B view raw
1#pragma once 2 3#include "TileEntity.h" 4 5class EnderChestTileEntity : public TileEntity 6{ 7public: 8 eINSTANCEOF GetType() { return eTYPE_ENDERCHESTTILEENTITY; } 9 static TileEntity *create() { return new EnderChestTileEntity(); } 10 11public: 12 float openness, oOpenness; 13 int openCount; 14 15private: 16 int tickInterval; 17 18public: 19 EnderChestTileEntity(); 20 21 void tick(); 22 bool triggerEvent(int b0, int b1); 23 void setRemoved(); 24 void startOpen(); 25 void stopOpen(); 26 bool stillValid(shared_ptr<Player> player); 27 28 // 4J Added 29 virtual shared_ptr<TileEntity> clone(); 30};