From 6e7c6ef76bd5dbf4e68f45c1aa9290b44ef91101 Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sat, 3 Dec 2016 09:30:47 +1100 Subject: [PATCH] Added llamas to the Steppe, Mountain and Shrubland. Closes #918 --- .../biomesoplenty/common/biome/overworld/BiomeGenMountain.java | 2 ++ .../biomesoplenty/common/biome/overworld/BiomeGenShrubland.java | 2 ++ .../biomesoplenty/common/biome/overworld/BiomeGenSteppe.java | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenMountain.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenMountain.java index 5cda4db14..fb2c814e3 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenMountain.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenMountain.java @@ -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(); diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenShrubland.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenShrubland.java index 60e6ab0ce..89a8479d9 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenShrubland.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenShrubland.java @@ -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()); diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenSteppe.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenSteppe.java index 68f02d456..a79d8c436 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenSteppe.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenSteppe.java @@ -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?