the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "Tile.h"
3#include "Definitions.h"
4
5class FenceTile : public Tile
6{
7private:
8 wstring texture;
9
10public:
11 FenceTile(int id, const wstring &texture, Material *material);
12 virtual void addAABBs(Level *level, int x, int y, int z, AABB *box, AABBList *boxes, shared_ptr<Entity> source);
13 virtual 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
14 virtual bool isSolidRender(bool isServerLevel = false);
15 virtual bool isCubeShaped();
16 virtual bool isPathfindable(LevelSource *level, int x, int y, int z);
17 virtual bool shouldRenderFace(LevelSource *level, int x, int y, int z, int face);
18 virtual int getRenderShape();
19 virtual bool connectsTo(LevelSource *level, int x, int y, int z);
20 static bool isFence(int tile);
21 virtual void registerIcons(IconRegister *iconRegister);
22 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);
23};