001 package net.minecraft.world.biome; 002 003 import net.minecraft.block.Block; 004 import net.minecraft.entity.passive.EntityMooshroom; 005 006 public class BiomeGenMushroomIsland extends BiomeGenBase 007 { 008 public BiomeGenMushroomIsland(int par1) 009 { 010 super(par1); 011 this.theBiomeDecorator.treesPerChunk = -100; 012 this.theBiomeDecorator.flowersPerChunk = -100; 013 this.theBiomeDecorator.grassPerChunk = -100; 014 this.theBiomeDecorator.mushroomsPerChunk = 1; 015 this.theBiomeDecorator.bigMushroomsPerChunk = 1; 016 this.topBlock = (byte)Block.mycelium.blockID; 017 this.spawnableMonsterList.clear(); 018 this.spawnableCreatureList.clear(); 019 this.spawnableWaterCreatureList.clear(); 020 this.spawnableCreatureList.add(new SpawnListEntry(EntityMooshroom.class, 8, 4, 8)); 021 } 022 }