cn.nukkit.level.biome.impl.beach.BeachBiome 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.beach;
import cn.nukkit.level.biome.type.SandyBiome;
import cn.nukkit.level.generator.populator.impl.PopulatorSugarcane;
/**
* @author PeratX (Nukkit Project)
*/
public class BeachBiome extends SandyBiome {
public BeachBiome() {
PopulatorSugarcane sugarcane = new PopulatorSugarcane();
sugarcane.setBaseAmount(0);
sugarcane.setRandomAmount(3);
this.addPopulator(sugarcane);
this.setBaseHeight(0f);
this.setHeightVariation(0.025f);
}
@Override
public String getName() {
return "Beach";
}
}