the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 19 lines 608 B view raw
1#pragma once 2#include "BaseEntityTile.h" 3 4class Random; 5 6class MobSpawnerTile : public BaseEntityTile 7{ 8 friend class Tile; 9protected: 10 MobSpawnerTile(int id); 11public: 12 virtual shared_ptr<TileEntity> newTileEntity(Level *level); 13 virtual int getResource(int data, Random *random, int playerBonusLevel); 14 virtual int getResourceCount(Random *random); 15 virtual bool isSolidRender(bool isServerLevel = false); 16 virtual bool blocksLight(); 17 virtual void spawnResources(Level *level, int x, int y, int z, int data, float odds, int playerBonusLevel); 18 virtual int cloneTileId(Level *level, int x, int y, int z); 19};