Code cleanup

This commit is contained in:
LemADEC 2016-01-17 07:00:08 +01:00
parent 0f4ec6bd16
commit b6477aec32
3 changed files with 93 additions and 95 deletions

View file

@ -2,29 +2,28 @@
<!DOCTYPE warpdriveWorldGeneration>
<warpdriveWorldGeneration version="1" mods="UndergroundBiomes">
<for variable="type" in="igneous,metamorphic,sedimentary">
<for variable="metadata" from="0" to="7">
<FillerSet group="%type%_ores@%metadata%.normal" fillerSets="%type%_ores@%metadata%">
<filler block="UndergroundBiomes:%type%Stone" metadata="%metadata%" weight="10" />
</FillerSet>
<FillerSet group="%type%_ores@%metadata%.corrupted" fillerSets="%type%_ores@%metadata%">
<filler block="UndergroundBiomes:%type%Cobblestone" metadata="%metadata%" weight="10" />
</FillerSet>
<FillerSet group="%type%_ores@%metadata%">
<filler block="UndergroundBiomes:%type%_oreCoal" metadata="%metadata%" ratio=".001" />
<filler block="UndergroundBiomes:%type%_oreDiamond" metadata="%metadata%" ratio=".001" />
<filler block="UndergroundBiomes:%type%_oreEmerald" metadata="%metadata%" ratio=".001" />
<filler block="UndergroundBiomes:%type%_oreGold" metadata="%metadata%" ratio=".001" />
<filler block="UndergroundBiomes:%type%_oreIron" metadata="%metadata%" ratio=".001" />
<filler block="UndergroundBiomes:%type%_oreLapis" metadata="%metadata%" ratio=".001" />
<filler block="UndergroundBiomes:%type%_oreRedstone" metadata="%metadata%" ratio=".001" />
</FillerSet>
</for>
</for>
<for variable="type" in="igneous,metamorphic,sedimentary">
<for variable="metadata" from="0" to="7">
<FillerSet group="%type%_ores@%metadata%">
<filler block="UndergroundBiomes:%type%_oreCoal" metadata="%metadata%" ratio=".001" />
<filler block="UndergroundBiomes:%type%_oreDiamond" metadata="%metadata%" ratio=".001" />
<filler block="UndergroundBiomes:%type%_oreEmerald" metadata="%metadata%" ratio=".001" />
<filler block="UndergroundBiomes:%type%_oreGold" metadata="%metadata%" ratio=".001" />
<filler block="UndergroundBiomes:%type%_oreIron" metadata="%metadata%" ratio=".001" />
<filler block="UndergroundBiomes:%type%_oreLapis" metadata="%metadata%" ratio=".001" />
<filler block="UndergroundBiomes:%type%_oreRedstone" metadata="%metadata%" ratio=".001" />
</FillerSet>
<FillerSet group="%type%_ores@%metadata%.normal" fillerSets="%type%_ores@%metadata%">
<filler block="UndergroundBiomes:%type%Stone" metadata="%metadata%" weight="10" />
</FillerSet>
<FillerSet group="%type%_ores@%metadata%.corrupted" fillerSets="%type%_ores@%metadata%">
<filler block="UndergroundBiomes:%type%Cobblestone" metadata="%metadata%" weight="10" />
</FillerSet>
</for>
</for>
</warpdriveWorldGeneration>

View file

@ -7,7 +7,7 @@
<shell name="core" maxThickness="10" minThickness="3">
<filler weight="1" block="minecraft:iron_ore" />
</shell>
<shell name="mantle" minThickness="10" maxThickness="25">
<filler weight="10" block="minecraft:sand" />
<filler weight="1" block="minecraft:iron_block" />
@ -23,69 +23,69 @@
<shell name="core" minThickness="1" maxThickness="5" fillerSets="rareOres">
<filler weight="100" block="minecraft:iron_ore" />
</shell>
<shell name="mantle" minThickness="6" maxThickness="20" fillerSets="commonOres,uncommonOres">
<filler weight="10" block="minecraft:stone" />
<filler weight="3" block="minecraft:clay" />
</shell>
<shell name="surface" minThickness="10" maxThickness="20" fillerSets="overworld,commonOres">
<filler weight="3" block="minecraft:clay" />
</shell>
</structure>
<structure group="moon" name="theCorruptedMoon">
<shell name="core" minThickness="1" maxThickness="5" fillerSets="rareOres">
<filler weight="100" block="minecraft:iron_ore" />
</shell>
<shell name="mantle" minThickness="6" maxThickness="20" fillerSets="commonOres,uncommonOres">
<filler weight="10" block="minecraft:stone" />
<filler weight="3" block="minecraft:clay" />
<filler ratio=".2" block="minecraft:air" />
<filler ratio=".4" block="minecraft:cobblestone" />
</shell>
<shell name="surface" minThickness="10" maxThickness="20" fillerSets="overworld,commonOres">
<filler weight="3" block="minecraft:clay" />
<filler ratio=".05" block="minecraft:brick_block" />
<filler ratio=".5" block="minecraft:air" />
</shell>
</structure>
<structure name="nether_moon" group="moon" >
<shell name="substance" fillerSets="commonOres" minThickness="10" maxThickness="30">
<filler block="minecraft:netherrack" weight="1" />
<filler block="minecraft:lava" ratio=".001" />
<filler block="minecraft:bedrock" ratio=".001" />
</shell>
</structure>
<structure name="end_moon" group="moon" >
<shell name="substance" minThickness="10" maxThickness="30">
<filler block="minecraft:end_stone" weight="1"/>
<filler block="minecraft:bedrock" ratio=".001" />
</shell>
</structure>
<structure group="asteroid" name="ClusteredAsteroid" weight="3" coreBlock="minecraft:iron_ore" maxCoreSize="10" minCoreSize="6" coreRad="0.5">
<shell name="mantle" minThickness="5" maxThickness="15" fillerSets="commonOres,uncommonOres">
<filler weight="10" block="minecraft:stone" />
<filler weight="5" block="minecraft:cobblestone" />
</shell>
</structure>
<structure group="asteroid" name="SphericalAsteroid" weight="10" coreBlock="minecraft:iron_ore" maxCoreSize="3" minCoreSize="1" coreRad="0.1">
<shell name="mantle" minThickness="5" maxThickness="10" fillerSets="commonOres,uncommonOres">
<filler weight="10" block="minecraft:stone" />
<filler weight="5" block="minecraft:cobblestone" />
</shell>
</structure>
<structure group="asteroid" name="diamondGeode" weight="2" coreBlock="minecraft:diamond_ore" maxCoreSize="2" minCoreSize="1" coreRad="0.1">
<shell name="mantle" minThickness="5" maxThickness="10" fillerSets="commonOres">
<filler weight="10" block="minecraft:stone" />
<filler weight="5" block="minecraft:cobblestone" />
</shell>
</structure>
<structure group="moon" name="theCorruptedMoon">
<shell name="core" minThickness="1" maxThickness="5" fillerSets="rareOres">
<filler weight="100" block="minecraft:iron_ore" />
</shell>
<shell name="mantle" minThickness="6" maxThickness="20" fillerSets="commonOres,uncommonOres">
<filler weight="10" block="minecraft:stone" />
<filler weight="3" block="minecraft:clay" />
<filler ratio=".2" block="minecraft:air" />
<filler ratio=".4" block="minecraft:cobblestone" />
</shell>
<shell name="surface" minThickness="10" maxThickness="20" fillerSets="overworld,commonOres">
<filler weight="3" block="minecraft:clay" />
<filler ratio=".05" block="minecraft:brick_block" />
<filler ratio=".5" block="minecraft:air" />
</shell>
</structure>
<structure group="moon" name="nether_moon">
<shell name="substance" fillerSets="commonOres" minThickness="10" maxThickness="30">
<filler block="minecraft:netherrack" weight="1" />
<filler block="minecraft:lava" ratio=".001" />
<filler block="minecraft:bedrock" ratio=".001" />
</shell>
</structure>
<structure group="moon" name="end_moon">
<shell name="substance" minThickness="10" maxThickness="30">
<filler block="minecraft:end_stone" weight="1" />
<filler block="minecraft:bedrock" ratio=".001" />
</shell>
</structure>
<structure group="asteroid" name="ClusteredAsteroid" weight="3" coreBlock="minecraft:iron_ore" maxCoreSize="10" minCoreSize="6" coreRad="0.5">
<shell name="mantle" minThickness="5" maxThickness="15" fillerSets="commonOres,uncommonOres">
<filler weight="10" block="minecraft:stone" />
<filler weight="5" block="minecraft:cobblestone" />
</shell>
</structure>
<structure group="asteroid" name="SphericalAsteroid" weight="10" coreBlock="minecraft:iron_ore" maxCoreSize="3" minCoreSize="1" coreRad="0.1">
<shell name="mantle" minThickness="5" maxThickness="10" fillerSets="commonOres,uncommonOres">
<filler weight="10" block="minecraft:stone" />
<filler weight="5" block="minecraft:cobblestone" />
</shell>
</structure>
<structure group="asteroid" name="diamondGeode" weight="2" coreBlock="minecraft:diamond_ore" maxCoreSize="2" minCoreSize="1" coreRad="0.1">
<shell name="mantle" minThickness="5" maxThickness="10" fillerSets="commonOres">
<filler weight="10" block="minecraft:stone" />
<filler weight="5" block="minecraft:cobblestone" />
</shell>
</structure>
</warpdriveWorldGeneration>

View file

@ -1,27 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE warpdriveWorldGeneration>
<warpdriveWorldGeneration version="1" mods="netherores" >
<warpdriveWorldGeneration version="1" mods="netherores">
<structure group="moon" name="netherMoon" radius="20">
<shell name="core" minThickness="1" maxThickness="5" fillerSets="rareOres">
<filler weight="100" block="minecraft:iron_block" />
</shell>
<shell name="mantle" minThickness="6" maxThickness="30" fillerSets="nether">
</shell>
</structure>
<structure group="moon" name="netherMoonCorrupted" radius="20">
<shell name="core" minThickness="1" maxThickness="5" fillerSets="rareOres">
<filler weight="100" block="minecraft:iron_block" />
</shell>
<shell name="mantle" minThickness="6" maxThickness="30" fillerSets="nether">
<filler ratio=".3" block="minecraft:air" />
<filler ratio=".3" block="minecraft:netherbrick" />
</shell>
</structure>
<shell name="core" minThickness="1" maxThickness="5" fillerSets="rareOres">
<filler weight="100" block="minecraft:iron_block" />
</shell>
<shell name="mantle" minThickness="6" maxThickness="30" fillerSets="nether">
<filler ratio=".3" block="minecraft:air" />
<filler ratio=".3" block="minecraft:netherbrick" />
</shell>
</structure>
</warpdriveWorldGeneration>