Added separate climate for the Wasteland
This commit is contained in:
parent
35f89a760a
commit
c56aaebddc
2 changed files with 7 additions and 6 deletions
|
@ -47,7 +47,7 @@ public class BiomeGenWasteland extends BOPBiome
|
|||
public BiomeGenWasteland()
|
||||
{
|
||||
// terrain
|
||||
this.terrainSettings.avgHeight(64).heightVariation(0,7);
|
||||
this.terrainSettings.avgHeight(66).heightVariation(1,5);
|
||||
|
||||
this.setColor(0x5A5440);
|
||||
this.setTemperatureRainfall(0.9F, 0.05F);
|
||||
|
@ -62,7 +62,7 @@ public class BiomeGenWasteland extends BOPBiome
|
|||
this.canGenerateVillages = false;
|
||||
this.canSpawnInBiome = false;
|
||||
|
||||
this.addWeight(BOPClimates.HOT_DESERT, 2);
|
||||
this.addWeight(BOPClimates.WASTELAND, 50);
|
||||
|
||||
this.spawnableCreatureList.clear();
|
||||
this.spawnableWaterCreatureList.clear();
|
||||
|
@ -84,8 +84,7 @@ public class BiomeGenWasteland extends BOPBiome
|
|||
flowerGenerator.add("wilted_lily", 1, (new GeneratorFlora.Builder()).with(BOPFlowers.WILTED_LILY).create());
|
||||
|
||||
// lakes
|
||||
this.addGenerator("lakes", GeneratorStage.SAND, (new GeneratorLakes.Builder()).amountPerChunk(0.1F).waterLakeForBiome(this).create());
|
||||
this.addGenerator("poison_lakes", GeneratorStage.SAND, (new GeneratorLakes.Builder()).amountPerChunk(0.1F).waterLakeForBiome(this).liquid(BOPBlocks.poison).frozenLiquid((IBlockState)null).create());
|
||||
this.addGenerator("poison_lakes", GeneratorStage.SAND, (new GeneratorLakes.Builder()).amountPerChunk(0.05F).waterLakeForBiome(this).liquid(BOPBlocks.poison).frozenLiquid((IBlockState)null).create());
|
||||
|
||||
// spikes
|
||||
//this.addGenerator("spikes", GeneratorStage.PRE, (new GeneratorSpike.Builder()).amountPerChunk(0.2F).create());
|
||||
|
|
|
@ -21,7 +21,8 @@ public enum BOPClimates {
|
|||
TROPICAL (BiomeType.DESERT),
|
||||
MEDITERANEAN (BiomeType.WARM),
|
||||
SAVANNA (BiomeType.DESERT),
|
||||
HOT_DESERT (BiomeType.DESERT);
|
||||
HOT_DESERT (BiomeType.DESERT),
|
||||
WASTELAND (BiomeType.DESERT);
|
||||
|
||||
public final BiomeType biomeType;
|
||||
private int totalLandBiomesWeight;
|
||||
|
@ -88,6 +89,7 @@ public enum BOPClimates {
|
|||
BOPClimates.MEDITERANEAN.addLandBiome(5, BiomeGenBase.plains);
|
||||
BOPClimates.SAVANNA.addLandBiome(20, BiomeGenBase.savanna);
|
||||
BOPClimates.HOT_DESERT.addLandBiome(30, BiomeGenBase.desert).addLandBiome(10, BiomeGenBase.mesaPlateau);
|
||||
BOPClimates.WASTELAND.addLandBiome(1, BiomeGenBase.desert);
|
||||
}
|
||||
|
||||
|
||||
|
@ -111,7 +113,7 @@ public enum BOPClimates {
|
|||
WET_TEMPERATE, WET_TEMPERATE, WET_TEMPERATE, WARM_TEMPERATE, WARM_TEMPERATE, WARM_TEMPERATE, WARM_TEMPERATE, WARM_TEMPERATE, WARM_TEMPERATE, DRY_TEMPERATE, DRY_TEMPERATE, SAVANNA, // 5
|
||||
HOT_SWAMP, HOT_SWAMP, HOT_SWAMP, WET_TEMPERATE, WARM_TEMPERATE, WARM_TEMPERATE, WARM_TEMPERATE, MEDITERANEAN, MEDITERANEAN, SAVANNA, SAVANNA, HOT_DESERT, // 6
|
||||
TROPICAL, TROPICAL, HOT_SWAMP, HOT_SWAMP, WET_TEMPERATE, WARM_TEMPERATE, MEDITERANEAN, MEDITERANEAN, SAVANNA, HOT_DESERT, HOT_DESERT, HOT_DESERT, // 7
|
||||
TROPICAL, TROPICAL, TROPICAL, HOT_SWAMP, HOT_SWAMP, MEDITERANEAN, MEDITERANEAN, SAVANNA, SAVANNA, HOT_DESERT, HOT_DESERT, HOT_DESERT // 8
|
||||
TROPICAL, TROPICAL, TROPICAL, HOT_SWAMP, HOT_SWAMP, MEDITERANEAN, MEDITERANEAN, SAVANNA, SAVANNA, HOT_DESERT, HOT_DESERT, WASTELAND // 8
|
||||
};
|
||||
|
||||
public static int[] getClimateMappingInts()
|
||||
|
|
Loading…
Reference in a new issue