Normal: drop MOUNTAINS and SMALL_MOUNTAINS from biome selection

this would cause disruption to generation on a patch release, which is unacceptable.
This would be better for 3.20 or 4.0.
This commit is contained in:
Dylan K. Taylor 2021-04-25 14:37:22 +01:00
parent b01e4ab417
commit 361be8fe36
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -144,13 +144,9 @@ class Normal extends Generator{
return Biome::BIRCH_FOREST;
}
}else{
if($temperature < 0.20){
return Biome::MOUNTAINS;
}elseif($temperature < 0.40){
return Biome::SMALL_MOUNTAINS;
}else{
return Biome::RIVER;
}
//Previously here, we had a (broken) condition to generate mountains, but fixing it would have
//caused generation changes on a patch release, so we can't keep it here for now.
return Biome::RIVER;
}
}
};