Search in sources :

Example 41 with DecoSingleBiomeDecorations

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

the class RealisticBiomeBOPCrag method initDecos.

@Override
public void initDecos() {
    DecoPond decoPond = new DecoPond();
    // very high because most are blocked by topography
    decoPond.setChunksPerPond(3);
    DecoHelperBorder borderedPond = new DecoHelperBorder(decoPond, 0.8f, 0.7f);
    this.addDeco(borderedPond);
    DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
    this.addDeco(decoBaseBiomeDecorations);
}
Also used : DecoBaseBiomeDecorations(rtg.api.world.deco.DecoBaseBiomeDecorations) DecoSingleBiomeDecorations(rtg.api.world.deco.DecoSingleBiomeDecorations) DecoPond(rtg.api.world.deco.DecoPond) DecoHelperBorder(rtg.api.world.deco.helper.DecoHelperBorder)

Example 42 with DecoSingleBiomeDecorations

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

the class RealisticBiomeBOPGlacier 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 43 with DecoSingleBiomeDecorations

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

the class RealisticBiomeBOPSnowyConiferousForest method initDecos.

@Override
public void initDecos() {
    DecoBoulder decoBoulder = new DecoBoulder();
    decoBoulder.setBoulderBlock(Blocks.COBBLESTONE.getDefaultState());
    decoBoulder.setMaxY(80);
    decoBoulder.setChance(16);
    decoBoulder.setStrengthFactor(1f);
    this.addDeco(decoBoulder);
    DecoFallenTree decoFallenTree = new DecoFallenTree();
    decoFallenTree.getDistribution().setNoiseDivisor(80f);
    decoFallenTree.getDistribution().setNoiseFactor(60f);
    decoFallenTree.getDistribution().setNoiseAddend(-15f);
    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(4);
    this.addDeco(decoFallenTree, this.getConfig().ALLOW_LOGS.get());
    DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
    decoBaseBiomeDecorations.setNotEqualsZeroChance(12);
    this.addDeco(decoBaseBiomeDecorations);
}
Also used : DecoBaseBiomeDecorations(rtg.api.world.deco.DecoBaseBiomeDecorations) DecoSingleBiomeDecorations(rtg.api.world.deco.DecoSingleBiomeDecorations) DecoFallenTree(rtg.api.world.deco.DecoFallenTree) DecoBoulder(rtg.api.world.deco.DecoBoulder)

Example 44 with DecoSingleBiomeDecorations

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

the class RealisticBiomeBOPTemperateRainforest 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 45 with DecoSingleBiomeDecorations

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

the class RealisticBiomeBOPPrairie 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