the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "HalfTransparentTile_SPU.h"
3
4class GlassTile_SPU : public HalfTransparentTile_SPU
5{
6public:
7 GlassTile_SPU(int id) : HalfTransparentTile_SPU(id) {}
8
9 virtual bool shouldRenderFace(ChunkRebuildData *level, int x, int y, int z, int face) // from parent class, here because it needs storgage
10 {
11 int id = level->getTile(x, y, z);
12 if (!ms_pTileData->glassTile_allowSame && id == this->id) return false;
13 return Tile_SPU::shouldRenderFace(level, x, y, z, face);
14
15 }
16
17 virtual int getRenderLayer() { return 0; }
18};