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

@ -3,18 +3,8 @@
<warpdriveWorldGeneration version="1" mods="UndergroundBiomes"> <warpdriveWorldGeneration version="1" mods="UndergroundBiomes">
<for variable="type" in="igneous,metamorphic,sedimentary"> <for variable="type" in="igneous,metamorphic,sedimentary">
<for variable="metadata" from="0" to="7"> <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%"> <FillerSet group="%type%_ores@%metadata%">
<filler block="UndergroundBiomes:%type%_oreCoal" metadata="%metadata%" ratio=".001" /> <filler block="UndergroundBiomes:%type%_oreCoal" metadata="%metadata%" ratio=".001" />
<filler block="UndergroundBiomes:%type%_oreDiamond" metadata="%metadata%" ratio=".001" /> <filler block="UndergroundBiomes:%type%_oreDiamond" metadata="%metadata%" ratio=".001" />
@ -24,6 +14,15 @@
<filler block="UndergroundBiomes:%type%_oreLapis" metadata="%metadata%" ratio=".001" /> <filler block="UndergroundBiomes:%type%_oreLapis" metadata="%metadata%" ratio=".001" />
<filler block="UndergroundBiomes:%type%_oreRedstone" metadata="%metadata%" ratio=".001" /> <filler block="UndergroundBiomes:%type%_oreRedstone" metadata="%metadata%" ratio=".001" />
</FillerSet> </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>
</for> </for>

View file

@ -53,7 +53,7 @@
</shell> </shell>
</structure> </structure>
<structure name="nether_moon" group="moon" > <structure group="moon" name="nether_moon">
<shell name="substance" fillerSets="commonOres" minThickness="10" maxThickness="30"> <shell name="substance" fillerSets="commonOres" minThickness="10" maxThickness="30">
<filler block="minecraft:netherrack" weight="1" /> <filler block="minecraft:netherrack" weight="1" />
<filler block="minecraft:lava" ratio=".001" /> <filler block="minecraft:lava" ratio=".001" />
@ -61,7 +61,7 @@
</shell> </shell>
</structure> </structure>
<structure name="end_moon" group="moon" > <structure group="moon" name="end_moon">
<shell name="substance" minThickness="10" maxThickness="30"> <shell name="substance" minThickness="10" maxThickness="30">
<filler block="minecraft:end_stone" weight="1" /> <filler block="minecraft:end_stone" weight="1" />
<filler block="minecraft:bedrock" ratio=".001" /> <filler block="minecraft:bedrock" ratio=".001" />

View file

@ -20,7 +20,6 @@
<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>