4jcraft/Minecraft.World/WorldGen/Features/MineShaftFeature.h
2026-03-21 17:45:10 -05:00

22 lines
478 B
C++

#pragma once
#include "StructureFeature.h"
class MineShaftFeature : public StructureFeature {
public:
static const std::wstring OPTION_CHANCE;
private:
double chance;
public:
MineShaftFeature();
std::wstring getFeatureName();
MineShaftFeature(std::unordered_map<std::wstring, std::wstring> options);
protected:
virtual bool isFeatureChunk(int x, int z, bool bIsSuperflat = false);
virtual StructureStart* createStructureStart(int x, int z);
};