Search in sources :

Example 21 with DecoSingleBiomeDecorations

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

the class RealisticBiomeBOPSnowyForest 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 22 with DecoSingleBiomeDecorations

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

the class RealisticBiomeBOPSteppe 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 23 with DecoSingleBiomeDecorations

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

the class RealisticBiomeBOPTropicalIsland method initDecos.

@Override
public void initDecos() {
    DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
    this.addDeco(decoBaseBiomeDecorations);
    DecoFallenTree decoFallenTree = new DecoFallenTree();
    decoFallenTree.getDistribution().setNoiseDivisor(80f);
    decoFallenTree.getDistribution().setNoiseFactor(60f);
    decoFallenTree.getDistribution().setNoiseAddend(-15f);
    decoFallenTree.setLogCondition(RANDOM_CHANCE);
    decoFallenTree.setLogConditionNoise(0f);
    decoFallenTree.setLogConditionChance(12);
    decoFallenTree.setLogBlock(BOPBlocks.log_1.getStateFromMeta(7));
    decoFallenTree.setLeavesBlock(Blocks.LEAVES.getDefaultState());
    decoFallenTree.setMinSize(3);
    decoFallenTree.setMaxSize(4);
    this.addDeco(decoFallenTree, this.getConfig().ALLOW_LOGS.get());
}
Also used : DecoBaseBiomeDecorations(rtg.api.world.deco.DecoBaseBiomeDecorations) DecoSingleBiomeDecorations(rtg.api.world.deco.DecoSingleBiomeDecorations) DecoFallenTree(rtg.api.world.deco.DecoFallenTree)

Example 24 with DecoSingleBiomeDecorations

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

the class RealisticBiomeBOPDeadSwamp 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 25 with DecoSingleBiomeDecorations

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

the class RealisticBiomeBOPEucalyptusForest method initDecos.

@Override
public void initDecos() {
    DecoBoulder decoBoulder1 = new DecoBoulder();
    decoBoulder1.setBoulderBlock(Blocks.COBBLESTONE.getDefaultState());
    decoBoulder1.setMaxY(80);
    decoBoulder1.setChance(12);
    decoBoulder1.setStrengthFactor(1f);
    DecoBoulder decoBoulder2 = new DecoBoulder();
    decoBoulder2.setBoulderBlock(Blocks.COBBLESTONE.getDefaultState());
    decoBoulder2.setMaxY(80);
    decoBoulder2.setChance(12);
    decoBoulder2.setStrengthFactor(1f);
    DecoHelper5050 decoHelper5050 = new DecoHelper5050(decoBoulder1, decoBoulder2);
    this.addDeco(decoHelper5050);
    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(16);
    decoFallenTree.setLogBlock(BlockUtil.getStateLog(3));
    decoFallenTree.setLeavesBlock(BlockUtil.getStateLeaf(3));
    decoFallenTree.setMinSize(8);
    decoFallenTree.setMaxSize(14);
    this.addDeco(decoFallenTree, this.getConfig().ALLOW_LOGS.get());
    DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
    this.addDeco(decoBaseBiomeDecorations);
}
Also used : DecoBaseBiomeDecorations(rtg.api.world.deco.DecoBaseBiomeDecorations) DecoHelper5050(rtg.api.world.deco.helper.DecoHelper5050) DecoSingleBiomeDecorations(rtg.api.world.deco.DecoSingleBiomeDecorations) DecoFallenTree(rtg.api.world.deco.DecoFallenTree) DecoBoulder(rtg.api.world.deco.DecoBoulder)

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