All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.nukkit.level.biome.impl.extremehills.ExtremeHillsBiome Maven / Gradle / Ivy

Go to download

A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.

There is a newer version: 1.6.0.1-PN
Show newest version
package cn.nukkit.level.biome.impl.extremehills;

import cn.nukkit.block.BlockSapling;
import cn.nukkit.level.biome.type.GrassyBiome;
import cn.nukkit.level.generator.populator.impl.PopulatorTree;

/**
 * @author DaPorkchop_ (Nukkit Project)
 * 

* make sure this is touching another extreme hills type or it'll look dumb * * steep mountains with flat areas between */ public class ExtremeHillsBiome extends GrassyBiome { public ExtremeHillsBiome() { this(true); } public ExtremeHillsBiome(boolean tree) { super(); if (tree) { PopulatorTree trees = new PopulatorTree(BlockSapling.SPRUCE); trees.setBaseAmount(2); trees.setRandomAmount(2); this.addPopulator(trees); } this.setBaseHeight(1f); this.setHeightVariation(0.5f); } @Override public String getName() { return "Extreme Hills"; } @Override public boolean doesOverhang() { return true; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy