Updated terrain configuration options for our current setup

This commit is contained in:
Adubbz 2017-03-04 12:52:38 +11:00
parent 4e5790855d
commit bd534ca319
1 changed files with 6 additions and 4 deletions

View File

@ -108,9 +108,7 @@ public class BOPBiome extends Biome implements IExtendedBiome
// If there isn't a valid config file, don't use it to configure the biome
if (conf.isEmpty())
return defaultBuilder.build();
defaultBuilder.withBaseHeight(conf.getFloat("rootHeight"));
defaultBuilder.withHeightVariation(conf.getFloat("variation"));
defaultBuilder.withTemperature(conf.getFloat("temperature"));
defaultBuilder.withRainfall(conf.getFloat("rainfall"));
defaultBuilder.withWaterColor(conf.getInt("waterColor"));
@ -143,7 +141,11 @@ public class BOPBiome extends Biome implements IExtendedBiome
this.topBlock = conf.getBlockState("topBlock", this.topBlock);
this.fillerBlock = conf.getBlockState("fillerBlock", this.fillerBlock);
this.seaFloorBlock = conf.getBlockState("seaFloorBlock", this.seaFloorBlock);
this.terrainSettings.avgHeight = conf.getFloat("averageHeight", (float)this.terrainSettings.avgHeight);
this.terrainSettings.variationBelow = conf.getFloat("variationBelow", (float)this.terrainSettings.variationBelow);
this.terrainSettings.variationAbove = conf.getFloat("variationAbove", (float)this.terrainSettings.variationAbove);
this.skyColor = conf.getInt("skyColor", this.skyColor);
this.hasBiomeEssence = conf.getBool("hasBiomeEssence", this.hasBiomeEssence);