the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 38 lines 1.1 kB view raw
1#pragma once 2 3#include "BaseEntityTile.h" 4#include "TileEntity.h" 5 6#include "stdafx.h" 7#include "Material.h" 8 9class SignTile : public BaseEntityTile 10{ 11 friend class Tile; 12private: 13 eINSTANCEOF clas; 14 bool onGround; 15 16protected: 17 SignTile(int id, eINSTANCEOF clas, bool onGround); 18 19public: 20 Icon *getTexture(int face, int data); 21 virtual void updateDefaultShape(); 22 AABB *getAABB(Level *level, int x, int y, int z); 23 AABB *getTileAABB(Level *level, int x, int y, int z); 24 void updateShape(LevelSource *level, int x, int y, int z, int forceData = -1, shared_ptr<TileEntity> forceEntity = shared_ptr<TileEntity>()); // 4J added forceData, forceEntity param 25 int getRenderShape(); 26 bool isCubeShaped(); 27 virtual bool isPathfindable(LevelSource *level, int x, int y, int z); 28 bool isSolidRender(bool isServerLevel = false); 29 30protected: 31 shared_ptr<TileEntity> newTileEntity(Level *level); 32 33public: 34 int getResource(int data, Random *random, int playerBonusLevel); 35 void neighborChanged(Level *level, int x, int y, int z, int type); 36 int cloneTileId(Level *level, int x, int y, int z); 37 void registerIcons(IconRegister *iconRegister); 38};