use of stevekung.mods.stevekunglib.world.gen.WorldGenCaveLiquid in project MorePlanets by SteveKunG.
the class BiomeDecoratorFronosOre method generate.
@Override
protected void generate(Biome biome, World world, Random rand) {
int i;
int x = rand.nextInt(16) + 8;
int z = rand.nextInt(16) + 8;
this.generateOre(this.dirtGen, EnumOreGen.DIRT, world, rand);
if (ConfigManagerMP.moreplanets_world_gen_settings.enableCommonOreGenAllPlanets || ConfigManagerMP.moreplanets_world_gen_settings.enableCommonFronosOre) {
this.generateOre(this.coalGen, EnumOreGen.COAL, world, rand);
this.generateOre(this.ironGen, EnumOreGen.IRON, world, rand);
this.generateOre(this.goldGen, EnumOreGen.GOLD, world, rand);
this.generateOre(this.redstoneGen, EnumOreGen.REDSTONE, world, rand);
this.generateOre(this.diamondGen, EnumOreGen.DIAMOND, world, rand);
this.generateOre(this.tinGen, EnumOreGen.TIN, world, rand);
this.generateOre(this.copperGen, EnumOreGen.COPPER, world, rand);
this.generateOre(this.aluminumGen, EnumOreGen.ALUMINUM, world, rand);
this.generateOre(this.siliconGen, EnumOreGen.SILICON, world, rand);
this.generateLapis(this.lapisGen, EnumOreGen.LAPIS, world, rand);
}
this.generateOre(this.gravelGen, EnumOreGen.GRAVEL, world, rand);
for (i = 0; i < 50; ++i) {
int y = rand.nextInt(rand.nextInt(248) + 8);
new WorldGenCaveLiquid(Blocks.WATER.getDefaultState(), MPBlocks.FRONOS_STONE.getDefaultState()).generate(world, rand, this.chunkPos.add(x, y, z));
}
for (i = 0; i < 20; ++i) {
int y = rand.nextInt(rand.nextInt(rand.nextInt(240) + 8) + 8);
new WorldGenCaveLiquid(Blocks.FLOWING_LAVA.getDefaultState(), MPBlocks.FRONOS_STONE.getDefaultState()).generate(world, rand, this.chunkPos.add(x, y, z));
}
}
use of stevekung.mods.stevekunglib.world.gen.WorldGenCaveLiquid in project MorePlanets by SteveKunG.
the class BiomeDecoratorNibiruOre method generate.
@Override
protected void generate(Biome biome, World world, Random rand) {
int i;
int x = rand.nextInt(16) + 8;
int z = rand.nextInt(16) + 8;
this.generateOre(this.dirtGen, EnumOreGen.DIRT, world, rand);
if (ConfigManagerMP.moreplanets_world_gen_settings.enableCommonOreGenAllPlanets || ConfigManagerMP.moreplanets_world_gen_settings.enableCommonNibiruOre) {
this.generateOre(this.coalGen, EnumOreGen.COAL, world, rand);
this.generateOre(this.ironGen, EnumOreGen.IRON, world, rand);
this.generateOre(this.goldGen, EnumOreGen.GOLD, world, rand);
this.generateOre(this.redstoneGen, EnumOreGen.REDSTONE, world, rand);
this.generateOre(this.diamondGen, EnumOreGen.DIAMOND, world, rand);
this.generateOre(this.tinGen, EnumOreGen.TIN, world, rand);
this.generateOre(this.copperGen, EnumOreGen.COPPER, world, rand);
this.generateOre(this.aluminumGen, EnumOreGen.ALUMINUM, world, rand);
this.generateOre(this.siliconGen, EnumOreGen.SILICON, world, rand);
this.generateLapis(this.lapisGen, EnumOreGen.LAPIS, world, rand);
}
this.generateOre(biome instanceof BiomeGreenVeinFields ? this.purifiedGravelGen : this.infectedGravelGen, EnumOreGen.GRAVEL, world, rand);
this.generateOre(this.inferumiteGen, 16, 0, 64, world, rand);
this.generateOre(this.oilGen, 3, 0, 36, world, rand);
for (i = 0; i < 50; ++i) {
int y = rand.nextInt(rand.nextInt(248) + 8);
new WorldGenCaveLiquid(MPBlocks.INFECTED_WATER_FLUID_BLOCK.getDefaultState(), MPBlocks.NIBIRU_ROCK.getDefaultState()).generate(world, rand, this.chunkPos.add(x, y, z));
}
for (i = 0; i < 20; ++i) {
int y = rand.nextInt(rand.nextInt(rand.nextInt(240) + 8) + 8);
new WorldGenCaveLiquid(Blocks.FLOWING_LAVA.getDefaultState(), MPBlocks.NIBIRU_ROCK.getDefaultState()).generate(world, rand, this.chunkPos.add(x, y, z));
}
}
use of stevekung.mods.stevekunglib.world.gen.WorldGenCaveLiquid in project MorePlanets by SteveKunG.
the class BiomeDecoratorChalosOre 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.zyptoriumGen, 8, 0, 24, world, rand);
this.generateOre(this.diremsiumGen, 16, 0, 64, world, rand);
this.generateOre(this.cheeseGen, 5, 0, 256, world, rand);
if (ConfigManagerMP.moreplanets_world_gen_settings.enableCommonOreGenAllPlanets || ConfigManagerMP.moreplanets_world_gen_settings.enableCommonChalosOre) {
this.generateOre(this.ironGen, EnumOreGen.IRON, world, rand);
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);
for (int j = 0; j < 50; ++j) {
int y = rand.nextInt(rand.nextInt(248) + 8);
new WorldGenCaveLiquid(MPBlocks.CHEESE_MILK_FLUID_BLOCK.getDefaultState(), MPBlocks.CHALOS_ROCK.getDefaultState()).generate(world, rand, this.chunkPos.add(x, y, z));
}
for (int j = 0; j < 20; ++j) {
int y = rand.nextInt(rand.nextInt(rand.nextInt(240) + 8) + 8);
new WorldGenCaveLiquid(Blocks.FLOWING_LAVA.getDefaultState(), MPBlocks.CHALOS_ROCK.getDefaultState()).generate(world, rand, this.chunkPos.add(x, y, z));
}
}
use of stevekung.mods.stevekunglib.world.gen.WorldGenCaveLiquid 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