the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 26 lines 556 B view raw
1#pragma once 2 3#include "Tile.h" 4 5class Player; 6class ChunkRebuildData; 7 8class WorkbenchTile : public Tile 9{ 10 friend class Tile; 11 friend class ChunkRebuildData; 12private: 13 Icon *iconTop; 14 Icon *iconFront; 15 16protected: 17 WorkbenchTile(int id); 18 19public: 20 Icon *getTexture(int face, int data); 21 void registerIcons(IconRegister *iconRegister); 22 23public: 24 virtual bool TestUse(); 25 bool use(Level *level, int x, int y, int z, shared_ptr<Player> player, int clickedFace, float clickX, float clickY, float clickZ, bool soundOnly = false); // 4J added soundOnly param 26};