Search in sources :

Example 1 with DecoBaseBiomeDecorations

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

the class RealisticBiomeBYGBirchPlains method initDecos.

@Override
public void initDecos() {
    DecoFallenTree decoFallenTree = new DecoFallenTree();
    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(24);
    decoFallenTree.setLogBlock(BlockUtil.getStateLog(2));
    decoFallenTree.setLeavesBlock(BlockUtil.getStateLeaf(2));
    decoFallenTree.setMinSize(3);
    decoFallenTree.setMaxSize(6);
    this.addDeco(decoFallenTree, this.getConfig().ALLOW_LOGS.get());
    DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations();
    decoBaseBiomeDecorations.setMaxY(100);
    this.addDeco(decoBaseBiomeDecorations);
    DecoShrub decoShrubBirch = new DecoShrub();
    decoShrubBirch.setLogBlock(BlockUtil.getStateLog(2));
    decoShrubBirch.setLeavesBlock(BlockUtil.getStateLeaf(2));
    decoShrubBirch.setMaxY(90);
    decoShrubBirch.setStrengthFactor(6f);
    decoShrubBirch.setChance(4);
    this.addDeco(decoShrubBirch);
    DecoGrass decoGrass = new DecoGrass();
    decoGrass.setMaxY(100);
    decoGrass.setStrengthFactor(6f);
    this.addDeco(decoGrass);
}
Also used : DecoBaseBiomeDecorations(rtg.api.world.deco.DecoBaseBiomeDecorations) DecoShrub(rtg.api.world.deco.DecoShrub) DecoFallenTree(rtg.api.world.deco.DecoFallenTree) DecoGrass(rtg.api.world.deco.DecoGrass)

Example 2 with DecoBaseBiomeDecorations

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

the class RealisticBiomeBOPWetland 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 3 with DecoBaseBiomeDecorations

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

the class RealisticBiomeBOPXericShrubland 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 4 with DecoBaseBiomeDecorations

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

the class RealisticBiomeBYGAthuraForest method initDecos.

@Override
public void initDecos() {
    DecoShrub decoShrubAthura = new DecoShrub();
    decoShrubAthura.setLogBlock(athuraLogBlock);
    decoShrubAthura.setLeavesBlock(athuraLeavesBlock);
    decoShrubAthura.setMaxY(90);
    decoShrubAthura.setStrengthFactor(4f);
    decoShrubAthura.setChance(8);
    this.addDeco(decoShrubAthura);
    DecoBoulder decoBoulder = new DecoBoulder();
    decoBoulder.setBoulderBlock(Blocks.COBBLESTONE.getDefaultState());
    decoBoulder.setChance(24);
    decoBoulder.setMaxY(80);
    decoBoulder.setStrengthFactor(2f);
    this.addDeco(decoBoulder);
    DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations();
    this.addDeco(decoBaseBiomeDecorations);
    // Grass filler.
    DecoGrass decoGrass = new DecoGrass();
    decoGrass.setMinY(63);
    decoGrass.setMaxY(105);
    decoGrass.setLoops(1);
    this.addDeco(decoGrass);
}
Also used : DecoBaseBiomeDecorations(rtg.api.world.deco.DecoBaseBiomeDecorations) DecoShrub(rtg.api.world.deco.DecoShrub) DecoBoulder(rtg.api.world.deco.DecoBoulder) DecoGrass(rtg.api.world.deco.DecoGrass)

Example 5 with DecoBaseBiomeDecorations

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

the class RealisticBiomeBYGMushroomMountains method initDecos.

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

Aggregations

DecoBaseBiomeDecorations (rtg.api.world.deco.DecoBaseBiomeDecorations)120 DecoSingleBiomeDecorations (rtg.api.world.deco.DecoSingleBiomeDecorations)56 DecoFallenTree (rtg.api.world.deco.DecoFallenTree)31 DecoBoulder (rtg.api.world.deco.DecoBoulder)16 DecoShrub (rtg.api.world.deco.DecoShrub)11 DecoGrass (rtg.api.world.deco.DecoGrass)8 DecoHelper5050 (rtg.api.world.deco.helper.DecoHelper5050)4 DecoHelperRandomSplit (rtg.api.world.deco.helper.DecoHelperRandomSplit)4 DecoFlowersRTG (rtg.api.world.deco.DecoFlowersRTG)1 DecoJungleCacti (rtg.api.world.deco.DecoJungleCacti)1 DecoPond (rtg.api.world.deco.DecoPond)1 DecoTree (rtg.api.world.deco.DecoTree)1 DecoCollectionDesertRiver (rtg.api.world.deco.collection.DecoCollectionDesertRiver)1 DecoCollectionIceTrees (rtg.api.world.deco.collection.DecoCollectionIceTrees)1 DecoHelperBorder (rtg.api.world.deco.helper.DecoHelperBorder)1 TreeRTG (rtg.api.world.gen.feature.tree.rtg.TreeRTG)1 TreeRTGSalixMyrtilloides (rtg.api.world.gen.feature.tree.rtg.TreeRTGSalixMyrtilloides)1