the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2using namespace std;
3
4#include "Tile.h"
5#include "Definitions.h"
6
7class Random;
8
9class ReedTile : public Tile
10{
11 friend class Tile;
12protected:
13 ReedTile(int id);
14
15public:
16 virtual void updateDefaultShape(); // 4J Added override
17 void tick(Level *level, int x, int y, int z, Random* random);
18
19public:
20 bool mayPlace(Level *level, int x, int y, int z);
21
22public:
23 void neighborChanged(Level *level, int x, int y, int z, int type);
24
25protected:
26 const void checkAlive(Level *level, int x, int y, int z);
27
28public:
29 bool canSurvive(Level *level, int x, int y, int z);
30
31public:
32 AABB *getAABB(Level *level, int x, int y, int z);
33
34public:
35 int getResource(int data, Random *random, int playerBonusLevel);
36
37public:
38 bool blocksLight();
39
40public:
41 bool isSolidRender(bool isServerLevel = false);
42
43public:
44 bool isCubeShaped();
45
46public:
47 int getRenderShape();
48 virtual int cloneTileId(Level *level, int x, int y, int z);
49
50 // 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
51 virtual bool shouldTileTick(Level *level, int x,int y,int z);
52};