aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/TransparentTile.h
blob: 0601be4b8f1b8bf5a269000dd1bc8900e8bc9ab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once
#include "Tile.h"

class TransparentTile : public Tile
{
protected:
	bool allowSame;
protected:
	TransparentTile(int id, Material *material, bool allowSame, bool isSolidRender = false);
public:
	virtual bool isSolidRender(bool isServerLevel = false);
    virtual bool shouldRenderFace(LevelSource *level, int x, int y, int z, int face);
    virtual bool blocksLight();
};