the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 23 lines 430 B view raw
1#pragma once 2 3#include "StructureFeature.h" 4 5class MineShaftFeature : public StructureFeature 6{ 7public: 8 static const wstring OPTION_CHANCE; 9 10private: 11 double chance; 12 13public: 14 MineShaftFeature(); 15 16 wstring getFeatureName(); 17 18 MineShaftFeature(unordered_map<wstring, wstring> options); 19 20protected: 21 virtual bool isFeatureChunk(int x, int z, bool bIsSuperflat=false); 22 virtual StructureStart *createStructureStart(int x, int z); 23};