diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenBrushland.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenBrushland.java index 89793fcfe..ca6c3e139 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenBrushland.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenBrushland.java @@ -42,6 +42,8 @@ public class BiomeGenBrushland extends BOPBiome this.setTemperatureRainfall(1.2F, 0.1F); this.addWeight(BOPClimates.SAVANNA, 10); + this.canGenerateVillages = true; + //sand this.addGenerator("sand", GeneratorStage.SAND_PASS2, (new GeneratorWaterside.Builder()).amountPerChunk(4).maxRadius(7).with(Blocks.sand.getDefaultState()).create()); diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenChaparral.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenChaparral.java index 83c1af791..88617d497 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenChaparral.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenChaparral.java @@ -48,6 +48,8 @@ public class BiomeGenChaparral extends BOPBiome this.spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 1, 2, 6)); this.spawnableCreatureList.add(new SpawnListEntry(EntityButterfly.class, 6, 2, 4)); + this.canGenerateVillages = true; + // sand this.addGenerator("sand", GeneratorStage.SAND_PASS2, (new GeneratorWaterside.Builder()).amountPerChunk(3).maxRadius(7).with(Blocks.sand.getDefaultState()).create()); diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenCoralReef.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenCoralReef.java index 685285e1f..8865dba13 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenCoralReef.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenCoralReef.java @@ -42,6 +42,8 @@ public class BiomeGenCoralReef extends BOPBiome this.setColor(18285); this.canSpawnInBiome = false; + this.canGenerateVillages = false; + this.canGenerateRivers = false; clearWeights(); diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenFlowerField.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenFlowerField.java index 1eafe5ea5..28c018a32 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenFlowerField.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenFlowerField.java @@ -37,6 +37,8 @@ public class BiomeGenFlowerField extends BOPBiome this.addWeight(BOPClimates.WARM_TEMPERATE, 2); + this.canGenerateVillages = false; + this.spawnableCreatureList.add(new SpawnListEntry(EntityButterfly.class, 6, 2, 4)); // flowers diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenGrassland.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenGrassland.java index 1b82ff093..ac94ee08a 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenGrassland.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenGrassland.java @@ -45,6 +45,8 @@ public class BiomeGenGrassland extends BOPBiome { this.addWeight(BOPClimates.COOL_TEMPERATE, 7); this.addWeight(BOPClimates.WET_TEMPERATE, 3); + this.canGenerateVillages = true; + this.spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 5, 2, 6)); this.spawnableCreatureList.add(new SpawnListEntry(EntityButterfly.class, 6, 2, 4)); diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenGrove.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenGrove.java index adfc646cb..17089033f 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenGrove.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenGrove.java @@ -44,6 +44,8 @@ public class BiomeGenGrove extends BOPBiome this.addWeight(BOPClimates.COOL_TEMPERATE, 7); + this.canGenerateVillages = true; + this.spawnableCreatureList.add(new SpawnListEntry(EntityButterfly.class, 6, 2, 4)); // other plants diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenHeathland.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenHeathland.java index a44ab4c3d..b6bdd5ba3 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenHeathland.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenHeathland.java @@ -51,6 +51,8 @@ public class BiomeGenHeathland extends BOPBiome this.addWeight(BOPClimates.MEDITERANEAN, 10); + this.canGenerateVillages = true; + // TODO: why is there SO many horses? this.spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 1, 2, 6)); diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenLavenderFields.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenLavenderFields.java index ed3fc9216..e1b05eb09 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenLavenderFields.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenLavenderFields.java @@ -39,6 +39,7 @@ public class BiomeGenLavenderFields extends BOPBiome this.setTemperatureRainfall(0.6F, 0.7F); this.canSpawnInBiome = false; + this.canGenerateVillages = false; this.addWeight(BOPClimates.MEDITERANEAN, 3); diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenLushDesert.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenLushDesert.java index d73f7f6f3..482b539f4 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenLushDesert.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenLushDesert.java @@ -51,6 +51,7 @@ public class BiomeGenLushDesert extends BOPBiome this.fillerBlock = Blocks.hardened_clay.getDefaultState(); this.canSpawnInBiome = false; + this.canGenerateVillages = true; this.addWeight(BOPClimates.HOT_DESERT, 5); diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenMeadow.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenMeadow.java index e836a9bb9..9d9cb86b5 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenMeadow.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenMeadow.java @@ -41,6 +41,8 @@ public class BiomeGenMeadow extends BOPBiome this.addWeight(BOPClimates.COOL_TEMPERATE, 10); + this.canGenerateVillages = true; + this.spawnableCreatureList.add(new SpawnListEntry(EntitySnail.class, 6, 1, 2)); this.spawnableCreatureList.add(new SpawnListEntry(EntityButterfly.class, 6, 2, 4)); diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenOutback.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenOutback.java index 9dc938b66..7f04e6679 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenOutback.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenOutback.java @@ -41,6 +41,8 @@ public class BiomeGenOutback extends BOPBiome this.addWeight(BOPClimates.HOT_DESERT, 7); + this.canGenerateVillages = true; + this.spawnableCreatureList.clear(); this.spawnableWaterCreatureList.clear(); diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenPrairie.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenPrairie.java index 58ce2f0c3..3bdecc3b5 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenPrairie.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenPrairie.java @@ -43,6 +43,8 @@ public class BiomeGenPrairie extends BOPBiome this.addWeight(BOPClimates.WARM_TEMPERATE, 7); + this.canGenerateVillages = true; + this.spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 1, 2, 6)); this.spawnableCreatureList.add(new SpawnListEntry(EntityButterfly.class, 6, 2, 4)); diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenShrubland.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenShrubland.java index 7f3af513a..f38e5a764 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenShrubland.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenShrubland.java @@ -46,6 +46,8 @@ public class BiomeGenShrubland extends BOPBiome this.addWeight(BOPClimates.DRY_TEMPERATE, 10); this.addWeight(BOPClimates.MEDITERANEAN, 5); + this.canGenerateVillages = true; + this.spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 5, 2, 6)); this.spawnableCreatureList.add(new SpawnListEntry(EntityButterfly.class, 6, 2, 4)); diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenSteppe.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenSteppe.java index d6f279ca7..e4e9f660c 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenSteppe.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenSteppe.java @@ -44,6 +44,7 @@ public class BiomeGenSteppe extends BOPBiome this.setTemperatureRainfall(0.7F, 0.05F); this.canSpawnInBiome = false; + this.canGenerateVillages = true; this.addWeight(BOPClimates.DRY_TEMPERATE, 5); diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenWetland.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenWetland.java index dc32c9f75..5103b2653 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenWetland.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenWetland.java @@ -62,6 +62,7 @@ public class BiomeGenWetland extends BOPBiome this.canGenerateVillages = false; this.addWeight(BOPClimates.WET_TEMPERATE, 7); + this.addWeight(BOPClimates.COLD_SWAMP, 5); this.spawnableWaterCreatureList.clear(); this.spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 1, 3)); diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenXericShrubland.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenXericShrubland.java index ac5daa292..e18b94e45 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenXericShrubland.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenXericShrubland.java @@ -43,6 +43,7 @@ public class BiomeGenXericShrubland extends BOPBiome this.fillerBlock = Blocks.sand.getDefaultState(); this.canSpawnInBiome = false; + this.canGenerateVillages = true; this.addWeight(BOPClimates.HOT_DESERT, 1);