Package extrabiomes.module.summa.biome

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

/**
* 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 java.util.Random;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.entity.passive.EntityHorse;
import net.minecraft.init.Blocks;
import net.minecraft.world.World;
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.helpers.LogHelper;
import extrabiomes.lib.BiomeSettings;
import extrabiomes.lib.DecorationSettings;

public class BiomeMountainRidge extends ExtrabiomeGenBase {
  @Override
  public DecorationSettings getDecorationSettings() {
    return DecorationSettings.MOUNTAINRIDGE;
  }

  @SuppressWarnings("unchecked")
  public BiomeMountainRidge() {
    super(BiomeSettings.MOUNTAINRIDGE, Type.MOUNTAIN, Type.SANDY);
    setColor(0xC4722F);
    setBiomeName("Red Rock Mountains");
    temperature = BiomeGenBase.desert.temperature;
    rainfall = BiomeGenBase.desert.rainfall;
    // TODO: Check height
    this.setHeight(new Height(1.7F, -0.1F));
    setDisableRain();
    spawnableCreatureList.clear();
    spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 3, 1, 3));
  }
}
TOP

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

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.