<?xml version="1.0" encoding="utf-8"?>
<worldGeneration version="2"
				 xmlns="http://warpdrive.lemadec.org"
				 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
				 xsi:schemaLocation="http://warpdrive.lemadec.org WarpDrive.xsd">
	
	<!-- all possible overworld ores, mostly for reference purpose -->
	<fillerSet group="overworld_allOres" name="stone">
		<import group="overworld_commonOres" name="stone" />
		<import group="overworld_uncommonOres" name="stone" />
		<import group="overworld_rareOres" name="stone" />
	</fillerSet>
	
	<!-- common overworld ores with various base blocks -->
	<fillerSet group="overworld_common" name="stone" weight="20">
		<import group="overworld_commonOres" name="stone" />
		<filler block="minecraft:stone" weight="1" />
	</fillerSet>
	<fillerSet group="overworld_common" name="corrupted" weight="5">
		<import group="overworld_commonOres" name="stone" />
		<filler block="minecraft:stone" weight="5" />
		<filler block="minecraft:cobblestone" weight="1" />
	</fillerSet>
	<fillerSet group="overworld_common" name="cobblestone" weight="1">
		<import group="overworld_commonOres" name="stone" />
		<filler block="minecraft:cobblestone" weight="1" />
	</fillerSet>
	<fillerSet group="overworld_common" name="sandNclay" weight="2">
		<import group="overworld_commonOres" name="stone" />
		<filler block="minecraft:sandstone" weight="1" />
		<filler block="minecraft:clay" weight="1" />
	</fillerSet>
	
	<fillerSet group="overworld_commonOres" name="stone">
		<import group="overworld_commonOres" name="allButVanilla" />
		<filler block="minecraft:coal_ore" ratio=".08" />
		<filler block="minecraft:iron_ore" ratio=".05" />
		<filler block="minecraft:redstone_ore" ratio=".02" />
	</fillerSet>
	<fillerSet group="overworld_commonOres" name="allButVanilla">
		<filler block="IC2:blockOreTin" ratio=".05" mods="IC2,!ImmersiveEngineering" />
		<filler block="IC2:blockOreCopper" ratio=".06" mods="IC2,!ImmersiveEngineering" />
		<filler block="IC2:blockOreLead" ratio=".06" mods="IC2,!ImmersiveEngineering" />
		<filler block="ImmersiveEngineering:ore" metadata="0" ratio=".05" mods="ImmersiveEngineering" /><!-- Copper -->
		<filler block="ImmersiveEngineering:ore" metadata="1" ratio=".06" mods="ImmersiveEngineering" /><!-- Bauxite -->
		<filler block="ImmersiveEngineering:ore" metadata="2" ratio=".06" mods="ImmersiveEngineering" /><!-- Lead -->
		<filler block="arsmagica2:vinteumOre" metadata="0" ratio=".001" mods="arsmagica2" /><!-- Vinteum -->
		<filler block="icbm:sulfur_ore" ratio=".001" /><!-- to be confirmed -->
	</fillerSet>
	
	
	<!-- uncommon overworld ores with various base blocks -->
	<fillerSet group="overworld_uncommon" name="stone" weight="10">
		<import group="overworld_uncommonOres" name="stone" />
		<filler block="minecraft:stone" weight="1" />
	</fillerSet>
	<fillerSet group="overworld_uncommon" name="corrupted" weight="5">
		<import group="overworld_uncommonOres" name="stone" />
		<filler block="minecraft:stone" weight="5" />
		<filler block="minecraft:cobblestone" weight="1" />
	</fillerSet>
	<fillerSet group="overworld_uncommon" name="cobblestone" weight="1">
		<import group="overworld_uncommonOres" name="stone" />
		<filler block="minecraft:cobblestone" weight="1" />
	</fillerSet>
	<fillerSet group="overworld_uncommon" name="sandNclay" weight="2">
		<import group="overworld_uncommonOres" name="stone" />
		<filler block="minecraft:sandstone" weight="1" />
		<filler block="minecraft:clay" weight="1" />
	</fillerSet>
	
	<fillerSet group="overworld_uncommonOres" name="stone">
		<import group="overworld_uncommonOres" name="allButVanilla" />
		<filler block="minecraft:redstone_ore" ratio=".01" />
		<filler block="minecraft:gold_ore" ratio=".008" />
		<filler block="minecraft:lapis_ore" ratio=".005" />
	</fillerSet>
	<fillerSet group="overworld_uncommonOres" name="allButVanilla">
		<filler block="IC2:blockOreUran" ratio=".005" mods="IC2,!netherores" />
		<filler block="ImmersiveEngineering:ore" metadata="3" ratio=".03" mods="ImmersiveEngineering" /><!-- Silver -->
		<filler block="ImmersiveEngineering:ore" metadata="4" ratio=".02" mods="ImmersiveEngineering" /><!-- Nickel -->
		<filler block="arsmagica2:vinteumOre" metadata="1" ratio=".01" mods="arsmagica2" /><!-- Chimerite -->
	</fillerSet>
	
	
	<!-- rare overworld ores with various base blocks -->
	<fillerSet group="overworld_rare" name="stone" weight="10">
		<import group="overworld_rareOres" name="stone" />
		<filler block="minecraft:stone" weight="100" />
		<filler block="minecraft:iron_ore" weight="5" />
		<filler block="minecraft:lava" weight="1" />
	</fillerSet>
	<fillerSet group="overworld_rare" name="obsidian" weight="2">
		<import group="overworld_rareOres" name="stone" />
		<filler block="minecraft:obsidian" weight="100" />
		<filler block="minecraft:diamond_ore" weight="10" />
		<filler block="minecraft:bedrock" weight="1" />
	</fillerSet>
	
	<fillerSet group="overworld_rareOres" name="stone">
		<import group="overworld_rareOres" name="allButVanilla" />
		<filler block="minecraft:gold_ore" ratio=".004" />
		<filler block="minecraft:diamond_ore" ratio=".004" />
		<filler block="minecraft:emerald_ore" ratio=".001" />
	</fillerSet>
	<fillerSet group="overworld_rareOres" name="allButVanilla">
		<filler block="IC2:blockOreUran" ratio=".03" mods="IC2,!netherores" />
		<filler block="arsmagica2:vinteumOre" metadata="2" ratio=".01" mods="arsmagica2" /><!-- Blue topaz -->
	</fillerSet>
	
	
	<!-- nether ores with simple base block -->
	<fillerSet group="nether" name="stone" weight="10">
		<import group="nether_ores" name="netherrack" />
		<filler block="minecraft:netherrack" weight="100" />
		<filler block="minecraft:lava" weight="5" />
	</fillerSet>
	
	<fillerSet group="nether_ores" name="netherrack">
		<filler block="minecraft:quartz_ore" ratio="0.1" />
		<filler block="minecraft:glowstone" ratio="0.01" />
		<filler block="minecraft:lava" ratio="0.02" />
		<filler block="arsmagica2:vinteumOre" metadata="4" ratio=".001" mods="arsmagica2" /><!-- Sunstone -->
		<filler block="minecraft:bedrock" ratio=".001" />
	</fillerSet>
	
	
	<!-- end ores with simple base block -->
	<fillerSet group="end" name="end" weight="10">
		<import group="end_ores" name="endstone" />
		<filler block="minecraft:netherrack" weight="100" />
		<filler block="minecraft:lava" weight="5" />
	</fillerSet>
	
	<fillerSet group="end_ores" name="endstone">
		<filler block="arsmagica2:vinteumOre" metadata="3" ratio=".001" mods="arsmagica2" /><!-- Moonstone -->
		<filler block="ae2:quartz" ratio=".0013" mods="appliedenergistics2" />
		<filler block="WarpDrive:blockIridium" ratio=".0001" mods="!netherores" />
	</fillerSet>
	
	
	<!-- assorted overworld surface blocks -->
	<fillerSet group="overworld_surface" name="stone" weight="75">
		<filler block="minecraft:stone" weight="100" />
	</fillerSet>
	<fillerSet group="overworld_surface" name="cobblestone" weight="45">
		<filler block="minecraft:stone" weight="100" />
		<filler block="minecraft:cobblestone" weight="20" />
	</fillerSet>
	<fillerSet group="overworld_surface" name="dirt" weight="20">
		<filler block="minecraft:dirt" weight="100" />
	</fillerSet>
	<fillerSet group="overworld_surface" name="ice" weight="30">
		<filler block="minecraft:packed_ice" weight="100" />
		<filler block="minecraft:ice" weight="20" />
	</fillerSet>
	<for variable="metadata" from="0" to="15">
		<fillerSet group="overworld_surface" name="stainedClay_%metadata%" weight="5">
			<filler block="minecraft:stained_hardened_clay" metadata="%metadata%" weight="100" />
		</fillerSet>
	</for>
	<fillerSet group="overworld_surface" name="hardenedClay" weight="5">
		<filler block="minecraft:hardened_clay" weight="100" />
	</fillerSet>
	<fillerSet group="overworld_surface" name="sandy" weight="10"><!-- close color to endstone -->
		<filler block="minecraft:sandstone" weight="100" />
	</fillerSet>
	
	
	<!-- assorted nether surface blocks -->
	<fillerSet group="nether_surface" name="netherrack" weight="50">
		<filler block="minecraft:netherrack" weight="100" />
	</fillerSet>
	<fillerSet group="nether_surface" name="quartz" weight="50">
		<filler block="minecraft:netherrack" weight="100" />
		<filler block="minecraft:quartz_ore" weight="2" />
	</fillerSet>
	<for variable="metadata" in="1,6,14">
		<fillerSet group="nether_surface" name="stainedClay_%metadata%" weight="15">
			<filler block="minecraft:stained_hardened_clay" metadata="%metadata%" weight="5" />
		</fillerSet>
	</for>
	<fillerSet group="nether_surface" name="soulsand" weight="20">
		<filler block="minecraft:soul_sand" weight="100" />
	</fillerSet>
	
	
	<!-- assorted end surface blocks -->
	<fillerSet group="end_surface" name="endstone" weight="50">
		<filler block="minecraft:end_stone" weight="100" />
	</fillerSet>
	<fillerSet group="end_surface" name="obsiend" weight="50">
		<filler block="minecraft:end_stone" weight="100" />
		<filler block="minecraft:obsidian" weight="15" />
	</fillerSet>
	<for variable="metadata" in="0,4">
		<fillerSet group="end_surface" name="stainedClay_%metadata%" weight="15">
			<filler block="minecraft:stained_hardened_clay" metadata="%metadata%" weight="100" />
		</fillerSet>
	</for>
	<fillerSet group="end_surface" name="clay" weight="15">
		<filler block="minecraft:clay" weight="100" />
	</fillerSet>
	<fillerSet group="end_surface" name="sandy" weight="15">
		<filler block="minecraft:sandstone" weight="100" />
	</fillerSet>
	
	
	<!-- WarpDrive gases -->
	<for variable="gasMetadata" in="0,1,2,3,4,5,6,7,8,9,10,11">
		<fillerSet group="gas" name="wd_%gasMetadata%" weight="1">
			<filler block="WarpDrive:blockGas" metadata="%gasMetadata%" weight="100" />
		</fillerSet>
	</for>
	
	
	<!-- ship hull -->
	<for variable="colorMetadata" in="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15">
		<fillerSet group="hull_plain" name="clay_%colorMetadata%" weight="20">
			<filler block="minecraft:stained_hardened_clay" metadata="%colorMetadata%" weight="100" />
		</fillerSet>
		<fillerSet group="hull_glass" name="clay_%colorMetadata%" weight="20">
			<filler block="minecraft:stained_glass" metadata="%colorMetadata%" weight="100" />
		</fillerSet>
		<fillerSet group="hull_plain" name="basic_%colorMetadata%" weight="40">
			<filler block="WarpDrive:blockHull1_plain" metadata="%colorMetadata%" weight="100" />
		</fillerSet>
		<fillerSet group="hull_glass" name="basic_%colorMetadata%" weight="40">
			<filler block="WarpDrive:blockHull1_glass" metadata="%colorMetadata%" weight="100" />
		</fillerSet>
		<fillerSet group="hull_plain" name="advanced_%colorMetadata%" weight="10">
			<filler block="WarpDrive:blockHull2_plain" metadata="%colorMetadata%" weight="100" />
		</fillerSet>
		<fillerSet group="hull_glass" name="advanced_%colorMetadata%" weight="10">
			<filler block="WarpDrive:blockHull2_glass" metadata="%colorMetadata%" weight="100" />
		</fillerSet>
	</for>
	<fillerSet group="hull_plain" name="ic2" weight="1" mods="IC2">
		<filler block="IC2:blockAlloy" metadata="0" weight="100" />
	</fillerSet>
	<fillerSet group="hull_glass" name="ic2" weight="1" mods="IC2">
		<filler block="IC2:blockAlloyGlass" metadata="0" weight="100" />
	</fillerSet>
	
	
	<!-- ship solar panel -->
	<fillerSet group="ship_solarPanel" name="advancedSolarPanel" weight="20" mods="AdvancedSolarPanel">
		<filler block="AdvancedSolarPanel:BlockAdvSolarPanel" nbt="{facing:5}" metadata="0" weight="200" />
		<filler block="AdvancedSolarPanel:BlockAdvSolarPanel" nbt="{facing:5}" metadata="1" weight="100" />
	</fillerSet>
	<fillerSet group="ship_solarPanel" name="ic2" weight="10" mods="IC2">
		<filler block="IC2:blockGenerator" metadata="3" nbt="{facing:5}" weight="100" />
	</fillerSet>
	<fillerSet group="ship_solarPanel" name="enderIO" weight="10" mods="EnderIO,ThermalDynamics">
		<filler block="EnderIO:blockSolarPanel" metadata="0" weight="100" />
	</fillerSet>
	<fillerSet group="ship_solarPanel" name="vanilla" weight="1" mods="!IC2,!EnderIO,!ThermalDynamics">
		<filler block="minecraft:daylight_detector" weight="100" />
	</fillerSet>
	
	
	<!-- ship wiring -->
	<fillerSet group="ship_wiring" name="advancedSolarPanel" weight="10" mods="AdvancedSolarPanel">
		<import group="ship_wiring" name="ic2" />
	</fillerSet>
	<fillerSet group="ship_wiring" name="ic2" weight="10" mods="IC2">
		<filler block="IC2:blockCable" metadata="0" weight="100" /><!-- Insulated copper cable -->
		<filler block="IC2:blockCable" metadata="3" weight="100" /><!-- Insulated gold cable -->
		<filler block="IC2:blockCable" metadata="6" weight="100" /><!-- Glass fiber cable -->
		<filler block="IC2:blockCable" metadata="9" weight="100" /><!-- Insulated tin cable -->
	</fillerSet>
	<fillerSet group="ship_wiring" name="enderIO" weight="5" mods="EnderIO,ThermalDynamics">
		<filler block="ThermalDynamics:ThermalDynamics_0" metadata="0" weight="100" /><!-- Leadstone Fluxduct -->
		<filler block="ThermalDynamics:ThermalDynamics_0" metadata="1" weight="40" /><!-- Hardened Fluxduct -->
		<filler block="ThermalDynamics:ThermalDynamics_0" metadata="2" weight="10" /><!-- Readstone Energy Fluxduct -->
	</fillerSet>
	<fillerSet group="ship_wiring" name="vanilla" weight="5" mods="!IC2,!EnderIO,!ThermalDynamics">
		<filler block="minecraft:fence" weight="100" />
	</fillerSet>


	<!-- ship propulsion -->
	<fillerSet group="ship_propulsion" name="vanilla" weight="5">
		<filler block="minecraft:redstone_block" weight="100" />
		<filler block="minecraft:lapis_block" ratio="0.2" />
		<filler block="minecraft:coal_block" ratio="0.2" />
	</fillerSet>
	
	
	<!-- flow variation for moons -->
	<fillerSet group="moon.flow" name="lava" weight="5">
		<filler block="minecraft:lava" weight="100" />
	</fillerSet>
	<fillerSet group="moon.flow" name="sand" weight="1">
		<filler block="minecraft:sand" weight="100" />
	</fillerSet>
	<fillerSet group="moon.flow" name="gravel" weight="1">
		<filler block="minecraft:gravel" weight="100" />
	</fillerSet>
	<fillerSet group="moon.flow" name="ice" weight="3">
		<filler block="minecraft:ice" weight="100" />
	</fillerSet>
	<fillerSet group="moon.flow" name="clay" weight="5">
		<filler block="minecraft:clay" weight="100" />
	</fillerSet>
	<fillerSet group="moon.flow" name="water" weight="5">
		<filler block="minecraft:water" weight="100" />
	</fillerSet>
	<fillerSet group="moon.flow" name="empty" ratio="0.35">
		<!-- empty fillerSet gives a random chance for the related shell to not exist at all -->
	</fillerSet>
	
	
	<!-- core variation for moons -->
	<fillerSet group="moon.core" name="lava" weight="6">
		<filler block="minecraft:lava" weight="100" />
		<filler block="arsmagica2:vinteumOre" metadata="4" ratio=".001" mods="arsmagica2" /><!-- Sunstone -->
	</fillerSet>
	<fillerSet group="moon.core" name="stone" weight="5">
		<import group="overworld_rare" name="stone" />
	</fillerSet>
	<fillerSet group="moon.core" name="obsidian" weight="1">
		<import group="overworld_rare" name="obsidian" />
	</fillerSet>
	<fillerSet group="moon.core" name="water" weight="2">
		<filler block="minecraft:water" weight="100" />
		<filler block="minecraft:ice" ratio="0.05" />
	</fillerSet>
	<fillerSet group="moon.core" name="ice" weight="1">
		<filler block="minecraft:packed_ice" weight="100" />
		<filler block="minecraft:lapis_block" ratio="0.02" />
	</fillerSet>
	<fillerSet group="moon.core" name="diaquartz" weight="1">
		<filler block="minecraft:quartz_block" metadata="0" weight="100" />
		<filler block="minecraft:quartz_block" metadata="1" weight="100" />
		<filler block="minecraft:diamond_block" ratio="0.01" />
	</fillerSet>
	<fillerSet group="moon.core" name="iriquartz" weight="1">
		<filler block="minecraft:quartz_block" metadata="0" weight="100" />
		<filler block="WarpDrive:blockIridium" ratio="0.001" />
	</fillerSet>
	<fillerSet group="moon.core" name="iroquartz" weight="1">
		<filler block="minecraft:quartz_block" metadata="2" weight="33" />
		<filler block="minecraft:quartz_block" metadata="3" weight="33" />
		<filler block="minecraft:quartz_block" metadata="4" weight="33" />
		<filler block="minecraft:iron_block" ratio="0.01" />
	</fillerSet>
	<!-- TODO: add GT granite cores -->
	<!-- TODO: add TE/EIO block of sort -->

</worldGeneration>
