From b691c43c44ff180d10e7d4a9afc83b98551ff586 Mon Sep 17 00:00:00 2001 From: daoge_cmd <3523206925@qq.com> Date: Sun, 1 Mar 2026 12:16:08 +0800 Subject: Initial commit --- Minecraft.World/TransparentTile.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Minecraft.World/TransparentTile.h (limited to 'Minecraft.World/TransparentTile.h') diff --git a/Minecraft.World/TransparentTile.h b/Minecraft.World/TransparentTile.h new file mode 100644 index 00000000..0601be4b --- /dev/null +++ b/Minecraft.World/TransparentTile.h @@ -0,0 +1,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(); +}; \ No newline at end of file -- cgit v1.2.3