001 package net.minecraft.src; 002 003 import java.util.Random; 004 005 public class BiomeGenTaiga extends BiomeGenBase 006 { 007 public BiomeGenTaiga(int par1) 008 { 009 super(par1); 010 this.spawnableCreatureList.add(new SpawnListEntry(EntityWolf.class, 8, 4, 4)); 011 this.theBiomeDecorator.treesPerChunk = 10; 012 this.theBiomeDecorator.grassPerChunk = 1; 013 } 014 015 /** 016 * Gets a WorldGen appropriate for this biome. 017 */ 018 public WorldGenerator getRandomWorldGenForTrees(Random par1Random) 019 { 020 return (WorldGenerator)(par1Random.nextInt(3) == 0 ? new WorldGenTaiga1() : new WorldGenTaiga2(false)); 021 } 022 }