use of stevekung.mods.moreplanets.planets.diona.world.gen.feature.WorldGenInfectedPurloniteCrystal in project MorePlanets by SteveKunG.
the class BiomeDecoratorDiona method generate.
@Override
protected void generate(Biome biome, World world, Random rand) {
int x = rand.nextInt(16) + 8;
int z = rand.nextInt(16) + 8;
this.generateOre(this.illeniumGen, 8, 0, 24, world, rand);
this.generateOre(this.setroriumGen, 16, 0, 64, world, rand);
if (ConfigManagerMP.moreplanets_world_gen_settings.enableCommonOreGenAllPlanets || ConfigManagerMP.moreplanets_world_gen_settings.enableCommonDionaOre) {
this.generateOre(this.aluminumGen, EnumOreGen.ALUMINUM, world, rand);
this.generateOre(this.tinGen, EnumOreGen.TIN, world, rand);
this.generateOre(this.copperGen, EnumOreGen.COPPER, world, rand);
}
this.generateOre(this.dirtGen, EnumOreGen.DIRT, world, rand);
this.generateOre(this.wormEggGen, 8, 0, 64, world, rand);
for (int i = 0; i < 50; ++i) {
int y = rand.nextInt(rand.nextInt(248) + 8);
new WorldGenCaveLiquid(MPBlocks.INFECTED_PURLONITE_WATER_FLUID_BLOCK.getDefaultState(), MPBlocks.DIONA_ROCK.getDefaultState()).generate(world, rand, this.chunkPos.add(x, y, z));
}
for (int i = 0; i < 20; ++i) {
int y = rand.nextInt(rand.nextInt(rand.nextInt(240) + 8) + 8);
new WorldGenCaveLiquid(MPBlocks.INFECTED_PURLONITE_LAVA_FLUID_BLOCK.getDefaultState(), MPBlocks.DIONA_ROCK.getDefaultState()).generate(world, rand, this.chunkPos.add(x, y, z));
}
for (int i = 0; i < 16; ++i) {
int y = rand.nextInt(48);
new WorldGenInfectedPurloniteCrystal().generate(world, rand, this.chunkPos.add(x, y, z));
}
}
Aggregations