cn.nukkit.level.biome.impl.taiga.TaigaBiome 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.taiga;
import cn.nukkit.block.BlockSapling;
import cn.nukkit.level.biome.type.GrassyBiome;
import cn.nukkit.level.generator.populator.impl.PopulatorTree;
/**
* @author DaPorkchop_ (Nukkit Project)
*/
public class TaigaBiome extends GrassyBiome {
public TaigaBiome() {
super();
PopulatorTree trees = new PopulatorTree(BlockSapling.SPRUCE);
trees.setBaseAmount(10);
this.addPopulator(trees);
this.setBaseHeight(0.2f);
this.setHeightVariation(0.2f);
}
@Override
public String getName() {
return "Taiga";
}
}