Files
MinecraftConsoles/Minecraft.World/MineShaftFeature.h

23 lines
430 B
C
Raw Normal View History

2026-03-01 12:16:08 +08:00
#pragma once
#include "StructureFeature.h"
class MineShaftFeature : public StructureFeature
{
2026-03-01 11:00:23 -06:00
public:
static const wstring OPTION_CHANCE;
private:
double chance;
public:
MineShaftFeature();
wstring getFeatureName();
MineShaftFeature(unordered_map<wstring, wstring> options);
2026-03-01 12:16:08 +08:00
protected:
virtual bool isFeatureChunk(int x, int z, bool bIsSuperflat=false);
virtual StructureStart *createStructureStart(int x, int z);
};