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/SnowTile.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Minecraft.World/SnowTile.h (limited to 'Minecraft.World/SnowTile.h') diff --git a/Minecraft.World/SnowTile.h b/Minecraft.World/SnowTile.h new file mode 100644 index 00000000..83b1f614 --- /dev/null +++ b/Minecraft.World/SnowTile.h @@ -0,0 +1,20 @@ +#pragma once + +#include "Tile.h" + +class SnowTile : public Tile +{ + friend class Tile; +protected: + SnowTile(int id); + +public: + int getResource(int data, Random *random, int playerBonusLevel); + + int getResourceCount(Random *random); + + void tick(Level *level, int x, int y, int z, Random *random); + + // 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 + virtual bool shouldTileTick(Level *level, int x,int y,int z); +}; \ No newline at end of file -- cgit v1.2.3