Package extrabiomes.module.summa.biome

Source Code of extrabiomes.module.summa.biome.BiomeSavanna

/**
* 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.biome.BiomeGenBase;
import net.minecraft.world.biome.BiomeGenBase.Height;
import net.minecraft.world.biome.BiomeGenBase.SpawnListEntry;
import net.minecraftforge.common.BiomeDictionary.Type;
import extrabiomes.lib.BiomeSettings;
import extrabiomes.lib.DecorationSettings;

public class BiomeSavanna extends ExtrabiomeGenBase
{
  @Override
  public DecorationSettings getDecorationSettings() {
    return DecorationSettings.SAVANNA;
  }

    @SuppressWarnings("unchecked")
    public BiomeSavanna()
    {
    super(BiomeSettings.SAVANNA, Type.PLAINS, Type.SANDY);
       
        setColor(0xBFA243);
        setBiomeName("Savanna");
        temperature = BiomeGenBase.desert.temperature;
        rainfall = BiomeGenBase.desert.rainfall;
        this.setHeight(new Height(0.1F, 0.05F));
       
        spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 3, 2, 4));
    }
}
TOP

Related Classes of extrabiomes.module.summa.biome.BiomeSavanna

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.