/**
* This work is licensed under the Creative Commons
* Attribution-ShareAlike 3.0 Unported License. To view a copy of this
* license, visit http://creativecommons.org/licenses/by-sa/3.0/.
*/
package extrabiomes.module.summa.biome;
import net.minecraft.world.ColorizerFoliage;
import net.minecraft.world.ColorizerGrass;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.BiomeGenBase.Height;
import net.minecraft.world.biome.BiomeGenBase.SpawnListEntry;
import net.minecraftforge.common.BiomeDictionary.Type;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import extrabiomes.lib.BiomeSettings;
import extrabiomes.lib.DecorationSettings;
public class BiomeSnowRainforest extends ExtrabiomeGenBase
{
@Override
public DecorationSettings getDecorationSettings() {
return DecorationSettings.SNOWYRAINFOREST;
}
@SuppressWarnings("unchecked")
public BiomeSnowRainforest()
{
super(BiomeSettings.SNOWYRAINFOREST, Type.FOREST, Type.HILLS, Type.SNOWY);
setColor(0x338277);
setBiomeName("Snowy Rainforest");
temperature = BiomeGenBase.taigaHills.temperature;
rainfall = 1.3F;
this.setHeight(new Height(0.95F, 0.55F));
setEnableSnow();
spawnableCreatureList.add(new SpawnListEntry(net.minecraft.entity.passive.EntityWolf.class, 5, 4, 4));
}
@Override
@SideOnly(Side.CLIENT)
public int getBiomeFoliageColor(int x, int y, int z)
{
return ColorizerFoliage.getFoliageColor(0.0F, 0.1F);
}
@Override
@SideOnly(Side.CLIENT)
public int getBiomeGrassColor(int x, int y, int z)
{
return ColorizerGrass.getGrassColor(0.0F, 0.1F);
}
}