Search in sources :

Example 1 with DecoWorldGen

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

the class RealisticBiomeBYGDeadSea method initDecos.

@Override
public void initDecos() {
    WorldGenPond pond = new WorldGenPond(Blocks.WATER.getDefaultState());
    DecoWorldGen decoPond = new DecoWorldGen(pond);
    decoPond.setChance(1);
    decoPond.setMinY(62);
    decoPond.setMaxY(66);
    decoPond.setEventType(DecorateBiomeEvent.Decorate.EventType.LAKE_WATER);
    this.addDeco(decoPond);
}
Also used : WorldGenPond(rtg.api.world.gen.feature.WorldGenPond) DecoWorldGen(rtg.api.world.deco.DecoWorldGen)

Aggregations

DecoWorldGen (rtg.api.world.deco.DecoWorldGen)1 WorldGenPond (rtg.api.world.gen.feature.WorldGenPond)1