Added llamas to the Steppe, Mountain and Shrubland. Closes #918

This commit is contained in:
Adubbz 2016-12-03 09:30:47 +11:00
parent a28a7123af
commit 6e7c6ef76b
3 changed files with 6 additions and 0 deletions

View file

@ -39,6 +39,7 @@ import net.minecraft.block.BlockPlanks;
import net.minecraft.block.BlockTallGrass;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.passive.EntityLlama;
import net.minecraft.entity.passive.EntitySheep;
import net.minecraft.entity.passive.EntityWolf;
import net.minecraft.init.Blocks;
@ -94,6 +95,7 @@ public class BiomeGenMountain extends BOPBiome
this.spawnableCreatureList.clear();
this.spawnableCreatureList.add(new Biome.SpawnListEntry(EntitySheep.class, 12, 4, 6));
this.spawnableCreatureList.add(new Biome.SpawnListEntry(EntityWolf.class, 4, 4, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityLlama.class, 5, 4, 6));
}
this.topBlock = Blocks.GRASS.getDefaultState();

View file

@ -26,6 +26,7 @@ import biomesoplenty.common.world.generator.tree.GeneratorBush;
import net.minecraft.block.BlockFlower.EnumFlowerType;
import net.minecraft.block.BlockTallGrass;
import net.minecraft.entity.passive.EntityHorse;
import net.minecraft.entity.passive.EntityLlama;
import net.minecraft.init.Blocks;
public class BiomeGenShrubland extends BOPBiome
@ -49,6 +50,7 @@ public class BiomeGenShrubland extends BOPBiome
}
this.spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 5, 2, 6));
this.spawnableCreatureList.add(new SpawnListEntry(EntityLlama.class, 5, 4, 6));
// sand and gravel
this.addGenerator("sand", GeneratorStage.SAND_PASS2, (new GeneratorWaterside.Builder()).amountPerChunk(3).maxRadius(7).with(Blocks.SAND.getDefaultState()).create());

View file

@ -29,6 +29,7 @@ import biomesoplenty.common.world.generator.GeneratorWeighted;
import net.minecraft.block.BlockTallGrass;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.passive.EntityHorse;
import net.minecraft.entity.passive.EntityLlama;
import net.minecraft.init.Blocks;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
@ -62,6 +63,7 @@ public class BiomeGenSteppe extends BOPBiome
}
this.spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 5, 2, 6));
this.spawnableCreatureList.add(new SpawnListEntry(EntityLlama.class, 5, 4, 6));
// should the Steppe not have some splattered gravel and coarse dirt?