Search in sources :

Example 51 with DecoSingleBiomeDecorations

use of rtg.api.world.deco.DecoSingleBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.

the class RealisticBiomeBOPGrove method initDecos.

@Override
public void initDecos() {
    DecoFallenTree decoFallenTree1 = new DecoFallenTree();
    decoFallenTree1.getDistribution().setNoiseDivisor(80f);
    decoFallenTree1.getDistribution().setNoiseFactor(60f);
    decoFallenTree1.getDistribution().setNoiseAddend(-15f);
    decoFallenTree1.setLogCondition(X_DIVIDED_BY_STRENGTH);
    decoFallenTree1.setLogConditionNoise(8f);
    decoFallenTree1.setLogConditionChance(1);
    decoFallenTree1.setMaxY(100);
    decoFallenTree1.setLogBlock(BlockUtil.getStateLog(2));
    decoFallenTree1.setLeavesBlock(BlockUtil.getStateLeaf(2));
    decoFallenTree1.setMinSize(3);
    decoFallenTree1.setMaxSize(6);
    DecoFallenTree decoFallenTree2 = new DecoFallenTree();
    decoFallenTree2.getDistribution().setNoiseDivisor(80f);
    decoFallenTree2.getDistribution().setNoiseFactor(60f);
    decoFallenTree2.getDistribution().setNoiseAddend(-15f);
    decoFallenTree2.setLogCondition(X_DIVIDED_BY_STRENGTH);
    decoFallenTree2.setLogConditionNoise(8f);
    decoFallenTree2.setLogConditionChance(1);
    decoFallenTree2.setMaxY(100);
    decoFallenTree2.setLogBlock(BlockUtil.getStateLog2(1));
    decoFallenTree2.setLeavesBlock(BlockUtil.getStateLeaf(1));
    decoFallenTree2.setMinSize(3);
    decoFallenTree2.setMaxSize(6);
    DecoHelper5050 decoHelperHelper5050 = new DecoHelper5050(decoFallenTree1, decoFallenTree2);
    this.addDeco(decoHelperHelper5050, this.getConfig().ALLOW_LOGS.get());
    DecoShrub decoShrubCustom = new DecoShrub();
    decoShrubCustom.setLogBlock(BlockUtil.getStateLog(2));
    decoShrubCustom.setLeavesBlock(BlockUtil.getStateLeaf(2));
    decoShrubCustom.setMaxY(110);
    decoShrubCustom.setStrengthFactor(2f);
    DecoShrub decoShrubCustom2 = new DecoShrub();
    decoShrubCustom2.setLogBlock(BlockUtil.getStateLog2(1));
    decoShrubCustom2.setLeavesBlock(BlockUtil.getStateLeaf2(1));
    decoShrubCustom2.setMaxY(110);
    decoShrubCustom2.setStrengthFactor(2f);
    DecoHelper5050 decoHelperHelper50502 = new DecoHelper5050(decoShrubCustom, decoShrubCustom2);
    this.addDeco(decoHelperHelper50502);
    DecoFlowersRTG decoFlowersRTG = new DecoFlowersRTG();
    decoFlowersRTG.setFlowers(new int[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 });
    decoFlowersRTG.setMaxY(128);
    decoFlowersRTG.setStrengthFactor(2f);
    this.addDeco(decoFlowersRTG);
    DecoGrass decoGrass = new DecoGrass();
    decoGrass.setMaxY(128);
    decoGrass.setStrengthFactor(12f);
    this.addDeco(decoGrass);
    DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
    this.addDeco(decoBaseBiomeDecorations);
}
Also used : DecoHelper5050(rtg.api.world.deco.helper.DecoHelper5050) DecoSingleBiomeDecorations(rtg.api.world.deco.DecoSingleBiomeDecorations)

Example 52 with DecoSingleBiomeDecorations

use of rtg.api.world.deco.DecoSingleBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.

the class RealisticBiomeBOPMangrove method initDecos.

@Override
public void initDecos() {
    DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
    this.addDeco(decoBaseBiomeDecorations);
}
Also used : DecoBaseBiomeDecorations(rtg.api.world.deco.DecoBaseBiomeDecorations) DecoSingleBiomeDecorations(rtg.api.world.deco.DecoSingleBiomeDecorations)

Example 53 with DecoSingleBiomeDecorations

use of rtg.api.world.deco.DecoSingleBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.

the class RealisticBiomeBOPHighland method initDecos.

@Override
public void initDecos() {
    DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
    this.addDeco(decoBaseBiomeDecorations);
}
Also used : DecoBaseBiomeDecorations(rtg.api.world.deco.DecoBaseBiomeDecorations) DecoSingleBiomeDecorations(rtg.api.world.deco.DecoSingleBiomeDecorations)

Example 54 with DecoSingleBiomeDecorations

use of rtg.api.world.deco.DecoSingleBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.

the class RealisticBiomeBOPSacredSprings method initDecos.

@Override
public void initDecos() {
    DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
    this.addDeco(decoBaseBiomeDecorations);
}
Also used : DecoBaseBiomeDecorations(rtg.api.world.deco.DecoBaseBiomeDecorations) DecoSingleBiomeDecorations(rtg.api.world.deco.DecoSingleBiomeDecorations)

Example 55 with DecoSingleBiomeDecorations

use of rtg.api.world.deco.DecoSingleBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.

the class RealisticBiomeBOPMarsh method initDecos.

@Override
public void initDecos() {
    DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
    this.addDeco(decoBaseBiomeDecorations);
}
Also used : DecoBaseBiomeDecorations(rtg.api.world.deco.DecoBaseBiomeDecorations) DecoSingleBiomeDecorations(rtg.api.world.deco.DecoSingleBiomeDecorations)

Aggregations

DecoSingleBiomeDecorations (rtg.api.world.deco.DecoSingleBiomeDecorations)58 DecoBaseBiomeDecorations (rtg.api.world.deco.DecoBaseBiomeDecorations)56 DecoFallenTree (rtg.api.world.deco.DecoFallenTree)17 DecoBoulder (rtg.api.world.deco.DecoBoulder)11 DecoHelper5050 (rtg.api.world.deco.helper.DecoHelper5050)6 DecoHelperRandomSplit (rtg.api.world.deco.helper.DecoHelperRandomSplit)3 DecoGrass (rtg.api.world.deco.DecoGrass)2 DecoShrub (rtg.api.world.deco.DecoShrub)2 DecoFlowersRTG (rtg.api.world.deco.DecoFlowersRTG)1 DecoJungleCacti (rtg.api.world.deco.DecoJungleCacti)1 DecoPond (rtg.api.world.deco.DecoPond)1 DecoHelperBorder (rtg.api.world.deco.helper.DecoHelperBorder)1 TreeRTG (rtg.api.world.gen.feature.tree.rtg.TreeRTG)1 TreeRTGBetulaPapyrifera (rtg.api.world.gen.feature.tree.rtg.TreeRTGBetulaPapyrifera)1 TreeRTGPiceaSitchensis (rtg.api.world.gen.feature.tree.rtg.TreeRTGPiceaSitchensis)1