the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 16 lines 331 B view raw
1#pragma once 2 3class DaylightDetectorTileEntity : public TileEntity 4{ 5public: 6 eINSTANCEOF GetType() { return eTYPE_DAYLIGHTDETECTORTILEENTITY; } 7 static TileEntity *create() { return new DaylightDetectorTileEntity(); } 8 9 // 4J Added 10 virtual shared_ptr<TileEntity> clone(); 11 12public: 13 DaylightDetectorTileEntity(); 14 15 void tick(); 16};