the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 19 lines 684 B view raw
1#pragma once 2#include "HalfTransparentTile.h" 3 4class Random; 5 6class IceTile : public HalfTransparentTile 7{ 8public: 9 IceTile(int id); 10 virtual int getRenderLayer(); 11 virtual bool shouldRenderFace(LevelSource *level, int x, int y, int z, int face); 12 virtual void playerDestroy(Level *level, shared_ptr<Player> player, int x, int y, int z, int data); 13 virtual int getResourceCount(Random *random); 14 virtual void tick(Level *level, int x, int y, int z, Random *random); 15 virtual int getPistonPushReaction(); 16 17 // 4J Added so we can check before we try to add a tile to the tick list if it's actually going to do seomthing 18 virtual bool shouldTileTick(Level *level, int x,int y,int z); 19};