4jcraft/targets/minecraft/world/level/levelgen/structure/MineShaftFeature.h
2026-04-01 13:27:58 -05:00

26 lines
593 B
C++

#pragma once
#include <string>
#include <unordered_map>
#include "StructureFeature.h"
#include "minecraft/world/level/levelgen/structure/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);
};