worldgenerationissues

This commit is contained in:
Lord_Cambion
2026-04-14 13:07:02 +02:00
parent 02cac98645
commit 54958075bb
7 changed files with 162 additions and 185 deletions
+6
View File
@@ -198,4 +198,10 @@ void Layer::init(int64_t seed)
this->seed += seedMixup;
this->seed *= this->seed * 6364136223846793005LL + 1442695040888963407LL;
this->seed += seedMixup;
}
bool Layer::isOcean(int biomeId)
{
return biomeId == Biome::ocean->id ||
biomeId == Biome::deepOcean->id ||
biomeId == Biome::frozenOcean->id;
}