/**
* 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.entity.passive.EntityHorse;
import net.minecraft.world.ColorizerFoliage;
import net.minecraft.world.ColorizerGrass;
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 BiomeMeadow extends ExtrabiomeGenBase
{
@Override
public DecorationSettings getDecorationSettings() {
return DecorationSettings.MEADOW;
}
@SuppressWarnings("unchecked")
public BiomeMeadow()
{
super(BiomeSettings.MEADOW, Type.PLAINS);
this.setHeight(new Height(0.0F, 0.0F));
setBiomeName("Meadow");
this.setHeight(new Height(0.1F, 0.03125F));
spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 6, 2, 6));
}
@Override
@SideOnly(Side.CLIENT)
public int getBiomeFoliageColor(int x, int y, int z)
{
return ColorizerFoliage.getFoliageColor(1.0F, 1.0F);
}
@Override
@SideOnly(Side.CLIENT)
public int getBiomeGrassColor(int x, int y, int z)
{
return ColorizerGrass.getGrassColor(1.0F, 1.0F);
}
}