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/LargeFeature.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Minecraft.World/LargeFeature.h (limited to 'Minecraft.World/LargeFeature.h') diff --git a/Minecraft.World/LargeFeature.h b/Minecraft.World/LargeFeature.h new file mode 100644 index 00000000..d2df25a0 --- /dev/null +++ b/Minecraft.World/LargeFeature.h @@ -0,0 +1,23 @@ +#pragma once +#include "ChunkSource.h" + +class Level; + +class LargeFeature +{ +public: + static const wstring STRONGHOLD; +protected: + int radius; + Random *random; + Level *level; + +public: + LargeFeature(); + ~LargeFeature(); + + virtual void apply(ChunkSource *ChunkSource, Level *level, int xOffs, int zOffs, byteArray blocks); + +protected: + virtual void addFeature(Level *level, int x, int z, int xOffs, int zOffs, byteArray blocks) {} +}; \ No newline at end of file -- cgit v1.2.3