Search in sources :

Example 1 with DecoCollectionDesertRiver

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

the class RealisticBiomeVanillaSavanna method initDecos.

@Override
public void initDecos() {
    this.addDecoCollection(new DecoCollectionDesertRiver(this.getConfig().ALLOW_CACTUS.get()));
    this.addDecoCollection(new DecoCollectionSavanna(this.getConfig().ALLOW_LOGS.get()));
}
Also used : DecoCollectionDesertRiver(rtg.api.world.deco.collection.DecoCollectionDesertRiver) DecoCollectionSavanna(rtg.api.world.deco.collection.DecoCollectionSavanna)

Example 2 with DecoCollectionDesertRiver

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

the class RealisticBiomeVanillaSavannaPlateau method initDecos.

@Override
public void initDecos() {
    this.addDecoCollection(new DecoCollectionDesertRiver(this.getConfig().ALLOW_CACTUS.get()));
    DecoBoulder decoBoulder1 = new DecoBoulder();
    decoBoulder1.setBoulderBlock(Blocks.COBBLESTONE.getDefaultState());
    decoBoulder1.setMaxY(80);
    decoBoulder1.setChance(24);
    this.addDeco(decoBoulder1);
    DecoBoulder decoBoulder2 = new DecoBoulder();
    decoBoulder2.setBoulderBlock(Blocks.COBBLESTONE.getDefaultState());
    decoBoulder1.setMinY(110);
    decoBoulder2.setChance(24);
    this.addDeco(decoBoulder2);
    DecoShrub acaciaShrub = new DecoShrub();
    acaciaShrub.setLogBlock(Blocks.LOG2.getDefaultState());
    acaciaShrub.setLeavesBlock(Blocks.LEAVES2.getDefaultState());
    acaciaShrub.setMaxY(160);
    acaciaShrub.setStrengthFactor(3f);
    acaciaShrub.setChance(9);
    this.addDeco(acaciaShrub);
    TreeRTG acaciaTree = new TreeRTGAcaciaBucheri();
    acaciaTree.setLogBlock(Blocks.LOG2.getDefaultState());
    acaciaTree.setLeavesBlock(Blocks.LEAVES2.getDefaultState());
    acaciaTree.setMinTrunkSize(12);
    acaciaTree.setMaxTrunkSize(16);
    this.addTree(acaciaTree);
    DecoTree acaciaTrees = new DecoTree(acaciaTree);
    acaciaTrees.setStrengthFactorForLoops(2f);
    acaciaTrees.setTreeType(DecoTree.TreeType.RTG_TREE);
    acaciaTrees.setTreeCondition(DecoTree.TreeCondition.RANDOM_CHANCE);
    acaciaTrees.setTreeConditionChance(12);
    acaciaTrees.setMaxY(160);
    this.addDeco(acaciaTrees);
    DecoCactus decoCactus = new DecoCactus();
    decoCactus.setMaxY(160);
    decoCactus.setLoops(60);
    decoCactus.setChance(8);
    this.addDeco(decoCactus, this.getConfig().ALLOW_CACTUS.get());
    DecoDoubleGrass decoDoubleGrass = new DecoDoubleGrass();
    decoDoubleGrass.setMaxY(128);
    decoDoubleGrass.setStrengthFactor(3f);
    this.addDeco(decoDoubleGrass);
    DecoGrass decoGrass = new DecoGrass();
    decoGrass.setMaxY(128);
    decoGrass.setStrengthFactor(10f);
    this.addDeco(decoGrass);
}
Also used : DecoCollectionDesertRiver(rtg.api.world.deco.collection.DecoCollectionDesertRiver) TreeRTG(rtg.api.world.gen.feature.tree.rtg.TreeRTG) TreeRTGAcaciaBucheri(rtg.api.world.gen.feature.tree.rtg.TreeRTGAcaciaBucheri)

Example 3 with DecoCollectionDesertRiver

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

the class RealisticBiomeVanillaSavannaPlateauM method initDecos.

@Override
public void initDecos() {
    this.addDecoCollection(new DecoCollectionDesertRiver(this.getConfig().ALLOW_CACTUS.get()));
    DecoBoulder decoBoulder1 = new DecoBoulder();
    decoBoulder1.setBoulderBlock(Blocks.COBBLESTONE.getDefaultState());
    decoBoulder1.setMaxY(80);
    decoBoulder1.setChance(24);
    this.addDeco(decoBoulder1);
    DecoBoulder decoBoulder2 = new DecoBoulder();
    decoBoulder2.setBoulderBlock(Blocks.COBBLESTONE.getDefaultState());
    decoBoulder1.setMinY(110);
    decoBoulder2.setChance(24);
    this.addDeco(decoBoulder2);
    DecoShrub acaciaShrub = new DecoShrub();
    acaciaShrub.setLogBlock(Blocks.LOG2.getDefaultState());
    acaciaShrub.setLeavesBlock(Blocks.LEAVES2.getDefaultState());
    acaciaShrub.setMaxY(160);
    acaciaShrub.setStrengthFactor(3f);
    acaciaShrub.setChance(9);
    this.addDeco(acaciaShrub);
    TreeRTG acaciaTree = new TreeRTGAcaciaBucheri();
    acaciaTree.setLogBlock(Blocks.LOG2.getDefaultState());
    acaciaTree.setLeavesBlock(Blocks.LEAVES2.getDefaultState());
    acaciaTree.setMinTrunkSize(12);
    acaciaTree.setMaxTrunkSize(16);
    this.addTree(acaciaTree);
    DecoTree acaciaTrees = new DecoTree(acaciaTree);
    acaciaTrees.setStrengthFactorForLoops(2f);
    acaciaTrees.setTreeType(DecoTree.TreeType.RTG_TREE);
    acaciaTrees.setTreeCondition(DecoTree.TreeCondition.RANDOM_CHANCE);
    acaciaTrees.setTreeConditionChance(12);
    acaciaTrees.setMaxY(160);
    this.addDeco(acaciaTrees);
    DecoCactus decoCactus = new DecoCactus();
    decoCactus.setMaxY(160);
    decoCactus.setLoops(60);
    decoCactus.setChance(8);
    this.addDeco(decoCactus, this.getConfig().ALLOW_CACTUS.get());
    DecoDoubleGrass decoDoubleGrass = new DecoDoubleGrass();
    decoDoubleGrass.setMaxY(128);
    decoDoubleGrass.setStrengthFactor(3f);
    this.addDeco(decoDoubleGrass);
    DecoGrass decoGrass = new DecoGrass();
    decoGrass.setMaxY(128);
    decoGrass.setStrengthFactor(10f);
    this.addDeco(decoGrass);
}
Also used : DecoCollectionDesertRiver(rtg.api.world.deco.collection.DecoCollectionDesertRiver) TreeRTG(rtg.api.world.gen.feature.tree.rtg.TreeRTG) TreeRTGAcaciaBucheri(rtg.api.world.gen.feature.tree.rtg.TreeRTGAcaciaBucheri)

Example 4 with DecoCollectionDesertRiver

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

the class RealisticBiomeVanillaMesaBryce method initDecos.

@Override
public void initDecos() {
    this.addDecoCollection(new DecoCollectionDesertRiver(this.getConfig().ALLOW_CACTUS.get()));
    DecoBoulder decoBoulder = new DecoBoulder();
    decoBoulder.setBoulderBlock(Blocks.COBBLESTONE.getDefaultState());
    decoBoulder.setMaxY(83);
    this.addDeco(decoBoulder);
    DecoShrub decoShrub = new DecoShrub();
    decoShrub.setLoops(3);
    decoShrub.setMaxY(90);
    addDeco(decoShrub);
    DecoDeadBush decoDeadBush = new DecoDeadBush();
    decoDeadBush.setMaxY(100);
    decoDeadBush.setLoops(3);
    this.addDeco(decoDeadBush);
    DecoCactus decoCactus = new DecoCactus();
    decoCactus.setSoilBlock(BlockUtil.getStateSand(1));
    decoCactus.setLoops(18);
    decoCactus.setMaxY(100);
    this.addDeco(decoCactus, this.getConfig().ALLOW_CACTUS.get());
}
Also used : DecoDeadBush(rtg.api.world.deco.DecoDeadBush) DecoCollectionDesertRiver(rtg.api.world.deco.collection.DecoCollectionDesertRiver) DecoShrub(rtg.api.world.deco.DecoShrub) DecoBoulder(rtg.api.world.deco.DecoBoulder) DecoCactus(rtg.api.world.deco.DecoCactus)

Example 5 with DecoCollectionDesertRiver

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

the class RealisticBiomeVanillaMesaPlateau method initDecos.

@Override
public void initDecos() {
    this.addDecoCollection(new DecoCollectionDesertRiver(this.getConfig().ALLOW_CACTUS.get()));
    DecoShrub decoShrub = new DecoShrub();
    decoShrub.setChance(10);
    decoShrub.setStrengthFactor(3f);
    addDeco(decoShrub);
    DecoCactus decoCactus = new DecoCactus();
    decoCactus.setStrengthFactor(25f);
    decoCactus.setSoilBlock(BlockUtil.getStateSand(1));
    decoCactus.setSandOnly(false);
    decoCactus.setMaxRiver(0.8f);
    addDeco(decoCactus, this.getConfig().ALLOW_CACTUS.get());
    DecoReed decoReed = new DecoReed();
    decoReed.setLoops(5);
    decoReed.setMaxRiver(0.8f);
    addDeco(decoReed);
    DecoDeadBush decoDeadBush = new DecoDeadBush();
    decoDeadBush.setStrengthFactor(5f);
    addDeco(decoDeadBush);
    DecoTree decoTree = new DecoTree(new WorldGenTrees(false));
    decoTree.setLoops(20);
    decoTree.setTreeType(DecoTree.TreeType.WORLDGEN);
    decoTree.setTreeCondition(DecoTree.TreeCondition.X_DIVIDED_BY_STRENGTH);
    decoTree.setDistribution(new DecoTree.Distribution(24f, 1f, 0f));
    decoTree.setTreeConditionChance(0);
    decoTree.setTreeConditionFloat(4f);
    decoTree.setTreeConditionNoise(0f);
    decoTree.setMinY(74);
    addDeco(decoTree);
}
Also used : DecoCollectionDesertRiver(rtg.api.world.deco.collection.DecoCollectionDesertRiver) WorldGenTrees(net.minecraft.world.gen.feature.WorldGenTrees)

Aggregations

DecoCollectionDesertRiver (rtg.api.world.deco.collection.DecoCollectionDesertRiver)14 WorldGenTrees (net.minecraft.world.gen.feature.WorldGenTrees)3 DecoCactus (rtg.api.world.deco.DecoCactus)3 DecoDeadBush (rtg.api.world.deco.DecoDeadBush)3 DecoCollectionDesert (rtg.api.world.deco.collection.DecoCollectionDesert)3 DecoBoulder (rtg.api.world.deco.DecoBoulder)2 DecoShrub (rtg.api.world.deco.DecoShrub)2 DecoCollectionSavanna (rtg.api.world.deco.collection.DecoCollectionSavanna)2 TreeRTG (rtg.api.world.gen.feature.tree.rtg.TreeRTG)2 TreeRTGAcaciaBucheri (rtg.api.world.gen.feature.tree.rtg.TreeRTGAcaciaBucheri)2 DecoBaseBiomeDecorations (rtg.api.world.deco.DecoBaseBiomeDecorations)1 DecoReed (rtg.api.world.deco.DecoReed)1