cn.nukkit.level.biome.impl.jungle.JungleBiome 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.jungle;
import cn.nukkit.level.biome.type.GrassyBiome;
import cn.nukkit.level.generator.populator.impl.PopulatorMelon;
import cn.nukkit.level.generator.populator.impl.tree.JungleBigTreePopulator;
import cn.nukkit.level.generator.populator.impl.tree.JungleTreePopulator;
/**
* @author DaPorkchop_
*/
public class JungleBiome extends GrassyBiome {
public JungleBiome() {
super();
JungleTreePopulator trees = new JungleTreePopulator();
trees.setBaseAmount(10);
this.addPopulator(trees);
JungleBigTreePopulator bigTrees = new JungleBigTreePopulator();
bigTrees.setBaseAmount(6);
this.addPopulator(bigTrees);
PopulatorMelon melon = new PopulatorMelon();
melon.setBaseAmount(-65);
melon.setRandomAmount(70);
this.addPopulator(melon);
}
@Override
public String getName() {
return "Jungle";
}
}