Search in sources :

Example 46 with DecoBaseBiomeDecorations

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

the class RealisticBiomeBOPDeadForest 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 decoFallenTree1 = new DecoFallenTree();
    decoFallenTree1.setLoops(1);
    decoFallenTree1.getDistribution().setNoiseDivisor(100f);
    decoFallenTree1.getDistribution().setNoiseFactor(6f);
    decoFallenTree1.getDistribution().setNoiseAddend(0.8f);
    decoFallenTree1.setLogCondition(NOISE_GREATER_AND_RANDOM_CHANCE);
    decoFallenTree1.setLogConditionNoise(0f);
    decoFallenTree1.setLogConditionChance(10);
    decoFallenTree1.setMaxY(100);
    decoFallenTree1.setLogBlock(BOPBlocks.log_3.getStateFromMeta(2));
    decoFallenTree1.setLeavesBlock(Blocks.LEAVES.getDefaultState());
    decoFallenTree1.setMinSize(3);
    decoFallenTree1.setMaxSize(5);
    DecoFallenTree decoFallenTree2 = new DecoFallenTree();
    decoFallenTree2.setLoops(1);
    decoFallenTree2.getDistribution().setNoiseDivisor(100f);
    decoFallenTree2.getDistribution().setNoiseFactor(6f);
    decoFallenTree2.getDistribution().setNoiseAddend(0.8f);
    decoFallenTree2.setLogCondition(NOISE_GREATER_AND_RANDOM_CHANCE);
    decoFallenTree2.setLogConditionNoise(0f);
    decoFallenTree2.setLogConditionChance(10);
    decoFallenTree2.setMaxY(100);
    decoFallenTree2.setLogBlock(BlockUtil.getStateLog(1));
    decoFallenTree2.setLeavesBlock(BlockUtil.getStateLeaf(1));
    decoFallenTree2.setMinSize(3);
    decoFallenTree2.setMaxSize(5);
    DecoHelperRandomSplit decoHelperRandomSplit = new DecoHelperRandomSplit();
    decoHelperRandomSplit.decos = new DecoBase[] { decoFallenTree2, decoFallenTree1 };
    decoHelperRandomSplit.chances = new int[] { 12, 1 };
    this.addDeco(decoHelperRandomSplit, this.getConfig().ALLOW_LOGS.get());
    DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
    this.addDeco(decoBaseBiomeDecorations);
}
Also used : DecoBaseBiomeDecorations(rtg.api.world.deco.DecoBaseBiomeDecorations) DecoSingleBiomeDecorations(rtg.api.world.deco.DecoSingleBiomeDecorations) DecoFallenTree(rtg.api.world.deco.DecoFallenTree) DecoHelperRandomSplit(rtg.api.world.deco.helper.DecoHelperRandomSplit) DecoBoulder(rtg.api.world.deco.DecoBoulder)

Example 47 with DecoBaseBiomeDecorations

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

the class RealisticBiomeARCoralReef method initDecos.

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

Example 48 with DecoBaseBiomeDecorations

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

the class RealisticBiomeARDeepReef method initDecos.

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

Example 49 with DecoBaseBiomeDecorations

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

the class RealisticBiomeARKelpForest method initDecos.

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

Example 50 with DecoBaseBiomeDecorations

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

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