use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBOPGrassland method initDecos.
@Override
public void initDecos() {
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
this.addDeco(decoBaseBiomeDecorations);
}
use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBOPGravelBeach method initDecos.
@Override
public void initDecos() {
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
this.addDeco(decoBaseBiomeDecorations);
}
use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBOPHeathland method initDecos.
@Override
public void initDecos() {
DecoFallenTree decoFallenTree = new DecoFallenTree();
decoFallenTree.getDistribution().setNoiseDivisor(80f);
decoFallenTree.getDistribution().setNoiseFactor(60f);
decoFallenTree.getDistribution().setNoiseAddend(-15f);
decoFallenTree.setLogCondition(X_DIVIDED_BY_STRENGTH);
decoFallenTree.setLogConditionNoise(8f);
decoFallenTree.setLogConditionChance(1);
decoFallenTree.setLogBlock(Blocks.LOG.getDefaultState());
decoFallenTree.setLeavesBlock(Blocks.LEAVES.getDefaultState());
decoFallenTree.setMinSize(3);
decoFallenTree.setMaxSize(4);
this.addDeco(decoFallenTree, this.getConfig().ALLOW_LOGS.get());
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
this.addDeco(decoBaseBiomeDecorations);
}
use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBOPLushDesert method initDecos.
@Override
public void initDecos() {
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
this.addDeco(decoBaseBiomeDecorations);
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(12);
decoFallenTree.setRandomLogBlocks(new IBlockState[] { Blocks.LOG2.getStateFromMeta(1), BOPBlocks.log_3.getStateFromMeta(2), Blocks.LOG.getDefaultState() });
decoFallenTree.setMinSize(3);
decoFallenTree.setMaxSize(5);
this.addDeco(decoFallenTree, this.getConfig().ALLOW_LOGS.get());
DecoJungleCacti decoJungleCacti = new DecoJungleCacti();
decoJungleCacti.setStrengthFactor(8f);
decoJungleCacti.setMaxY(110);
this.addDeco(decoJungleCacti, this.getConfig().ALLOW_CACTUS.get());
}
use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBOPLushSwamp method initDecos.
@Override
public void initDecos() {
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
this.addDeco(decoBaseBiomeDecorations);
DecoBoulder decoBoulder = new DecoBoulder();
decoBoulder.setBoulderBlock(Blocks.MOSSY_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(RANDOM_CHANCE);
decoFallenTree.setLogConditionChance(4);
decoFallenTree.setLogBlock(Blocks.LOG.getDefaultState());
decoFallenTree.setLeavesBlock(Blocks.LEAVES.getDefaultState());
decoFallenTree.setMinSize(3);
decoFallenTree.setMaxSize(4);
this.addDeco(decoFallenTree, this.getConfig().ALLOW_LOGS.get());
}
Aggregations