cn.nukkit.level.biome.impl.iceplains.IcePlainsBiome Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powernukkit Show documentation
Show all versions of powernukkit Show documentation
A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.
package cn.nukkit.level.biome.impl.iceplains;
import cn.nukkit.block.BlockSapling;
import cn.nukkit.level.biome.type.SnowyBiome;
import cn.nukkit.level.generator.populator.impl.PopulatorTree;
/**
* @author MagicDroidX (Nukkit Project)
*/
public class IcePlainsBiome extends SnowyBiome {
public IcePlainsBiome() {
super();
PopulatorTree trees = new PopulatorTree(BlockSapling.SPRUCE);
trees.setBaseAmount(0);
trees.setRandomAmount(1);
this.addPopulator(trees);
this.setBaseHeight(0.125f);
this.setHeightVariation(0.05f);
}
public String getName() {
return "Ice Plains";
}
}