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/RandomScatteredLargeFeature.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Minecraft.World/RandomScatteredLargeFeature.h (limited to 'Minecraft.World/RandomScatteredLargeFeature.h') diff --git a/Minecraft.World/RandomScatteredLargeFeature.h b/Minecraft.World/RandomScatteredLargeFeature.h new file mode 100644 index 00000000..b7d9fc06 --- /dev/null +++ b/Minecraft.World/RandomScatteredLargeFeature.h @@ -0,0 +1,22 @@ +#pragma once + +#include "StructureFeature.h" +#include "StructureStart.h" + +class RandomScatteredLargeFeature : public StructureFeature +{ +public: + static void staticCtor(); + static vector allowedBiomes; + RandomScatteredLargeFeature(); + +protected: + virtual bool isFeatureChunk(int x, int z, bool bIsSuperflat=false); + StructureStart *createStructureStart(int x, int z); + + class ScatteredFeatureStart : public StructureStart + { + public: + ScatteredFeatureStart(Level *level, Random *random, int chunkX, int chunkZ); + }; +}; \ No newline at end of file -- cgit v1.2.3