the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 16 lines 648 B view raw
1#pragma once 2#include "EntityTile.h" 3 4class Player; 5 6class MusicTile : public EntityTile 7{ 8public: 9 MusicTile(int id); 10 virtual void neighborChanged(Level *level, int x, int y, int z, int type); 11 virtual bool TestUse(); 12 virtual 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 13 virtual void attack(Level *level, int x, int y, int z, shared_ptr<Player> player); 14 virtual shared_ptr<TileEntity> newTileEntity(Level *level); 15 virtual void triggerEvent(Level *level, int x, int y, int z, int i, int note); 16};