cn.nukkit.level.biome.impl.beach.BeachBiome Maven / Gradle / Ivy
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";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy