diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-08-10 11:48:05 +0200 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-08-10 11:48:05 +0200 |
commit | 0ac3c67a21ae6fbd060322d65fcdad4f98148567 (patch) | |
tree | 1755b4ae331ba45d2e55e844e9be88c6e9686bf5 /src | |
parent | Changed cStructGenOreNests to take a list of ores + the block to replace. (diff) | |
download | cuberite-0ac3c67a21ae6fbd060322d65fcdad4f98148567.tar cuberite-0ac3c67a21ae6fbd060322d65fcdad4f98148567.tar.gz cuberite-0ac3c67a21ae6fbd060322d65fcdad4f98148567.tar.bz2 cuberite-0ac3c67a21ae6fbd060322d65fcdad4f98148567.tar.lz cuberite-0ac3c67a21ae6fbd060322d65fcdad4f98148567.tar.xz cuberite-0ac3c67a21ae6fbd060322d65fcdad4f98148567.tar.zst cuberite-0ac3c67a21ae6fbd060322d65fcdad4f98148567.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/ComposableGenerator.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp index 79a92171f..1ae86a29f 100644 --- a/src/Generating/ComposableGenerator.cpp +++ b/src/Generating/ComposableGenerator.cpp @@ -398,6 +398,21 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile) int MaxDepth = a_IniFile.GetValueSetI("Generator", "NetherFortsMaxDepth", 12); m_FinishGens.push_back(new cNetherFortGen(Seed, GridSize, MaxOffset, MaxDepth)); } + else if (NoCaseCompare(*itr, "NetherOreNests") == 0) + { + cStructGenOreNests::OreList Ores; + + // Quarts vein + cStructGenOreNests::OreInfo QuartsVein; + QuartsVein.BlockType = E_BLOCK_NETHER_QUARTZ_ORE; + QuartsVein.MaxHeight = 255; + QuartsVein.NumNests = 80; + QuartsVein.NestSize = 8; + Ores.push_back(QuartsVein); + + m_FinishGens.push_back(new cStructGenOreNests(Seed, Ores, E_BLOCK_NETHERRACK)); + + } else if (NoCaseCompare(*itr, "OreNests") == 0) { cStructGenOreNests::OreList Ores; |