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