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

View file

@ -7,7 +7,7 @@
<shell name="core" maxThickness="10" minThickness="3"> <shell name="core" maxThickness="10" minThickness="3">
<filler weight="1" block="minecraft:iron_ore" /> <filler weight="1" block="minecraft:iron_ore" />
</shell> </shell>
<shell name="mantle" minThickness="10" maxThickness="25"> <shell name="mantle" minThickness="10" maxThickness="25">
<filler weight="10" block="minecraft:sand" /> <filler weight="10" block="minecraft:sand" />
<filler weight="1" block="minecraft:iron_block" /> <filler weight="1" block="minecraft:iron_block" />
@ -23,69 +23,69 @@
<shell name="core" minThickness="1" maxThickness="5" fillerSets="rareOres"> <shell name="core" minThickness="1" maxThickness="5" fillerSets="rareOres">
<filler weight="100" block="minecraft:iron_ore" /> <filler weight="100" block="minecraft:iron_ore" />
</shell> </shell>
<shell name="mantle" minThickness="6" maxThickness="20" fillerSets="commonOres,uncommonOres"> <shell name="mantle" minThickness="6" maxThickness="20" fillerSets="commonOres,uncommonOres">
<filler weight="10" block="minecraft:stone" /> <filler weight="10" block="minecraft:stone" />
<filler weight="3" block="minecraft:clay" /> <filler weight="3" block="minecraft:clay" />
</shell> </shell>
<shell name="surface" minThickness="10" maxThickness="20" fillerSets="overworld,commonOres"> <shell name="surface" minThickness="10" maxThickness="20" fillerSets="overworld,commonOres">
<filler weight="3" block="minecraft:clay" /> <filler weight="3" block="minecraft:clay" />
</shell> </shell>
</structure> </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"> <structure group="moon" name="theCorruptedMoon">
<shell name="mantle" minThickness="5" maxThickness="10" fillerSets="commonOres,uncommonOres"> <shell name="core" minThickness="1" maxThickness="5" fillerSets="rareOres">
<filler weight="10" block="minecraft:stone" /> <filler weight="100" block="minecraft:iron_ore" />
<filler weight="5" block="minecraft:cobblestone" /> </shell>
</shell>
</structure> <shell name="mantle" minThickness="6" maxThickness="20" fillerSets="commonOres,uncommonOres">
<filler weight="10" block="minecraft:stone" />
<structure group="asteroid" name="diamondGeode" weight="2" coreBlock="minecraft:diamond_ore" maxCoreSize="2" minCoreSize="1" coreRad="0.1"> <filler weight="3" block="minecraft:clay" />
<shell name="mantle" minThickness="5" maxThickness="10" fillerSets="commonOres"> <filler ratio=".2" block="minecraft:air" />
<filler weight="10" block="minecraft:stone" /> <filler ratio=".4" block="minecraft:cobblestone" />
<filler weight="5" block="minecraft:cobblestone" /> </shell>
</shell>
</structure> <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> </warpdriveWorldGeneration>

View file

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