Added parrots to tropical biomes

This commit is contained in:
Forstride 2017-06-11 07:07:17 -04:00
parent fab275beac
commit f8ea5933a2
5 changed files with 14 additions and 0 deletions

View file

@ -28,6 +28,7 @@ import net.minecraft.block.BlockFlower;
import net.minecraft.block.BlockPlanks; import net.minecraft.block.BlockPlanks;
import net.minecraft.block.BlockTallGrass; import net.minecraft.block.BlockTallGrass;
import net.minecraft.entity.passive.EntityOcelot; import net.minecraft.entity.passive.EntityOcelot;
import net.minecraft.entity.passive.EntityParrot;
import net.minecraft.init.Blocks; import net.minecraft.init.Blocks;
public class BiomeGenEucalyptusForest extends BOPOverworldBiome public class BiomeGenEucalyptusForest extends BOPOverworldBiome
@ -46,6 +47,7 @@ public class BiomeGenEucalyptusForest extends BOPOverworldBiome
this.spawnableMonsterList.add(new SpawnListEntry(EntityOcelot.class, 2, 1, 1)); this.spawnableMonsterList.add(new SpawnListEntry(EntityOcelot.class, 2, 1, 1));
this.spawnableCreatureList.add(new SpawnListEntry(EntityButterfly.class, 6, 2, 4)); this.spawnableCreatureList.add(new SpawnListEntry(EntityButterfly.class, 6, 2, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityParrot.class, 40, 1, 2));
// trees // trees
GeneratorWeighted treeGenerator = new GeneratorWeighted(10); GeneratorWeighted treeGenerator = new GeneratorWeighted(10);

View file

@ -32,8 +32,10 @@ import net.minecraft.block.BlockPlanks;
import net.minecraft.block.BlockTallGrass; import net.minecraft.block.BlockTallGrass;
import net.minecraft.block.state.IBlockState; import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.passive.EntityOcelot; import net.minecraft.entity.passive.EntityOcelot;
import net.minecraft.entity.passive.EntityParrot;
import net.minecraft.init.Blocks; import net.minecraft.init.Blocks;
import net.minecraft.world.World; import net.minecraft.world.World;
import net.minecraft.world.biome.Biome.SpawnListEntry;
import net.minecraft.world.chunk.ChunkPrimer; import net.minecraft.world.chunk.ChunkPrimer;
public class BiomeGenOvergrownCliffs extends BOPOverworldBiome public class BiomeGenOvergrownCliffs extends BOPOverworldBiome
@ -67,6 +69,7 @@ public class BiomeGenOvergrownCliffs extends BOPOverworldBiome
this.spawnableCreatureList.clear(); this.spawnableCreatureList.clear();
this.spawnableMonsterList.add(new SpawnListEntry(EntityOcelot.class, 2, 1, 1)); this.spawnableMonsterList.add(new SpawnListEntry(EntityOcelot.class, 2, 1, 1));
this.spawnableCreatureList.add(new SpawnListEntry(EntityParrot.class, 40, 1, 2));
// trees // trees
GeneratorWeighted treeGenerator = new GeneratorWeighted(40.0F); GeneratorWeighted treeGenerator = new GeneratorWeighted(40.0F);

View file

@ -23,8 +23,10 @@ import net.minecraft.block.BlockFlower.EnumFlowerType;
import net.minecraft.block.BlockPlanks; import net.minecraft.block.BlockPlanks;
import net.minecraft.block.BlockTallGrass; import net.minecraft.block.BlockTallGrass;
import net.minecraft.entity.passive.EntityOcelot; import net.minecraft.entity.passive.EntityOcelot;
import net.minecraft.entity.passive.EntityParrot;
import net.minecraft.init.Blocks; import net.minecraft.init.Blocks;
import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockPos;
import net.minecraft.world.biome.Biome.SpawnListEntry;
public class BiomeGenRainforest extends BOPOverworldBiome public class BiomeGenRainforest extends BOPOverworldBiome
{ {
@ -45,6 +47,7 @@ public class BiomeGenRainforest extends BOPOverworldBiome
this.spawnableMonsterList.add(new SpawnListEntry(EntityOcelot.class, 2, 1, 1)); this.spawnableMonsterList.add(new SpawnListEntry(EntityOcelot.class, 2, 1, 1));
this.spawnableCreatureList.add(new SpawnListEntry(EntityButterfly.class, 6, 2, 4)); this.spawnableCreatureList.add(new SpawnListEntry(EntityButterfly.class, 6, 2, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityParrot.class, 40, 1, 2));
// aand // aand
this.addGenerator("sand", GeneratorStage.SAND_PASS2, (new GeneratorWaterside.Builder()).amountPerChunk(3).maxRadius(7).with(Blocks.SAND.getDefaultState()).create()); this.addGenerator("sand", GeneratorStage.SAND_PASS2, (new GeneratorWaterside.Builder()).amountPerChunk(3).maxRadius(7).with(Blocks.SAND.getDefaultState()).create());

View file

@ -33,8 +33,10 @@ import net.minecraft.block.BlockFlower;
import net.minecraft.block.BlockOldLeaf; import net.minecraft.block.BlockOldLeaf;
import net.minecraft.block.BlockPlanks; import net.minecraft.block.BlockPlanks;
import net.minecraft.block.BlockTallGrass; import net.minecraft.block.BlockTallGrass;
import net.minecraft.entity.passive.EntityParrot;
import net.minecraft.init.Blocks; import net.minecraft.init.Blocks;
import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockPos;
import net.minecraft.world.biome.Biome;
public class BiomeGenTropicalIsland extends BOPOverworldBiome public class BiomeGenTropicalIsland extends BOPOverworldBiome
{ {
@ -60,6 +62,7 @@ public class BiomeGenTropicalIsland extends BOPOverworldBiome
this.spawnableCreatureList.clear(); this.spawnableCreatureList.clear();
this.spawnableMonsterList.clear(); this.spawnableMonsterList.clear();
this.spawnableCreatureList.add(new SpawnListEntry(EntityButterfly.class, 6, 2, 4)); this.spawnableCreatureList.add(new SpawnListEntry(EntityButterfly.class, 6, 2, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityParrot.class, 40, 1, 2));
clearWeights(); clearWeights();

View file

@ -27,8 +27,10 @@ import net.minecraft.block.BlockPlanks;
import net.minecraft.block.BlockTallGrass; import net.minecraft.block.BlockTallGrass;
import net.minecraft.block.state.IBlockState; import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.passive.EntityOcelot; import net.minecraft.entity.passive.EntityOcelot;
import net.minecraft.entity.passive.EntityParrot;
import net.minecraft.init.Blocks; import net.minecraft.init.Blocks;
import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockPos;
import net.minecraft.world.biome.Biome.SpawnListEntry;
public class BiomeGenTropicalRainforest extends BOPOverworldBiome public class BiomeGenTropicalRainforest extends BOPOverworldBiome
{ {
@ -47,6 +49,7 @@ public class BiomeGenTropicalRainforest extends BOPOverworldBiome
this.spawnableCreatureList.clear(); this.spawnableCreatureList.clear();
this.spawnableMonsterList.add(new SpawnListEntry(EntityOcelot.class, 2, 1, 1)); this.spawnableMonsterList.add(new SpawnListEntry(EntityOcelot.class, 2, 1, 1));
this.spawnableCreatureList.add(new SpawnListEntry(EntityParrot.class, 40, 1, 2));
// sand // sand
this.addGenerator("sand", GeneratorStage.SAND_PASS2, (new GeneratorWaterside.Builder()).amountPerChunk(3).maxRadius(7).with(Blocks.SAND.getDefaultState()).create()); this.addGenerator("sand", GeneratorStage.SAND_PASS2, (new GeneratorWaterside.Builder()).amountPerChunk(3).maxRadius(7).with(Blocks.SAND.getDefaultState()).create());