use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBOPFlowerField method initDecos.
@Override
public void initDecos() {
// First, let's get a few shrubs in to break things up a bit.
DecoShrub decoShrub = new DecoShrub();
decoShrub.setMaxY(110);
decoShrub.setStrengthFactor(4f);
decoShrub.setChance(3);
this.addDeco(decoShrub);
// Flowers are the most aesthetically important feature of this biome, so let's add those next.
DecoFlowersRTG decoFlowers1 = new DecoFlowersRTG();
//Only colourful 1-block-tall flowers. No tulips as BOP has those covered.
decoFlowers1.setFlowers(new int[] { 0, 1, 2, 3, 8, 9 });
// Lots and lots of flowers!
decoFlowers1.setStrengthFactor(12f);
// We're only bothered about surface flowers here.
decoFlowers1.setHeightType(DecoFlowersRTG.HeightType.GET_HEIGHT_VALUE);
this.addDeco(decoFlowers1);
DecoFlowersRTG decoFlowers2 = new DecoFlowersRTG();
//Only 2-block-tall flowers.
decoFlowers2.setFlowers(new int[] { 10, 11, 14, 15 });
// Not as many of these.
decoFlowers2.setStrengthFactor(2f);
decoFlowers2.setChance(3);
// We're only bothered about surface flowers here.
decoFlowers2.setHeightType(DecoFlowersRTG.HeightType.GET_HEIGHT_VALUE);
this.addDeco(decoFlowers2);
// Not much free space left, so let's give some space to the base biome.
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
decoBaseBiomeDecorations.setNotEqualsZeroChance(4);
this.addDeco(decoBaseBiomeDecorations);
// Grass filler.
DecoGrass decoGrass = new DecoGrass();
decoGrass.setMaxY(128);
decoGrass.setStrengthFactor(24f);
this.addDeco(decoGrass);
}
use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBOPFlowerIsland method initDecos.
@Override
public void initDecos() {
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
this.addDeco(decoBaseBiomeDecorations);
}
use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBOPBog method initDecos.
@Override
public void initDecos() {
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
this.addDeco(decoBaseBiomeDecorations);
}
use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBOPBrushland method initDecos.
@Override
public void initDecos() {
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
this.addDeco(decoBaseBiomeDecorations);
}
use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBOPConiferousForest method initDecos.
@Override
public void initDecos() {
DecoBoulder decoBoulder = new DecoBoulder();
decoBoulder.setBoulderBlock(Blocks.COBBLESTONE.getDefaultState());
decoBoulder.setChance(16);
decoBoulder.setMaxY(95);
decoBoulder.setStrengthFactor(1f);
this.addDeco(decoBoulder);
DecoFallenTree decoFallenTree = new DecoFallenTree();
decoFallenTree.setLoops(1);
decoFallenTree.getDistribution().setNoiseDivisor(100f);
decoFallenTree.getDistribution().setNoiseFactor(6f);
decoFallenTree.getDistribution().setNoiseAddend(0.8f);
decoFallenTree.setLogCondition(NOISE_GREATER_AND_RANDOM_CHANCE);
decoFallenTree.setLogConditionNoise(0f);
decoFallenTree.setLogConditionChance(16);
decoFallenTree.setLogBlock(BOPBlocks.log_1.getStateFromMeta(3));
decoFallenTree.setLeavesBlock(Blocks.LEAVES.getDefaultState());
decoFallenTree.setMinSize(3);
decoFallenTree.setMaxSize(5);
this.addDeco(decoFallenTree, this.getConfig().ALLOW_LOGS.get());
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
decoBaseBiomeDecorations.setNotEqualsZeroChance(12);
decoBaseBiomeDecorations.setLoops(1);
this.addDeco(decoBaseBiomeDecorations);
}
Aggregations