cn.nukkit.level.biome.impl.savanna.SavannaMBiome 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.savanna;
/**
* @author DaPorkchop_
*/
public class SavannaMBiome extends SavannaBiome {
//TODO: coarse dirt?
//private static final Simplex coarseDirtNoise = new Simplex(new NukkitRandom(0), 1d, 1 / 4f, 1 / 16f);
//boolean coarseDirt = false;
public SavannaMBiome() {
super();
//this is set to be above the build limit so that it'll actually hit it sometimes
this.setBaseHeight(0.3625f);
this.setHeightVariation(1.225f);
}
@Override
public String getName() {
return "Savanna M";
}
//@Override
//public int getSurfaceBlock(int y) {
// return coarseDirt ? COARSE_DIRT : DIRT;
//}
//@Override
//public void preCover(int x, int z) {
// coarseDirt = coarseDirtNoise.noise2D(x, z, true) < 0;
//}
@Override
public boolean doesOverhang() {
return true;
}
}