Tweaked which biomes villages can spawn in

This commit is contained in:
Forstride 2016-02-04 22:36:01 -05:00
parent ca83293303
commit 36369fc9e0
16 changed files with 27 additions and 0 deletions

View file

@ -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());

View file

@ -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());

View file

@ -42,6 +42,8 @@ public class BiomeGenCoralReef extends BOPBiome
this.setColor(18285);
this.canSpawnInBiome = false;
this.canGenerateVillages = false;
this.canGenerateRivers = false;
clearWeights();

View file

@ -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

View file

@ -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));

View file

@ -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

View file

@ -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));

View file

@ -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);

View file

@ -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);

View file

@ -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));

View file

@ -41,6 +41,8 @@ public class BiomeGenOutback extends BOPBiome
this.addWeight(BOPClimates.HOT_DESERT, 7);
this.canGenerateVillages = true;
this.spawnableCreatureList.clear();
this.spawnableWaterCreatureList.clear();

View file

@ -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));

View file

@ -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));

View file

@ -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);

View file

@ -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));

View file

@ -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);