<!-- =================================================================
     Custom Ore Generation "Metallurgy 4" Module: This configuration
     covers sulfur, phosphorite, saltpeter, magnesium, bitumen,
     potash, copper, tin, manganese, zinc, silver, platinum,
     promethium, deep iron, infuscolium, oureclase, astral silver,
     carmot, mithril, rubracium, orichalcum, adamantine, atlarus,
     ignatius, shadow iron, lemurite, midasium, vyroxeres, ceruclase,
     alduorite, kalendrite, vulcanite, sanguinite, eximite, and
     meutoite.
     ================================================================= -->


<!-- This mod includes a huge number of ores to make minecraft far
     more interesting, especially when involving tool progression. -->




<!-- Is the "Metallurgy 4" mod on the system?  Let's find out! -->
<IfModInstalled name="Metallurgy">

    <!-- Starting Configuration for Custom Ore Generation. -->
    <ConfigSection>





        <!-- Setup Screen Configuration -->
        <ConfigSection>
            <OptionDisplayGroup name='groupMetallurgy4' displayName='Metallurgy 4' displayState='shown'>
                <Description>
                    Distribution options for Metallurgy 4 Ores.
                </Description>
            </OptionDisplayGroup>
            <OptionChoice name='enableMetallurgy4' displayName='Handle Metallurgy 4 Setup?' default='true' displayState='shown_dynamic' displayGroup='groupMetallurgy4'>
                <Description> Should Custom Ore Generation handle Metallurgy 4 ore generation? </Description>
                <Choice value=':= ?true' displayValue='Yes' description='Use Custom Ore Generation to handle Metallurgy 4 ores.'/>
                <Choice value=':= ?false' displayValue='No' description='Metallurgy 4 ores will be handled by the mod itself.'/>
            </OptionChoice>

            <!-- Sulfur Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgSulfurDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Sulfur is generated </Description>
                    <DisplayName>Metallurgy 4 Sulfur</DisplayName>
                    <Choice value='SparseVeins' displayValue='Sparse Veins'>
                        <Description>
                            Large veins filled very lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Sulfur is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgSulfurFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Sulfur distributions </Description>
                    <DisplayName>Metallurgy 4 Sulfur Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgSulfurSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Sulfur distributions </Description>
                    <DisplayName>Metallurgy 4 Sulfur Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Sulfur Configuration UI Complete -->


            <!-- Phosphorite Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgPhosphoriteDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Phosphorite is generated </Description>
                    <DisplayName>Metallurgy 4 Phosphorite</DisplayName>
                    <Choice value='SparseVeins' displayValue='Sparse Veins'>
                        <Description>
                            Large veins filled very lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Phosphorite is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgPhosphoriteFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Phosphorite distributions </Description>
                    <DisplayName>Metallurgy 4 Phosphorite Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgPhosphoriteSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Phosphorite distributions </Description>
                    <DisplayName>Metallurgy 4 Phosphorite Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Phosphorite Configuration UI Complete -->


            <!-- Saltpeter Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgSaltpeterDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Saltpeter is generated </Description>
                    <DisplayName>Metallurgy 4 Saltpeter</DisplayName>
                    <Choice value='SparseVeins' displayValue='Sparse Veins'>
                        <Description>
                            Large veins filled very lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Saltpeter is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgSaltpeterFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Saltpeter distributions </Description>
                    <DisplayName>Metallurgy 4 Saltpeter Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgSaltpeterSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Saltpeter distributions </Description>
                    <DisplayName>Metallurgy 4 Saltpeter Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Saltpeter Configuration UI Complete -->


            <!-- Magnesium Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgMagnesiumDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Magnesium is generated </Description>
                    <DisplayName>Metallurgy 4 Magnesium</DisplayName>
                    <Choice value='SparseVeins' displayValue='Sparse Veins'>
                        <Description>
                            Large veins filled very lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Magnesium is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgMagnesiumFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Magnesium distributions </Description>
                    <DisplayName>Metallurgy 4 Magnesium Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgMagnesiumSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Magnesium distributions </Description>
                    <DisplayName>Metallurgy 4 Magnesium Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Magnesium Configuration UI Complete -->


            <!-- Bitumen Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgBitumenDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Bitumen is generated </Description>
                    <DisplayName>Metallurgy 4 Bitumen</DisplayName>
                    <Choice value='SparseVeins' displayValue='Sparse Veins'>
                        <Description>
                            Large veins filled very lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Bitumen is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgBitumenFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Bitumen distributions </Description>
                    <DisplayName>Metallurgy 4 Bitumen Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgBitumenSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Bitumen distributions </Description>
                    <DisplayName>Metallurgy 4 Bitumen Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Bitumen Configuration UI Complete -->


            <!-- Potash Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgPotashDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Potash is generated </Description>
                    <DisplayName>Metallurgy 4 Potash</DisplayName>
                    <Choice value='SparseVeins' displayValue='Sparse Veins'>
                        <Description>
                            Large veins filled very lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Potash is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgPotashFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Potash distributions </Description>
                    <DisplayName>Metallurgy 4 Potash Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgPotashSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Potash distributions </Description>
                    <DisplayName>Metallurgy 4 Potash Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Potash Configuration UI Complete -->


            <!-- Copper Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgCopperDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Copper is generated </Description>
                    <DisplayName>Metallurgy 4 Copper</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Copper is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgCopperFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Copper distributions </Description>
                    <DisplayName>Metallurgy 4 Copper Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgCopperSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Copper distributions </Description>
                    <DisplayName>Metallurgy 4 Copper Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Copper Configuration UI Complete -->


            <!-- Tin Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgTinDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Tin is generated </Description>
                    <DisplayName>Metallurgy 4 Tin</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Tin is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgTinFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Tin distributions </Description>
                    <DisplayName>Metallurgy 4 Tin Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgTinSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Tin distributions </Description>
                    <DisplayName>Metallurgy 4 Tin Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Tin Configuration UI Complete -->


            <!-- Manganese Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgManganeseDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Manganese is generated </Description>
                    <DisplayName>Metallurgy 4 Manganese</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Manganese is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgManganeseFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Manganese distributions </Description>
                    <DisplayName>Metallurgy 4 Manganese Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgManganeseSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Manganese distributions </Description>
                    <DisplayName>Metallurgy 4 Manganese Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Manganese Configuration UI Complete -->


            <!-- Zinc Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgZincDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Zinc is generated </Description>
                    <DisplayName>Metallurgy 4 Zinc</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Zinc is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgZincFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Zinc distributions </Description>
                    <DisplayName>Metallurgy 4 Zinc Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgZincSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Zinc distributions </Description>
                    <DisplayName>Metallurgy 4 Zinc Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Zinc Configuration UI Complete -->


            <!-- Silver Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgSilverDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Silver is generated </Description>
                    <DisplayName>Metallurgy 4 Silver</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Silver is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgSilverFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Silver distributions </Description>
                    <DisplayName>Metallurgy 4 Silver Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgSilverSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Silver distributions </Description>
                    <DisplayName>Metallurgy 4 Silver Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Silver Configuration UI Complete -->


            <!-- Platinum Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgPlatinumDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Platinum is generated </Description>
                    <DisplayName>Metallurgy 4 Platinum</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Platinum is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgPlatinumFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Platinum distributions </Description>
                    <DisplayName>Metallurgy 4 Platinum Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgPlatinumSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Platinum distributions </Description>
                    <DisplayName>Metallurgy 4 Platinum Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Platinum Configuration UI Complete -->


            <!-- Promethium Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgPromethiumDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Promethium is generated </Description>
                    <DisplayName>Metallurgy 4 Promethium</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Promethium is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgPromethiumFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Promethium distributions </Description>
                    <DisplayName>Metallurgy 4 Promethium Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgPromethiumSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Promethium distributions </Description>
                    <DisplayName>Metallurgy 4 Promethium Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Promethium Configuration UI Complete -->


            <!-- Deep Iron Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgDeepIronDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Deep Iron is generated </Description>
                    <DisplayName>Metallurgy 4 Deep Iron</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Deep Iron is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgDeepIronFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Deep Iron distributions </Description>
                    <DisplayName>Metallurgy 4 Deep Iron Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgDeepIronSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Deep Iron distributions </Description>
                    <DisplayName>Metallurgy 4 Deep Iron Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Deep Iron Configuration UI Complete -->


            <!-- Infuscolium Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgInfuscoliumDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Infuscolium is generated </Description>
                    <DisplayName>Metallurgy 4 Infuscolium</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Infuscolium is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgInfuscoliumFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Infuscolium distributions </Description>
                    <DisplayName>Metallurgy 4 Infuscolium Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgInfuscoliumSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Infuscolium distributions </Description>
                    <DisplayName>Metallurgy 4 Infuscolium Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Infuscolium Configuration UI Complete -->


            <!-- Oureclase Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgOureclaseDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Oureclase is generated </Description>
                    <DisplayName>Metallurgy 4 Oureclase</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Oureclase is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgOureclaseFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Oureclase distributions </Description>
                    <DisplayName>Metallurgy 4 Oureclase Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgOureclaseSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Oureclase distributions </Description>
                    <DisplayName>Metallurgy 4 Oureclase Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Oureclase Configuration UI Complete -->


            <!-- Astral Silver Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgAstralSilverDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Astral Silver is generated </Description>
                    <DisplayName>Metallurgy 4 Astral Silver</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Astral Silver is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgAstralSilverFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Astral Silver distributions </Description>
                    <DisplayName>Metallurgy 4 Astral Silver Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgAstralSilverSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Astral Silver distributions </Description>
                    <DisplayName>Metallurgy 4 Astral Silver Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Astral Silver Configuration UI Complete -->


            <!-- Carmot Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgCarmotDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Carmot is generated </Description>
                    <DisplayName>Metallurgy 4 Carmot</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Carmot is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgCarmotFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Carmot distributions </Description>
                    <DisplayName>Metallurgy 4 Carmot Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgCarmotSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Carmot distributions </Description>
                    <DisplayName>Metallurgy 4 Carmot Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Carmot Configuration UI Complete -->


            <!-- Mithril Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgMithrilDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Mithril is generated </Description>
                    <DisplayName>Metallurgy 4 Mithril</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Mithril is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgMithrilFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Mithril distributions </Description>
                    <DisplayName>Metallurgy 4 Mithril Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgMithrilSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Mithril distributions </Description>
                    <DisplayName>Metallurgy 4 Mithril Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Mithril Configuration UI Complete -->


            <!-- Rubracium Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgRubraciumDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Rubracium is generated </Description>
                    <DisplayName>Metallurgy 4 Rubracium</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Rubracium is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgRubraciumFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Rubracium distributions </Description>
                    <DisplayName>Metallurgy 4 Rubracium Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgRubraciumSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Rubracium distributions </Description>
                    <DisplayName>Metallurgy 4 Rubracium Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Rubracium Configuration UI Complete -->


            <!-- Orichalcum Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgOrichalcumDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Orichalcum is generated </Description>
                    <DisplayName>Metallurgy 4 Orichalcum</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Orichalcum is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgOrichalcumFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Orichalcum distributions </Description>
                    <DisplayName>Metallurgy 4 Orichalcum Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgOrichalcumSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Orichalcum distributions </Description>
                    <DisplayName>Metallurgy 4 Orichalcum Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Orichalcum Configuration UI Complete -->


            <!-- Adamantine Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgAdamantineDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Adamantine is generated </Description>
                    <DisplayName>Metallurgy 4 Adamantine</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Adamantine is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgAdamantineFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Adamantine distributions </Description>
                    <DisplayName>Metallurgy 4 Adamantine Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgAdamantineSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Adamantine distributions </Description>
                    <DisplayName>Metallurgy 4 Adamantine Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Adamantine Configuration UI Complete -->


            <!-- Atlarus Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgAtlarusDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Atlarus is generated </Description>
                    <DisplayName>Metallurgy 4 Atlarus</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Atlarus is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgAtlarusFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Atlarus distributions </Description>
                    <DisplayName>Metallurgy 4 Atlarus Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgAtlarusSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Atlarus distributions </Description>
                    <DisplayName>Metallurgy 4 Atlarus Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Atlarus Configuration UI Complete -->


            <!-- Ignatius Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgIgnatiusDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Ignatius is generated </Description>
                    <DisplayName>Metallurgy 4 Ignatius</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Ignatius is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgIgnatiusFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Ignatius distributions </Description>
                    <DisplayName>Metallurgy 4 Ignatius Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgIgnatiusSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Ignatius distributions </Description>
                    <DisplayName>Metallurgy 4 Ignatius Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Ignatius Configuration UI Complete -->


            <!-- Shadow Iron Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgShadowIronDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Shadow Iron is generated </Description>
                    <DisplayName>Metallurgy 4 Shadow Iron</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Shadow Iron is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgShadowIronFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Shadow Iron distributions </Description>
                    <DisplayName>Metallurgy 4 Shadow Iron Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgShadowIronSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Shadow Iron distributions </Description>
                    <DisplayName>Metallurgy 4 Shadow Iron Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Shadow Iron Configuration UI Complete -->


            <!-- Lemurite Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgLemuriteDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Lemurite is generated </Description>
                    <DisplayName>Metallurgy 4 Lemurite</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Lemurite is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgLemuriteFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Lemurite distributions </Description>
                    <DisplayName>Metallurgy 4 Lemurite Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgLemuriteSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Lemurite distributions </Description>
                    <DisplayName>Metallurgy 4 Lemurite Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Lemurite Configuration UI Complete -->


            <!-- Midasium Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgMidasiumDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Midasium is generated </Description>
                    <DisplayName>Metallurgy 4 Midasium</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Midasium is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgMidasiumFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Midasium distributions </Description>
                    <DisplayName>Metallurgy 4 Midasium Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgMidasiumSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Midasium distributions </Description>
                    <DisplayName>Metallurgy 4 Midasium Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Midasium Configuration UI Complete -->


            <!-- Vyroxeres Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgVyroxeresDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Vyroxeres is generated </Description>
                    <DisplayName>Metallurgy 4 Vyroxeres</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Vyroxeres is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgVyroxeresFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Vyroxeres distributions </Description>
                    <DisplayName>Metallurgy 4 Vyroxeres Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgVyroxeresSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Vyroxeres distributions </Description>
                    <DisplayName>Metallurgy 4 Vyroxeres Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Vyroxeres Configuration UI Complete -->


            <!-- Ceruclase Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgCeruclaseDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Ceruclase is generated </Description>
                    <DisplayName>Metallurgy 4 Ceruclase</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Ceruclase is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgCeruclaseFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Ceruclase distributions </Description>
                    <DisplayName>Metallurgy 4 Ceruclase Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgCeruclaseSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Ceruclase distributions </Description>
                    <DisplayName>Metallurgy 4 Ceruclase Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Ceruclase Configuration UI Complete -->


            <!-- Alduorite Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgAlduoriteDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Alduorite is generated </Description>
                    <DisplayName>Metallurgy 4 Alduorite</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Alduorite is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgAlduoriteFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Alduorite distributions </Description>
                    <DisplayName>Metallurgy 4 Alduorite Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgAlduoriteSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Alduorite distributions </Description>
                    <DisplayName>Metallurgy 4 Alduorite Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Alduorite Configuration UI Complete -->


            <!-- Kalendrite Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgKalendriteDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Kalendrite is generated </Description>
                    <DisplayName>Metallurgy 4 Kalendrite</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Kalendrite is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgKalendriteFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Kalendrite distributions </Description>
                    <DisplayName>Metallurgy 4 Kalendrite Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgKalendriteSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Kalendrite distributions </Description>
                    <DisplayName>Metallurgy 4 Kalendrite Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Kalendrite Configuration UI Complete -->


            <!-- Vulcanite Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgVulcaniteDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Vulcanite is generated </Description>
                    <DisplayName>Metallurgy 4 Vulcanite</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Vulcanite is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgVulcaniteFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Vulcanite distributions </Description>
                    <DisplayName>Metallurgy 4 Vulcanite Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgVulcaniteSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Vulcanite distributions </Description>
                    <DisplayName>Metallurgy 4 Vulcanite Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Vulcanite Configuration UI Complete -->


            <!-- Sanguinite Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgSanguiniteDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Sanguinite is generated </Description>
                    <DisplayName>Metallurgy 4 Sanguinite</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Sanguinite is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgSanguiniteFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Sanguinite distributions </Description>
                    <DisplayName>Metallurgy 4 Sanguinite Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgSanguiniteSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Sanguinite distributions </Description>
                    <DisplayName>Metallurgy 4 Sanguinite Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Sanguinite Configuration UI Complete -->


            <!-- Eximite Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgEximiteDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Eximite is generated </Description>
                    <DisplayName>Metallurgy 4 Eximite</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Eximite is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgEximiteFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Eximite distributions </Description>
                    <DisplayName>Metallurgy 4 Eximite Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgEximiteSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Eximite distributions </Description>
                    <DisplayName>Metallurgy 4 Eximite Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Eximite Configuration UI Complete -->


            <!-- Meutoite Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='mtlgMeutoiteDist'  displayState=':= if(?enableMetallurgy4, "shown", "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Controls how Meutoite is generated </Description>
                    <DisplayName>Metallurgy 4 Meutoite</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Meutoite is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='mtlgMeutoiteFreq' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Frequency multiplier for Metallurgy 4 Meutoite distributions </Description>
                    <DisplayName>Metallurgy 4 Meutoite Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='mtlgMeutoiteSize' default='1'  min='0' max='5' displayState=':= if(?enableMetallurgy4, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupMetallurgy4'>
                    <Description> Size multiplier for Metallurgy 4 Meutoite distributions </Description>
                    <DisplayName>Metallurgy 4 Meutoite Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Meutoite Configuration UI Complete -->

        </ConfigSection>
        <!-- Setup Screen Complete -->

        <IfCondition condition=':= ?enableMetallurgy4'>




            <!-- Overworld Setup Beginning -->

            <IfCondition condition=':= ?COGActive'>

                <!-- Starting Original "Overworld" Block Removal -->

                <IfCondition condition=':= ?blockExists("minecraft:stone")'>
                    <Substitute name='mtlgOverworldBlockSubstitute0' block='minecraft:stone'>
                        <Description>
                            Replace vanilla-generated ore clusters.
                        </Description>
                        <Comment>
                            The global option  deferredPopulationRange
                            must be large  enough to catch all ore
                            clusters (>=  32).
                        </Comment>
                        <IfCondition condition=':= ?blockExists("Metallurgy:base.ore")'> <Replaces block='Metallurgy:base.ore' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:base.ore:1")'> <Replaces block='Metallurgy:base.ore:1' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:base.ore:2")'> <Replaces block='Metallurgy:base.ore:2' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore")'> <Replaces block='Metallurgy:fantasy.ore' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:1")'> <Replaces block='Metallurgy:fantasy.ore:1' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:11")'> <Replaces block='Metallurgy:fantasy.ore:11' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:13")'> <Replaces block='Metallurgy:fantasy.ore:13' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:14")'> <Replaces block='Metallurgy:fantasy.ore:14' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:2")'> <Replaces block='Metallurgy:fantasy.ore:2' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:4")'> <Replaces block='Metallurgy:fantasy.ore:4' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:5")'> <Replaces block='Metallurgy:fantasy.ore:5' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:6")'> <Replaces block='Metallurgy:fantasy.ore:6' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:7")'> <Replaces block='Metallurgy:fantasy.ore:7' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:8")'> <Replaces block='Metallurgy:fantasy.ore:8' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:precious.ore")'> <Replaces block='Metallurgy:precious.ore' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:precious.ore:1")'> <Replaces block='Metallurgy:precious.ore:1' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:precious.ore:2")'> <Replaces block='Metallurgy:precious.ore:2' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore")'> <Replaces block='Metallurgy:utility.ore' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:1")'> <Replaces block='Metallurgy:utility.ore:1' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:2")'> <Replaces block='Metallurgy:utility.ore:2' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:3")'> <Replaces block='Metallurgy:utility.ore:3' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:4")'> <Replaces block='Metallurgy:utility.ore:4' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:5")'> <Replaces block='Metallurgy:utility.ore:5' weight='1.0' /> </IfCondition>
                    </Substitute>
                </IfCondition>

                <!-- Original "Overworld" Block Removal Complete -->

                <!-- Adding blocks -->

                <!-- Begin Sulfur Generation -->

                <!-- Starting SparseVeins Preset for Sulfur. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgSulfurDist = "SparseVeins"'>
                        <Veins name='mtlgSulfurVeins'  inherits='PresetSparseVeins' drawWireframe='true' wireframeColor='0x60FCF570' drawBoundBox='false' boundBoxColor='0x60FCF570'>
                            <Description>
                                Large veins filled very lightly  with
                                ore.  Because they contain  less ore
                                per volume, these veins  are
                                relatively wide and long.  Mining the
                                ore from them is time  consuming
                                compared to solid ore  veins.  They
                                are also more  difficult to follow,
                                since it is  harder to get an idea of
                                their  direction while mining.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore")'> <OreBlock block='Metallurgy:utility.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 1.733 * _default_ * mtlgSulfurFreq ' range=':= 1.733 * _default_ * mtlgSulfurFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * mtlgSulfurSize ' range=':= 0 * _default_ * mtlgSulfurSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 1.316 * _default_ ' range=':= 1.316 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgSulfurSize ' range=':= _default_ * mtlgSulfurSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.147 * _default_ * mtlgSulfurSize ' range=':= 1.147 * _default_ * mtlgSulfurSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- SparseVeins Preset for Sulfur is complete. -->


                <!-- Starting Cloud Preset for Sulfur. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgSulfurDist = "Cloud"'>
                        <Cloud name='mtlgSulfurCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60FCF570' drawBoundBox='false' boundBoxColor='0x60FCF570'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore")'> <OreBlock block='Metallurgy:utility.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.787 * _default_ * mtlgSulfurSize ' range=':= 0.787 * _default_ * mtlgSulfurSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.787 * _default_ * mtlgSulfurSize ' range=':= 0.787 * _default_ * mtlgSulfurSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.619 * _default_ * mtlgSulfurFreq ' range=':= 0.619 * _default_ * mtlgSulfurFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgSulfurHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60FCF570' drawBoundBox='false' boundBoxColor='0x60FCF570'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore")'> <OreBlock block='Metallurgy:utility.ore' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Sulfur is complete. -->


                <!-- Starting Vanilla Preset for Sulfur. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgSulfurDist = "Vanilla"'>
                        <StandardGen name='mtlgSulfurStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60FCF570' drawBoundBox='false' boundBoxColor='0x60FCF570'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore")'> <OreBlock block='Metallurgy:utility.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 4.000 * mtlgSulfurSize ' range=':= _default_ * mtlgSulfurSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 4.000 * mtlgSulfurFreq ' range=':= _default_ * mtlgSulfurFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Sulfur is complete. -->

                <!-- End Sulfur Generation -->


                <!-- Begin Phosphorite Generation -->

                <!-- Starting SparseVeins Preset for Phosphorite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgPhosphoriteDist = "SparseVeins"'>
                        <Veins name='mtlgPhosphoriteVeins'  inherits='PresetSparseVeins' drawWireframe='true' wireframeColor='0x608D6161' drawBoundBox='false' boundBoxColor='0x608D6161'>
                            <Description>
                                Large veins filled very lightly  with
                                ore.  Because they contain  less ore
                                per volume, these veins  are
                                relatively wide and long.  Mining the
                                ore from them is time  consuming
                                compared to solid ore  veins.  They
                                are also more  difficult to follow,
                                since it is  harder to get an idea of
                                their  direction while mining.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:1")'> <OreBlock block='Metallurgy:utility.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 1.733 * _default_ * mtlgPhosphoriteFreq ' range=':= 1.733 * _default_ * mtlgPhosphoriteFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * mtlgPhosphoriteSize ' range=':= 0 * _default_ * mtlgPhosphoriteSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 1.316 * _default_ ' range=':= 1.316 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgPhosphoriteSize ' range=':= _default_ * mtlgPhosphoriteSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.147 * _default_ * mtlgPhosphoriteSize ' range=':= 1.147 * _default_ * mtlgPhosphoriteSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- SparseVeins Preset for Phosphorite is complete. -->


                <!-- Starting Cloud Preset for Phosphorite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgPhosphoriteDist = "Cloud"'>
                        <Cloud name='mtlgPhosphoriteCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x608D6161' drawBoundBox='false' boundBoxColor='0x608D6161'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:1")'> <OreBlock block='Metallurgy:utility.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.787 * _default_ * mtlgPhosphoriteSize ' range=':= 0.787 * _default_ * mtlgPhosphoriteSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.787 * _default_ * mtlgPhosphoriteSize ' range=':= 0.787 * _default_ * mtlgPhosphoriteSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.619 * _default_ * mtlgPhosphoriteFreq ' range=':= 0.619 * _default_ * mtlgPhosphoriteFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgPhosphoriteHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x608D6161' drawBoundBox='false' boundBoxColor='0x608D6161'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:1")'> <OreBlock block='Metallurgy:utility.ore:1' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Phosphorite is complete. -->


                <!-- Starting Vanilla Preset for Phosphorite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgPhosphoriteDist = "Vanilla"'>
                        <StandardGen name='mtlgPhosphoriteStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x608D6161' drawBoundBox='false' boundBoxColor='0x608D6161'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:1")'> <OreBlock block='Metallurgy:utility.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 4.000 * mtlgPhosphoriteSize ' range=':= _default_ * mtlgPhosphoriteSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 4.000 * mtlgPhosphoriteFreq ' range=':= _default_ * mtlgPhosphoriteFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Phosphorite is complete. -->

                <!-- End Phosphorite Generation -->


                <!-- Begin Saltpeter Generation -->

                <!-- Starting SparseVeins Preset for Saltpeter. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgSaltpeterDist = "SparseVeins"'>
                        <Veins name='mtlgSaltpeterVeins'  inherits='PresetSparseVeins' drawWireframe='true' wireframeColor='0x60EAEAEA' drawBoundBox='false' boundBoxColor='0x60EAEAEA'>
                            <Description>
                                Large veins filled very lightly  with
                                ore.  Because they contain  less ore
                                per volume, these veins  are
                                relatively wide and long.  Mining the
                                ore from them is time  consuming
                                compared to solid ore  veins.  They
                                are also more  difficult to follow,
                                since it is  harder to get an idea of
                                their  direction while mining.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:2")'> <OreBlock block='Metallurgy:utility.ore:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 1.733 * _default_ * mtlgSaltpeterFreq ' range=':= 1.733 * _default_ * mtlgSaltpeterFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * mtlgSaltpeterSize ' range=':= 0 * _default_ * mtlgSaltpeterSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 1.316 * _default_ ' range=':= 1.316 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgSaltpeterSize ' range=':= _default_ * mtlgSaltpeterSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.147 * _default_ * mtlgSaltpeterSize ' range=':= 1.147 * _default_ * mtlgSaltpeterSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- SparseVeins Preset for Saltpeter is complete. -->


                <!-- Starting Cloud Preset for Saltpeter. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgSaltpeterDist = "Cloud"'>
                        <Cloud name='mtlgSaltpeterCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60EAEAEA' drawBoundBox='false' boundBoxColor='0x60EAEAEA'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:2")'> <OreBlock block='Metallurgy:utility.ore:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.787 * _default_ * mtlgSaltpeterSize ' range=':= 0.787 * _default_ * mtlgSaltpeterSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.787 * _default_ * mtlgSaltpeterSize ' range=':= 0.787 * _default_ * mtlgSaltpeterSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.619 * _default_ * mtlgSaltpeterFreq ' range=':= 0.619 * _default_ * mtlgSaltpeterFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgSaltpeterHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60EAEAEA' drawBoundBox='false' boundBoxColor='0x60EAEAEA'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:2")'> <OreBlock block='Metallurgy:utility.ore:2' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Saltpeter is complete. -->


                <!-- Starting Vanilla Preset for Saltpeter. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgSaltpeterDist = "Vanilla"'>
                        <StandardGen name='mtlgSaltpeterStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60EAEAEA' drawBoundBox='false' boundBoxColor='0x60EAEAEA'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:2")'> <OreBlock block='Metallurgy:utility.ore:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 4.000 * mtlgSaltpeterSize ' range=':= _default_ * mtlgSaltpeterSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 4.000 * mtlgSaltpeterFreq ' range=':= _default_ * mtlgSaltpeterFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Saltpeter is complete. -->

                <!-- End Saltpeter Generation -->


                <!-- Begin Magnesium Generation -->

                <!-- Starting SparseVeins Preset for Magnesium. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgMagnesiumDist = "SparseVeins"'>
                        <Veins name='mtlgMagnesiumVeins'  inherits='PresetSparseVeins' drawWireframe='true' wireframeColor='0x60927C6C' drawBoundBox='false' boundBoxColor='0x60927C6C'>
                            <Description>
                                Large veins filled very lightly  with
                                ore.  Because they contain  less ore
                                per volume, these veins  are
                                relatively wide and long.  Mining the
                                ore from them is time  consuming
                                compared to solid ore  veins.  They
                                are also more  difficult to follow,
                                since it is  harder to get an idea of
                                their  direction while mining.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:3")'> <OreBlock block='Metallurgy:utility.ore:3' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 1.733 * _default_ * mtlgMagnesiumFreq ' range=':= 1.733 * _default_ * mtlgMagnesiumFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * mtlgMagnesiumSize ' range=':= 0 * _default_ * mtlgMagnesiumSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 1.316 * _default_ ' range=':= 1.316 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgMagnesiumSize ' range=':= _default_ * mtlgMagnesiumSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.147 * _default_ * mtlgMagnesiumSize ' range=':= 1.147 * _default_ * mtlgMagnesiumSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- SparseVeins Preset for Magnesium is complete. -->


                <!-- Starting Cloud Preset for Magnesium. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgMagnesiumDist = "Cloud"'>
                        <Cloud name='mtlgMagnesiumCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60927C6C' drawBoundBox='false' boundBoxColor='0x60927C6C'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:3")'> <OreBlock block='Metallurgy:utility.ore:3' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.787 * _default_ * mtlgMagnesiumSize ' range=':= 0.787 * _default_ * mtlgMagnesiumSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.787 * _default_ * mtlgMagnesiumSize ' range=':= 0.787 * _default_ * mtlgMagnesiumSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.619 * _default_ * mtlgMagnesiumFreq ' range=':= 0.619 * _default_ * mtlgMagnesiumFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgMagnesiumHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60927C6C' drawBoundBox='false' boundBoxColor='0x60927C6C'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:3")'> <OreBlock block='Metallurgy:utility.ore:3' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Magnesium is complete. -->


                <!-- Starting Vanilla Preset for Magnesium. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgMagnesiumDist = "Vanilla"'>
                        <StandardGen name='mtlgMagnesiumStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60927C6C' drawBoundBox='false' boundBoxColor='0x60927C6C'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:3")'> <OreBlock block='Metallurgy:utility.ore:3' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 4.000 * mtlgMagnesiumSize ' range=':= _default_ * mtlgMagnesiumSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 4.000 * mtlgMagnesiumFreq ' range=':= _default_ * mtlgMagnesiumFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Magnesium is complete. -->

                <!-- End Magnesium Generation -->


                <!-- Begin Bitumen Generation -->

                <!-- Starting SparseVeins Preset for Bitumen. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgBitumenDist = "SparseVeins"'>
                        <Veins name='mtlgBitumenVeins'  inherits='PresetSparseVeins' drawWireframe='true' wireframeColor='0x602A2A2A' drawBoundBox='false' boundBoxColor='0x602A2A2A'>
                            <Description>
                                Large veins filled very lightly  with
                                ore.  Because they contain  less ore
                                per volume, these veins  are
                                relatively wide and long.  Mining the
                                ore from them is time  consuming
                                compared to solid ore  veins.  They
                                are also more  difficult to follow,
                                since it is  harder to get an idea of
                                their  direction while mining.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:4")'> <OreBlock block='Metallurgy:utility.ore:4' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 1.733 * _default_ * mtlgBitumenFreq ' range=':= 1.733 * _default_ * mtlgBitumenFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * mtlgBitumenSize ' range=':= 0 * _default_ * mtlgBitumenSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 1.316 * _default_ ' range=':= 1.316 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgBitumenSize ' range=':= _default_ * mtlgBitumenSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.147 * _default_ * mtlgBitumenSize ' range=':= 1.147 * _default_ * mtlgBitumenSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- SparseVeins Preset for Bitumen is complete. -->


                <!-- Starting Cloud Preset for Bitumen. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgBitumenDist = "Cloud"'>
                        <Cloud name='mtlgBitumenCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x602A2A2A' drawBoundBox='false' boundBoxColor='0x602A2A2A'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:4")'> <OreBlock block='Metallurgy:utility.ore:4' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.787 * _default_ * mtlgBitumenSize ' range=':= 0.787 * _default_ * mtlgBitumenSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.787 * _default_ * mtlgBitumenSize ' range=':= 0.787 * _default_ * mtlgBitumenSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.619 * _default_ * mtlgBitumenFreq ' range=':= 0.619 * _default_ * mtlgBitumenFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgBitumenHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x602A2A2A' drawBoundBox='false' boundBoxColor='0x602A2A2A'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:4")'> <OreBlock block='Metallurgy:utility.ore:4' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Bitumen is complete. -->


                <!-- Starting Vanilla Preset for Bitumen. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgBitumenDist = "Vanilla"'>
                        <StandardGen name='mtlgBitumenStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x602A2A2A' drawBoundBox='false' boundBoxColor='0x602A2A2A'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:4")'> <OreBlock block='Metallurgy:utility.ore:4' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 4.000 * mtlgBitumenSize ' range=':= _default_ * mtlgBitumenSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 4.000 * mtlgBitumenFreq ' range=':= _default_ * mtlgBitumenFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Bitumen is complete. -->

                <!-- End Bitumen Generation -->


                <!-- Begin Potash Generation -->

                <!-- Starting SparseVeins Preset for Potash. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgPotashDist = "SparseVeins"'>
                        <Veins name='mtlgPotashVeins'  inherits='PresetSparseVeins' drawWireframe='true' wireframeColor='0x60FFAA00' drawBoundBox='false' boundBoxColor='0x60FFAA00'>
                            <Description>
                                Large veins filled very lightly  with
                                ore.  Because they contain  less ore
                                per volume, these veins  are
                                relatively wide and long.  Mining the
                                ore from them is time  consuming
                                compared to solid ore  veins.  They
                                are also more  difficult to follow,
                                since it is  harder to get an idea of
                                their  direction while mining.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:5")'> <OreBlock block='Metallurgy:utility.ore:5' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 1.733 * _default_ * mtlgPotashFreq ' range=':= 1.733 * _default_ * mtlgPotashFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * mtlgPotashSize ' range=':= 0 * _default_ * mtlgPotashSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 1.316 * _default_ ' range=':= 1.316 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgPotashSize ' range=':= _default_ * mtlgPotashSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.147 * _default_ * mtlgPotashSize ' range=':= 1.147 * _default_ * mtlgPotashSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- SparseVeins Preset for Potash is complete. -->


                <!-- Starting Cloud Preset for Potash. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgPotashDist = "Cloud"'>
                        <Cloud name='mtlgPotashCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60FFAA00' drawBoundBox='false' boundBoxColor='0x60FFAA00'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:5")'> <OreBlock block='Metallurgy:utility.ore:5' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.787 * _default_ * mtlgPotashSize ' range=':= 0.787 * _default_ * mtlgPotashSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.787 * _default_ * mtlgPotashSize ' range=':= 0.787 * _default_ * mtlgPotashSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.619 * _default_ * mtlgPotashFreq ' range=':= 0.619 * _default_ * mtlgPotashFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgPotashHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60FFAA00' drawBoundBox='false' boundBoxColor='0x60FFAA00'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:5")'> <OreBlock block='Metallurgy:utility.ore:5' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Potash is complete. -->


                <!-- Starting Vanilla Preset for Potash. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgPotashDist = "Vanilla"'>
                        <StandardGen name='mtlgPotashStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60FFAA00' drawBoundBox='false' boundBoxColor='0x60FFAA00'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:utility.ore:5")'> <OreBlock block='Metallurgy:utility.ore:5' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 4.000 * mtlgPotashSize ' range=':= _default_ * mtlgPotashSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 4.000 * mtlgPotashFreq ' range=':= _default_ * mtlgPotashFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Potash is complete. -->

                <!-- End Potash Generation -->


                <!-- Begin Copper Generation -->

                <!-- Starting LayeredVeins Preset for Copper. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgCopperDist = "LayeredVeins"'>
                        <Veins name='mtlgCopperVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60EA6515' drawBoundBox='false' boundBoxColor='0x60EA6515'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:base.ore")'> <OreBlock block='Metallurgy:base.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 1.501 * _default_ * mtlgCopperFreq ' range=':= 1.501 * _default_ * mtlgCopperFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 1.070 * _default_ * mtlgCopperSize ' range=':= 1.070 * _default_ * mtlgCopperSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 1.225 * _default_ ' range=':= 1.225 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgCopperSize ' range=':= _default_ * mtlgCopperSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.107 * _default_ * mtlgCopperSize ' range=':= 1.107 * _default_ * mtlgCopperSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Copper is complete. -->


                <!-- Starting Cloud Preset for Copper. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgCopperDist = "Cloud"'>
                        <Cloud name='mtlgCopperCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60EA6515' drawBoundBox='false' boundBoxColor='0x60EA6515'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:base.ore")'> <OreBlock block='Metallurgy:base.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 1.146 * _default_ * mtlgCopperSize ' range=':= 1.146 * _default_ * mtlgCopperSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 1.146 * _default_ * mtlgCopperSize ' range=':= 1.146 * _default_ * mtlgCopperSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 1.314 * _default_ * mtlgCopperFreq ' range=':= 1.314 * _default_ * mtlgCopperFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgCopperHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60EA6515' drawBoundBox='false' boundBoxColor='0x60EA6515'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:base.ore")'> <OreBlock block='Metallurgy:base.ore' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Copper is complete. -->


                <!-- Starting Vanilla Preset for Copper. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgCopperDist = "Vanilla"'>
                        <StandardGen name='mtlgCopperStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60EA6515' drawBoundBox='false' boundBoxColor='0x60EA6515'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:base.ore")'> <OreBlock block='Metallurgy:base.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 6.000 * mtlgCopperSize ' range=':= _default_ * mtlgCopperSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 12.000 * mtlgCopperFreq ' range=':= _default_ * mtlgCopperFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Copper is complete. -->

                <!-- End Copper Generation -->


                <!-- Begin Tin Generation -->

                <!-- Starting LayeredVeins Preset for Tin. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgTinDist = "LayeredVeins"'>
                        <Veins name='mtlgTinVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60BDBDBD' drawBoundBox='false' boundBoxColor='0x60BDBDBD'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:base.ore:1")'> <OreBlock block='Metallurgy:base.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 1.480 * _default_ * mtlgTinFreq ' range=':= 1.480 * _default_ * mtlgTinFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 1.068 * _default_ * mtlgTinSize ' range=':= 1.068 * _default_ * mtlgTinSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 1.217 * _default_ ' range=':= 1.217 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgTinSize ' range=':= _default_ * mtlgTinSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.103 * _default_ * mtlgTinSize ' range=':= 1.103 * _default_ * mtlgTinSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Tin is complete. -->


                <!-- Starting Cloud Preset for Tin. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgTinDist = "Cloud"'>
                        <Cloud name='mtlgTinCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60BDBDBD' drawBoundBox='false' boundBoxColor='0x60BDBDBD'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:base.ore:1")'> <OreBlock block='Metallurgy:base.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 1.138 * _default_ * mtlgTinSize ' range=':= 1.138 * _default_ * mtlgTinSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 1.138 * _default_ * mtlgTinSize ' range=':= 1.138 * _default_ * mtlgTinSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 1.295 * _default_ * mtlgTinFreq ' range=':= 1.295 * _default_ * mtlgTinFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgTinHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60BDBDBD' drawBoundBox='false' boundBoxColor='0x60BDBDBD'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:base.ore:1")'> <OreBlock block='Metallurgy:base.ore:1' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Tin is complete. -->


                <!-- Starting Vanilla Preset for Tin. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgTinDist = "Vanilla"'>
                        <StandardGen name='mtlgTinStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60BDBDBD' drawBoundBox='false' boundBoxColor='0x60BDBDBD'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:base.ore:1")'> <OreBlock block='Metallurgy:base.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 10.000 * mtlgTinSize ' range=':= _default_ * mtlgTinSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 7.000 * mtlgTinFreq ' range=':= _default_ * mtlgTinFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Tin is complete. -->

                <!-- End Tin Generation -->


                <!-- Begin Manganese Generation -->

                <!-- Starting LayeredVeins Preset for Manganese. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgManganeseDist = "LayeredVeins"'>
                        <Veins name='mtlgManganeseVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60FCC7C7' drawBoundBox='false' boundBoxColor='0x60FCC7C7'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:base.ore:2")'> <OreBlock block='Metallurgy:base.ore:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.791 * _default_ * mtlgManganeseFreq ' range=':= 0.791 * _default_ * mtlgManganeseFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.962 * _default_ * mtlgManganeseSize ' range=':= 0.962 * _default_ * mtlgManganeseSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.890 * _default_ ' range=':= 0.890 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgManganeseSize ' range=':= _default_ * mtlgManganeseSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.943 * _default_ * mtlgManganeseSize ' range=':= 0.943 * _default_ * mtlgManganeseSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Manganese is complete. -->


                <!-- Starting Cloud Preset for Manganese. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgManganeseDist = "Cloud"'>
                        <Cloud name='mtlgManganeseCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60FCC7C7' drawBoundBox='false' boundBoxColor='0x60FCC7C7'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:base.ore:2")'> <OreBlock block='Metallurgy:base.ore:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.832 * _default_ * mtlgManganeseSize ' range=':= 0.832 * _default_ * mtlgManganeseSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.832 * _default_ * mtlgManganeseSize ' range=':= 0.832 * _default_ * mtlgManganeseSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.692 * _default_ * mtlgManganeseFreq ' range=':= 0.692 * _default_ * mtlgManganeseFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgManganeseHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60FCC7C7' drawBoundBox='false' boundBoxColor='0x60FCC7C7'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:base.ore:2")'> <OreBlock block='Metallurgy:base.ore:2' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Manganese is complete. -->


                <!-- Starting Vanilla Preset for Manganese. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgManganeseDist = "Vanilla"'>
                        <StandardGen name='mtlgManganeseStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60FCC7C7' drawBoundBox='false' boundBoxColor='0x60FCC7C7'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:base.ore:2")'> <OreBlock block='Metallurgy:base.ore:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 4.000 * mtlgManganeseSize ' range=':= _default_ * mtlgManganeseSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 5.000 * mtlgManganeseFreq ' range=':= _default_ * mtlgManganeseFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Manganese is complete. -->

                <!-- End Manganese Generation -->


                <!-- Begin Zinc Generation -->

                <!-- Starting LayeredVeins Preset for Zinc. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgZincDist = "LayeredVeins"'>
                        <Veins name='mtlgZincVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60BFC55C' drawBoundBox='false' boundBoxColor='0x60BFC55C'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:precious.ore")'> <OreBlock block='Metallurgy:precious.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.969 * _default_ * mtlgZincFreq ' range=':= 0.969 * _default_ * mtlgZincFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.995 * _default_ * mtlgZincSize ' range=':= 0.995 * _default_ * mtlgZincSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.984 * _default_ ' range=':= 0.984 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgZincSize ' range=':= _default_ * mtlgZincSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.992 * _default_ * mtlgZincSize ' range=':= 0.992 * _default_ * mtlgZincSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Zinc is complete. -->


                <!-- Starting Cloud Preset for Zinc. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgZincDist = "Cloud"'>
                        <Cloud name='mtlgZincCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60BFC55C' drawBoundBox='false' boundBoxColor='0x60BFC55C'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:precious.ore")'> <OreBlock block='Metallurgy:precious.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.921 * _default_ * mtlgZincSize ' range=':= 0.921 * _default_ * mtlgZincSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.921 * _default_ * mtlgZincSize ' range=':= 0.921 * _default_ * mtlgZincSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.848 * _default_ * mtlgZincFreq ' range=':= 0.848 * _default_ * mtlgZincFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgZincHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60BFC55C' drawBoundBox='false' boundBoxColor='0x60BFC55C'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:precious.ore")'> <OreBlock block='Metallurgy:precious.ore' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Zinc is complete. -->


                <!-- Starting Vanilla Preset for Zinc. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgZincDist = "Vanilla"'>
                        <StandardGen name='mtlgZincStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60BFC55C' drawBoundBox='false' boundBoxColor='0x60BFC55C'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:precious.ore")'> <OreBlock block='Metallurgy:precious.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 5.000 * mtlgZincSize ' range=':= _default_ * mtlgZincSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 6.000 * mtlgZincFreq ' range=':= _default_ * mtlgZincFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Zinc is complete. -->

                <!-- End Zinc Generation -->


                <!-- Begin Silver Generation -->

                <!-- Starting LayeredVeins Preset for Silver. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgSilverDist = "LayeredVeins"'>
                        <Veins name='mtlgSilverVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60E1E1E1' drawBoundBox='false' boundBoxColor='0x60E1E1E1'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:precious.ore:1")'> <OreBlock block='Metallurgy:precious.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.969 * _default_ * mtlgSilverFreq ' range=':= 0.969 * _default_ * mtlgSilverFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.995 * _default_ * mtlgSilverSize ' range=':= 0.995 * _default_ * mtlgSilverSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.984 * _default_ ' range=':= 0.984 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgSilverSize ' range=':= _default_ * mtlgSilverSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.992 * _default_ * mtlgSilverSize ' range=':= 0.992 * _default_ * mtlgSilverSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Silver is complete. -->


                <!-- Starting Cloud Preset for Silver. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgSilverDist = "Cloud"'>
                        <Cloud name='mtlgSilverCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60E1E1E1' drawBoundBox='false' boundBoxColor='0x60E1E1E1'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:precious.ore:1")'> <OreBlock block='Metallurgy:precious.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.921 * _default_ * mtlgSilverSize ' range=':= 0.921 * _default_ * mtlgSilverSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.921 * _default_ * mtlgSilverSize ' range=':= 0.921 * _default_ * mtlgSilverSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.848 * _default_ * mtlgSilverFreq ' range=':= 0.848 * _default_ * mtlgSilverFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgSilverHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60E1E1E1' drawBoundBox='false' boundBoxColor='0x60E1E1E1'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:precious.ore:1")'> <OreBlock block='Metallurgy:precious.ore:1' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Silver is complete. -->


                <!-- Starting Vanilla Preset for Silver. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgSilverDist = "Vanilla"'>
                        <StandardGen name='mtlgSilverStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60E1E1E1' drawBoundBox='false' boundBoxColor='0x60E1E1E1'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:precious.ore:1")'> <OreBlock block='Metallurgy:precious.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 5.000 * mtlgSilverSize ' range=':= _default_ * mtlgSilverSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 6.000 * mtlgSilverFreq ' range=':= _default_ * mtlgSilverFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Silver is complete. -->

                <!-- End Silver Generation -->


                <!-- Begin Platinum Generation -->

                <!-- Starting LayeredVeins Preset for Platinum. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgPlatinumDist = "LayeredVeins"'>
                        <Veins name='mtlgPlatinumVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60B8D6DB' drawBoundBox='false' boundBoxColor='0x60B8D6DB'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:precious.ore:2")'> <OreBlock block='Metallurgy:precious.ore:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.531 * _default_ * mtlgPlatinumFreq ' range=':= 0.531 * _default_ * mtlgPlatinumFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.900 * _default_ * mtlgPlatinumSize ' range=':= 0.900 * _default_ * mtlgPlatinumSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.729 * _default_ ' range=':= 0.729 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgPlatinumSize ' range=':= _default_ * mtlgPlatinumSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.854 * _default_ * mtlgPlatinumSize ' range=':= 0.854 * _default_ * mtlgPlatinumSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Platinum is complete. -->


                <!-- Starting Cloud Preset for Platinum. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgPlatinumDist = "Cloud"'>
                        <Cloud name='mtlgPlatinumCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60B8D6DB' drawBoundBox='false' boundBoxColor='0x60B8D6DB'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:precious.ore:2")'> <OreBlock block='Metallurgy:precious.ore:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.682 * _default_ * mtlgPlatinumSize ' range=':= 0.682 * _default_ * mtlgPlatinumSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.682 * _default_ * mtlgPlatinumSize ' range=':= 0.682 * _default_ * mtlgPlatinumSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.464 * _default_ * mtlgPlatinumFreq ' range=':= 0.464 * _default_ * mtlgPlatinumFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgPlatinumHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60B8D6DB' drawBoundBox='false' boundBoxColor='0x60B8D6DB'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:precious.ore:2")'> <OreBlock block='Metallurgy:precious.ore:2' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Platinum is complete. -->


                <!-- Starting Vanilla Preset for Platinum. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgPlatinumDist = "Vanilla"'>
                        <StandardGen name='mtlgPlatinumStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60B8D6DB' drawBoundBox='false' boundBoxColor='0x60B8D6DB'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:precious.ore:2")'> <OreBlock block='Metallurgy:precious.ore:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 3.000 * mtlgPlatinumSize ' range=':= _default_ * mtlgPlatinumSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 3.000 * mtlgPlatinumFreq ' range=':= _default_ * mtlgPlatinumFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Platinum is complete. -->

                <!-- End Platinum Generation -->


                <!-- Begin Promethium Generation -->

                <!-- Starting LayeredVeins Preset for Promethium. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgPromethiumDist = "LayeredVeins"'>
                        <Veins name='mtlgPromethiumVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x605D8258' drawBoundBox='false' boundBoxColor='0x605D8258'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore")'> <OreBlock block='Metallurgy:fantasy.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.969 * _default_ * mtlgPromethiumFreq ' range=':= 0.969 * _default_ * mtlgPromethiumFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.995 * _default_ * mtlgPromethiumSize ' range=':= 0.995 * _default_ * mtlgPromethiumSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.984 * _default_ ' range=':= 0.984 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgPromethiumSize ' range=':= _default_ * mtlgPromethiumSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.992 * _default_ * mtlgPromethiumSize ' range=':= 0.992 * _default_ * mtlgPromethiumSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Promethium is complete. -->


                <!-- Starting Cloud Preset for Promethium. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgPromethiumDist = "Cloud"'>
                        <Cloud name='mtlgPromethiumCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x605D8258' drawBoundBox='false' boundBoxColor='0x605D8258'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore")'> <OreBlock block='Metallurgy:fantasy.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.921 * _default_ * mtlgPromethiumSize ' range=':= 0.921 * _default_ * mtlgPromethiumSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.921 * _default_ * mtlgPromethiumSize ' range=':= 0.921 * _default_ * mtlgPromethiumSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.848 * _default_ * mtlgPromethiumFreq ' range=':= 0.848 * _default_ * mtlgPromethiumFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgPromethiumHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x605D8258' drawBoundBox='false' boundBoxColor='0x605D8258'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore")'> <OreBlock block='Metallurgy:fantasy.ore' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Promethium is complete. -->


                <!-- Starting Vanilla Preset for Promethium. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgPromethiumDist = "Vanilla"'>
                        <StandardGen name='mtlgPromethiumStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x605D8258' drawBoundBox='false' boundBoxColor='0x605D8258'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore")'> <OreBlock block='Metallurgy:fantasy.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 6.000 * mtlgPromethiumSize ' range=':= _default_ * mtlgPromethiumSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 5.000 * mtlgPromethiumFreq ' range=':= _default_ * mtlgPromethiumFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Promethium is complete. -->

                <!-- End Promethium Generation -->


                <!-- Begin Deep Iron Generation -->

                <!-- Starting LayeredVeins Preset for Deep Iron. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgDeepIronDist = "LayeredVeins"'>
                        <Veins name='mtlgDeepIronVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x604C5E6C' drawBoundBox='false' boundBoxColor='0x604C5E6C'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:1")'> <OreBlock block='Metallurgy:fantasy.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.791 * _default_ * mtlgDeepIronFreq ' range=':= 0.791 * _default_ * mtlgDeepIronFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.962 * _default_ * mtlgDeepIronSize ' range=':= 0.962 * _default_ * mtlgDeepIronSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.890 * _default_ ' range=':= 0.890 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgDeepIronSize ' range=':= _default_ * mtlgDeepIronSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.943 * _default_ * mtlgDeepIronSize ' range=':= 0.943 * _default_ * mtlgDeepIronSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Deep Iron is complete. -->


                <!-- Starting Cloud Preset for Deep Iron. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgDeepIronDist = "Cloud"'>
                        <Cloud name='mtlgDeepIronCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x604C5E6C' drawBoundBox='false' boundBoxColor='0x604C5E6C'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:1")'> <OreBlock block='Metallurgy:fantasy.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.832 * _default_ * mtlgDeepIronSize ' range=':= 0.832 * _default_ * mtlgDeepIronSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.832 * _default_ * mtlgDeepIronSize ' range=':= 0.832 * _default_ * mtlgDeepIronSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.692 * _default_ * mtlgDeepIronFreq ' range=':= 0.692 * _default_ * mtlgDeepIronFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgDeepIronHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x604C5E6C' drawBoundBox='false' boundBoxColor='0x604C5E6C'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:1")'> <OreBlock block='Metallurgy:fantasy.ore:1' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Deep Iron is complete. -->


                <!-- Starting Vanilla Preset for Deep Iron. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgDeepIronDist = "Vanilla"'>
                        <StandardGen name='mtlgDeepIronStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x604C5E6C' drawBoundBox='false' boundBoxColor='0x604C5E6C'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:1")'> <OreBlock block='Metallurgy:fantasy.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 4.000 * mtlgDeepIronSize ' range=':= _default_ * mtlgDeepIronSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 5.000 * mtlgDeepIronFreq ' range=':= _default_ * mtlgDeepIronFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Deep Iron is complete. -->

                <!-- End Deep Iron Generation -->


                <!-- Begin Infuscolium Generation -->

                <!-- Starting LayeredVeins Preset for Infuscolium. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgInfuscoliumDist = "LayeredVeins"'>
                        <Veins name='mtlgInfuscoliumVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x608B2656' drawBoundBox='false' boundBoxColor='0x608B2656'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:2")'> <OreBlock block='Metallurgy:fantasy.ore:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.791 * _default_ * mtlgInfuscoliumFreq ' range=':= 0.791 * _default_ * mtlgInfuscoliumFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.962 * _default_ * mtlgInfuscoliumSize ' range=':= 0.962 * _default_ * mtlgInfuscoliumSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.890 * _default_ ' range=':= 0.890 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgInfuscoliumSize ' range=':= _default_ * mtlgInfuscoliumSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.943 * _default_ * mtlgInfuscoliumSize ' range=':= 0.943 * _default_ * mtlgInfuscoliumSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Infuscolium is complete. -->


                <!-- Starting Cloud Preset for Infuscolium. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgInfuscoliumDist = "Cloud"'>
                        <Cloud name='mtlgInfuscoliumCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x608B2656' drawBoundBox='false' boundBoxColor='0x608B2656'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:2")'> <OreBlock block='Metallurgy:fantasy.ore:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.832 * _default_ * mtlgInfuscoliumSize ' range=':= 0.832 * _default_ * mtlgInfuscoliumSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.832 * _default_ * mtlgInfuscoliumSize ' range=':= 0.832 * _default_ * mtlgInfuscoliumSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.692 * _default_ * mtlgInfuscoliumFreq ' range=':= 0.692 * _default_ * mtlgInfuscoliumFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgInfuscoliumHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x608B2656' drawBoundBox='false' boundBoxColor='0x608B2656'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:2")'> <OreBlock block='Metallurgy:fantasy.ore:2' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Infuscolium is complete. -->


                <!-- Starting Vanilla Preset for Infuscolium. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgInfuscoliumDist = "Vanilla"'>
                        <StandardGen name='mtlgInfuscoliumStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x608B2656' drawBoundBox='false' boundBoxColor='0x608B2656'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:2")'> <OreBlock block='Metallurgy:fantasy.ore:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 4.000 * mtlgInfuscoliumSize ' range=':= _default_ * mtlgInfuscoliumSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 5.000 * mtlgInfuscoliumFreq ' range=':= _default_ * mtlgInfuscoliumFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Infuscolium is complete. -->

                <!-- End Infuscolium Generation -->


                <!-- Begin Oureclase Generation -->

                <!-- Starting LayeredVeins Preset for Oureclase. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgOureclaseDist = "LayeredVeins"'>
                        <Veins name='mtlgOureclaseVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x609A7607' drawBoundBox='false' boundBoxColor='0x609A7607'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:4")'> <OreBlock block='Metallurgy:fantasy.ore:4' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.613 * _default_ * mtlgOureclaseFreq ' range=':= 0.613 * _default_ * mtlgOureclaseFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.922 * _default_ * mtlgOureclaseSize ' range=':= 0.922 * _default_ * mtlgOureclaseSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.783 * _default_ ' range=':= 0.783 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgOureclaseSize ' range=':= _default_ * mtlgOureclaseSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.885 * _default_ * mtlgOureclaseSize ' range=':= 0.885 * _default_ * mtlgOureclaseSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Oureclase is complete. -->


                <!-- Starting Cloud Preset for Oureclase. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgOureclaseDist = "Cloud"'>
                        <Cloud name='mtlgOureclaseCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x609A7607' drawBoundBox='false' boundBoxColor='0x609A7607'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:4")'> <OreBlock block='Metallurgy:fantasy.ore:4' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.732 * _default_ * mtlgOureclaseSize ' range=':= 0.732 * _default_ * mtlgOureclaseSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.732 * _default_ * mtlgOureclaseSize ' range=':= 0.732 * _default_ * mtlgOureclaseSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.536 * _default_ * mtlgOureclaseFreq ' range=':= 0.536 * _default_ * mtlgOureclaseFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgOureclaseHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x609A7607' drawBoundBox='false' boundBoxColor='0x609A7607'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:4")'> <OreBlock block='Metallurgy:fantasy.ore:4' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Oureclase is complete. -->


                <!-- Starting Vanilla Preset for Oureclase. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgOureclaseDist = "Vanilla"'>
                        <StandardGen name='mtlgOureclaseStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x609A7607' drawBoundBox='false' boundBoxColor='0x609A7607'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:4")'> <OreBlock block='Metallurgy:fantasy.ore:4' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 3.000 * mtlgOureclaseSize ' range=':= _default_ * mtlgOureclaseSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 4.000 * mtlgOureclaseFreq ' range=':= _default_ * mtlgOureclaseFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Oureclase is complete. -->

                <!-- End Oureclase Generation -->


                <!-- Begin Astral Silver Generation -->

                <!-- Starting LayeredVeins Preset for Astral Silver. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgAstralSilverDist = "LayeredVeins"'>
                        <Veins name='mtlgAstralSilverVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60ADC3C3' drawBoundBox='false' boundBoxColor='0x60ADC3C3'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:5")'> <OreBlock block='Metallurgy:fantasy.ore:5' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.613 * _default_ * mtlgAstralSilverFreq ' range=':= 0.613 * _default_ * mtlgAstralSilverFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.922 * _default_ * mtlgAstralSilverSize ' range=':= 0.922 * _default_ * mtlgAstralSilverSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.783 * _default_ ' range=':= 0.783 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgAstralSilverSize ' range=':= _default_ * mtlgAstralSilverSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.885 * _default_ * mtlgAstralSilverSize ' range=':= 0.885 * _default_ * mtlgAstralSilverSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Astral Silver is
                     complete. -->


                <!-- Starting Cloud Preset for Astral Silver. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgAstralSilverDist = "Cloud"'>
                        <Cloud name='mtlgAstralSilverCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60ADC3C3' drawBoundBox='false' boundBoxColor='0x60ADC3C3'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:5")'> <OreBlock block='Metallurgy:fantasy.ore:5' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.732 * _default_ * mtlgAstralSilverSize ' range=':= 0.732 * _default_ * mtlgAstralSilverSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.732 * _default_ * mtlgAstralSilverSize ' range=':= 0.732 * _default_ * mtlgAstralSilverSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.536 * _default_ * mtlgAstralSilverFreq ' range=':= 0.536 * _default_ * mtlgAstralSilverFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgAstralSilverHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60ADC3C3' drawBoundBox='false' boundBoxColor='0x60ADC3C3'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:5")'> <OreBlock block='Metallurgy:fantasy.ore:5' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Astral Silver is complete. -->


                <!-- Starting Vanilla Preset for Astral Silver. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgAstralSilverDist = "Vanilla"'>
                        <StandardGen name='mtlgAstralSilverStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60ADC3C3' drawBoundBox='false' boundBoxColor='0x60ADC3C3'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:5")'> <OreBlock block='Metallurgy:fantasy.ore:5' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 3.000 * mtlgAstralSilverSize ' range=':= _default_ * mtlgAstralSilverSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 4.000 * mtlgAstralSilverFreq ' range=':= _default_ * mtlgAstralSilverFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Astral Silver is complete. -->

                <!-- End Astral Silver Generation -->


                <!-- Begin Carmot Generation -->

                <!-- Starting LayeredVeins Preset for Carmot. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgCarmotDist = "LayeredVeins"'>
                        <Veins name='mtlgCarmotVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60D7C986' drawBoundBox='false' boundBoxColor='0x60D7C986'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:6")'> <OreBlock block='Metallurgy:fantasy.ore:6' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.531 * _default_ * mtlgCarmotFreq ' range=':= 0.531 * _default_ * mtlgCarmotFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.900 * _default_ * mtlgCarmotSize ' range=':= 0.900 * _default_ * mtlgCarmotSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.729 * _default_ ' range=':= 0.729 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgCarmotSize ' range=':= _default_ * mtlgCarmotSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.854 * _default_ * mtlgCarmotSize ' range=':= 0.854 * _default_ * mtlgCarmotSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Carmot is complete. -->


                <!-- Starting Cloud Preset for Carmot. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgCarmotDist = "Cloud"'>
                        <Cloud name='mtlgCarmotCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60D7C986' drawBoundBox='false' boundBoxColor='0x60D7C986'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:6")'> <OreBlock block='Metallurgy:fantasy.ore:6' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.682 * _default_ * mtlgCarmotSize ' range=':= 0.682 * _default_ * mtlgCarmotSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.682 * _default_ * mtlgCarmotSize ' range=':= 0.682 * _default_ * mtlgCarmotSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.464 * _default_ * mtlgCarmotFreq ' range=':= 0.464 * _default_ * mtlgCarmotFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgCarmotHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60D7C986' drawBoundBox='false' boundBoxColor='0x60D7C986'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:6")'> <OreBlock block='Metallurgy:fantasy.ore:6' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Carmot is complete. -->


                <!-- Starting Vanilla Preset for Carmot. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgCarmotDist = "Vanilla"'>
                        <StandardGen name='mtlgCarmotStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60D7C986' drawBoundBox='false' boundBoxColor='0x60D7C986'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:6")'> <OreBlock block='Metallurgy:fantasy.ore:6' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 3.000 * mtlgCarmotSize ' range=':= _default_ * mtlgCarmotSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 3.000 * mtlgCarmotFreq ' range=':= _default_ * mtlgCarmotFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Carmot is complete. -->

                <!-- End Carmot Generation -->


                <!-- Begin Mithril Generation -->

                <!-- Starting LayeredVeins Preset for Mithril. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgMithrilDist = "LayeredVeins"'>
                        <Veins name='mtlgMithrilVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x609AF3F7' drawBoundBox='false' boundBoxColor='0x609AF3F7'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:7")'> <OreBlock block='Metallurgy:fantasy.ore:7' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.531 * _default_ * mtlgMithrilFreq ' range=':= 0.531 * _default_ * mtlgMithrilFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.900 * _default_ * mtlgMithrilSize ' range=':= 0.900 * _default_ * mtlgMithrilSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.729 * _default_ ' range=':= 0.729 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgMithrilSize ' range=':= _default_ * mtlgMithrilSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.854 * _default_ * mtlgMithrilSize ' range=':= 0.854 * _default_ * mtlgMithrilSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Mithril is complete. -->


                <!-- Starting Cloud Preset for Mithril. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgMithrilDist = "Cloud"'>
                        <Cloud name='mtlgMithrilCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x609AF3F7' drawBoundBox='false' boundBoxColor='0x609AF3F7'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:7")'> <OreBlock block='Metallurgy:fantasy.ore:7' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.682 * _default_ * mtlgMithrilSize ' range=':= 0.682 * _default_ * mtlgMithrilSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.682 * _default_ * mtlgMithrilSize ' range=':= 0.682 * _default_ * mtlgMithrilSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.464 * _default_ * mtlgMithrilFreq ' range=':= 0.464 * _default_ * mtlgMithrilFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgMithrilHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x609AF3F7' drawBoundBox='false' boundBoxColor='0x609AF3F7'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:7")'> <OreBlock block='Metallurgy:fantasy.ore:7' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Mithril is complete. -->


                <!-- Starting Vanilla Preset for Mithril. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgMithrilDist = "Vanilla"'>
                        <StandardGen name='mtlgMithrilStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x609AF3F7' drawBoundBox='false' boundBoxColor='0x609AF3F7'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:7")'> <OreBlock block='Metallurgy:fantasy.ore:7' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 3.000 * mtlgMithrilSize ' range=':= _default_ * mtlgMithrilSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 3.000 * mtlgMithrilFreq ' range=':= _default_ * mtlgMithrilFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Mithril is complete. -->

                <!-- End Mithril Generation -->


                <!-- Begin Rubracium Generation -->

                <!-- Starting LayeredVeins Preset for Rubracium. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgRubraciumDist = "LayeredVeins"'>
                        <Veins name='mtlgRubraciumVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60A1363C' drawBoundBox='false' boundBoxColor='0x60A1363C'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:8")'> <OreBlock block='Metallurgy:fantasy.ore:8' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.433 * _default_ * mtlgRubraciumFreq ' range=':= 0.433 * _default_ * mtlgRubraciumFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.870 * _default_ * mtlgRubraciumSize ' range=':= 0.870 * _default_ * mtlgRubraciumSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.658 * _default_ ' range=':= 0.658 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgRubraciumSize ' range=':= _default_ * mtlgRubraciumSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.811 * _default_ * mtlgRubraciumSize ' range=':= 0.811 * _default_ * mtlgRubraciumSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Rubracium is complete. -->


                <!-- Starting Cloud Preset for Rubracium. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgRubraciumDist = "Cloud"'>
                        <Cloud name='mtlgRubraciumCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60A1363C' drawBoundBox='false' boundBoxColor='0x60A1363C'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:8")'> <OreBlock block='Metallurgy:fantasy.ore:8' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.616 * _default_ * mtlgRubraciumSize ' range=':= 0.616 * _default_ * mtlgRubraciumSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.616 * _default_ * mtlgRubraciumSize ' range=':= 0.616 * _default_ * mtlgRubraciumSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.379 * _default_ * mtlgRubraciumFreq ' range=':= 0.379 * _default_ * mtlgRubraciumFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgRubraciumHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60A1363C' drawBoundBox='false' boundBoxColor='0x60A1363C'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:8")'> <OreBlock block='Metallurgy:fantasy.ore:8' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Rubracium is complete. -->


                <!-- Starting Vanilla Preset for Rubracium. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgRubraciumDist = "Vanilla"'>
                        <StandardGen name='mtlgRubraciumStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60A1363C' drawBoundBox='false' boundBoxColor='0x60A1363C'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:8")'> <OreBlock block='Metallurgy:fantasy.ore:8' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 3.000 * mtlgRubraciumSize ' range=':= _default_ * mtlgRubraciumSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 2.000 * mtlgRubraciumFreq ' range=':= _default_ * mtlgRubraciumFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Rubracium is complete. -->

                <!-- End Rubracium Generation -->


                <!-- Begin Orichalcum Generation -->

                <!-- Starting LayeredVeins Preset for Orichalcum. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgOrichalcumDist = "LayeredVeins"'>
                        <Veins name='mtlgOrichalcumVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60466432' drawBoundBox='false' boundBoxColor='0x60466432'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:11")'> <OreBlock block='Metallurgy:fantasy.ore:11' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.500 * _default_ * mtlgOrichalcumFreq ' range=':= 0.500 * _default_ * mtlgOrichalcumFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.891 * _default_ * mtlgOrichalcumSize ' range=':= 0.891 * _default_ * mtlgOrichalcumSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.707 * _default_ ' range=':= 0.707 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgOrichalcumSize ' range=':= _default_ * mtlgOrichalcumSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.841 * _default_ * mtlgOrichalcumSize ' range=':= 0.841 * _default_ * mtlgOrichalcumSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Orichalcum is complete. -->


                <!-- Starting Cloud Preset for Orichalcum. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgOrichalcumDist = "Cloud"'>
                        <Cloud name='mtlgOrichalcumCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60466432' drawBoundBox='false' boundBoxColor='0x60466432'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:11")'> <OreBlock block='Metallurgy:fantasy.ore:11' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.662 * _default_ * mtlgOrichalcumSize ' range=':= 0.662 * _default_ * mtlgOrichalcumSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.662 * _default_ * mtlgOrichalcumSize ' range=':= 0.662 * _default_ * mtlgOrichalcumSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.438 * _default_ * mtlgOrichalcumFreq ' range=':= 0.438 * _default_ * mtlgOrichalcumFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgOrichalcumHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60466432' drawBoundBox='false' boundBoxColor='0x60466432'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:11")'> <OreBlock block='Metallurgy:fantasy.ore:11' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Orichalcum is complete. -->


                <!-- Starting Vanilla Preset for Orichalcum. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgOrichalcumDist = "Vanilla"'>
                        <StandardGen name='mtlgOrichalcumStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60466432' drawBoundBox='false' boundBoxColor='0x60466432'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:11")'> <OreBlock block='Metallurgy:fantasy.ore:11' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 4.000 * mtlgOrichalcumSize ' range=':= _default_ * mtlgOrichalcumSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 2.000 * mtlgOrichalcumFreq ' range=':= _default_ * mtlgOrichalcumFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Orichalcum is complete. -->

                <!-- End Orichalcum Generation -->


                <!-- Begin Adamantine Generation -->

                <!-- Starting LayeredVeins Preset for Adamantine. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgAdamantineDist = "LayeredVeins"'>
                        <Veins name='mtlgAdamantineVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60AC0C0D' drawBoundBox='false' boundBoxColor='0x60AC0C0D'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:13")'> <OreBlock block='Metallurgy:fantasy.ore:13' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.433 * _default_ * mtlgAdamantineFreq ' range=':= 0.433 * _default_ * mtlgAdamantineFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.870 * _default_ * mtlgAdamantineSize ' range=':= 0.870 * _default_ * mtlgAdamantineSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.658 * _default_ ' range=':= 0.658 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgAdamantineSize ' range=':= _default_ * mtlgAdamantineSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.811 * _default_ * mtlgAdamantineSize ' range=':= 0.811 * _default_ * mtlgAdamantineSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Adamantine is complete. -->


                <!-- Starting Cloud Preset for Adamantine. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgAdamantineDist = "Cloud"'>
                        <Cloud name='mtlgAdamantineCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60AC0C0D' drawBoundBox='false' boundBoxColor='0x60AC0C0D'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:13")'> <OreBlock block='Metallurgy:fantasy.ore:13' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.616 * _default_ * mtlgAdamantineSize ' range=':= 0.616 * _default_ * mtlgAdamantineSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.616 * _default_ * mtlgAdamantineSize ' range=':= 0.616 * _default_ * mtlgAdamantineSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.379 * _default_ * mtlgAdamantineFreq ' range=':= 0.379 * _default_ * mtlgAdamantineFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgAdamantineHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60AC0C0D' drawBoundBox='false' boundBoxColor='0x60AC0C0D'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:13")'> <OreBlock block='Metallurgy:fantasy.ore:13' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Adamantine is complete. -->


                <!-- Starting Vanilla Preset for Adamantine. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgAdamantineDist = "Vanilla"'>
                        <StandardGen name='mtlgAdamantineStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60AC0C0D' drawBoundBox='false' boundBoxColor='0x60AC0C0D'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:13")'> <OreBlock block='Metallurgy:fantasy.ore:13' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 3.000 * mtlgAdamantineSize ' range=':= _default_ * mtlgAdamantineSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 2.000 * mtlgAdamantineFreq ' range=':= _default_ * mtlgAdamantineFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Adamantine is complete. -->

                <!-- End Adamantine Generation -->


                <!-- Begin Atlarus Generation -->

                <!-- Starting LayeredVeins Preset for Atlarus. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgAtlarusDist = "LayeredVeins"'>
                        <Veins name='mtlgAtlarusVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60C4B117' drawBoundBox='false' boundBoxColor='0x60C4B117'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:14")'> <OreBlock block='Metallurgy:fantasy.ore:14' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.433 * _default_ * mtlgAtlarusFreq ' range=':= 0.433 * _default_ * mtlgAtlarusFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.870 * _default_ * mtlgAtlarusSize ' range=':= 0.870 * _default_ * mtlgAtlarusSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.658 * _default_ ' range=':= 0.658 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgAtlarusSize ' range=':= _default_ * mtlgAtlarusSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.811 * _default_ * mtlgAtlarusSize ' range=':= 0.811 * _default_ * mtlgAtlarusSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Atlarus is complete. -->


                <!-- Starting Cloud Preset for Atlarus. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgAtlarusDist = "Cloud"'>
                        <Cloud name='mtlgAtlarusCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60C4B117' drawBoundBox='false' boundBoxColor='0x60C4B117'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:14")'> <OreBlock block='Metallurgy:fantasy.ore:14' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.616 * _default_ * mtlgAtlarusSize ' range=':= 0.616 * _default_ * mtlgAtlarusSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.616 * _default_ * mtlgAtlarusSize ' range=':= 0.616 * _default_ * mtlgAtlarusSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.379 * _default_ * mtlgAtlarusFreq ' range=':= 0.379 * _default_ * mtlgAtlarusFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgAtlarusHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60C4B117' drawBoundBox='false' boundBoxColor='0x60C4B117'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:14")'> <OreBlock block='Metallurgy:fantasy.ore:14' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Atlarus is complete. -->


                <!-- Starting Vanilla Preset for Atlarus. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgAtlarusDist = "Vanilla"'>
                        <StandardGen name='mtlgAtlarusStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60C4B117' drawBoundBox='false' boundBoxColor='0x60C4B117'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:fantasy.ore:14")'> <OreBlock block='Metallurgy:fantasy.ore:14' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 3.000 * mtlgAtlarusSize ' range=':= _default_ * mtlgAtlarusSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 2.000 * mtlgAtlarusFreq ' range=':= _default_ * mtlgAtlarusFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Atlarus is complete. -->

                <!-- End Atlarus Generation -->

                <!-- Finished adding blocks -->

            </IfCondition>
            <!-- Overworld Setup Complete -->





            <!-- Nether Setup Beginning -->

            <IfCondition condition=':= dimension.generator = "HellRandomLevelSource"'>

                <!-- Starting Original "Nether" Block Removal -->

                <IfCondition condition=':= ?blockExists("minecraft:stone")'>
                    <Substitute name='mtlgNetherBlockSubstitute0' block='minecraft:stone'>
                        <Description>
                            Replace vanilla-generated ore clusters.
                        </Description>
                        <Comment>
                            The global option  deferredPopulationRange
                            must be large  enough to catch all ore
                            clusters (>=  32).
                        </Comment>
                        <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore")'> <Replaces block='Metallurgy:nether.ore' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:1")'> <Replaces block='Metallurgy:nether.ore:1' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:2")'> <Replaces block='Metallurgy:nether.ore:2' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:3")'> <Replaces block='Metallurgy:nether.ore:3' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:4")'> <Replaces block='Metallurgy:nether.ore:4' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:5")'> <Replaces block='Metallurgy:nether.ore:5' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:6")'> <Replaces block='Metallurgy:nether.ore:6' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:7")'> <Replaces block='Metallurgy:nether.ore:7' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:8")'> <Replaces block='Metallurgy:nether.ore:8' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:9")'> <Replaces block='Metallurgy:nether.ore:9' weight='1.0' /> </IfCondition>
                    </Substitute>
                </IfCondition>

                <!-- Original "Nether" Block Removal Complete -->

                <!-- Adding blocks -->

                <!-- Begin Ignatius Generation -->

                <!-- Starting LayeredVeins Preset for Ignatius. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgIgnatiusDist = "LayeredVeins"'>
                        <Veins name='mtlgIgnatiusVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60EE810A' drawBoundBox='false' boundBoxColor='0x60EE810A'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore")'> <OreBlock block='Metallurgy:nether.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 1.300 * _default_ * mtlgIgnatiusFreq ' range=':= 1.300 * _default_ * mtlgIgnatiusFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 1.045 * _default_ * mtlgIgnatiusSize ' range=':= 1.045 * _default_ * mtlgIgnatiusSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 1.140 * _default_ ' range=':= 1.140 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgIgnatiusSize ' range=':= _default_ * mtlgIgnatiusSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.068 * _default_ * mtlgIgnatiusSize ' range=':= 1.068 * _default_ * mtlgIgnatiusSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Ignatius is complete. -->


                <!-- Starting Cloud Preset for Ignatius. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgIgnatiusDist = "Cloud"'>
                        <Cloud name='mtlgIgnatiusCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60EE810A' drawBoundBox='false' boundBoxColor='0x60EE810A'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore")'> <OreBlock block='Metallurgy:nether.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 1.067 * _default_ * mtlgIgnatiusSize ' range=':= 1.067 * _default_ * mtlgIgnatiusSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 1.067 * _default_ * mtlgIgnatiusSize ' range=':= 1.067 * _default_ * mtlgIgnatiusSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 1.138 * _default_ * mtlgIgnatiusFreq ' range=':= 1.138 * _default_ * mtlgIgnatiusFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgIgnatiusHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60EE810A' drawBoundBox='false' boundBoxColor='0x60EE810A'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore")'> <OreBlock block='Metallurgy:nether.ore' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Ignatius is complete. -->


                <!-- Starting Vanilla Preset for Ignatius. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgIgnatiusDist = "Vanilla"'>
                        <StandardGen name='mtlgIgnatiusStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60EE810A' drawBoundBox='false' boundBoxColor='0x60EE810A'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore")'> <OreBlock block='Metallurgy:nether.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 6.000 * mtlgIgnatiusSize ' range=':= _default_ * mtlgIgnatiusSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 9.000 * mtlgIgnatiusFreq ' range=':= _default_ * mtlgIgnatiusFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Ignatius is complete. -->

                <!-- End Ignatius Generation -->


                <!-- Begin Shadow Iron Generation -->

                <!-- Starting LayeredVeins Preset for Shadow Iron. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgShadowIronDist = "LayeredVeins"'>
                        <Veins name='mtlgShadowIronVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60634C3F' drawBoundBox='false' boundBoxColor='0x60634C3F'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:1")'> <OreBlock block='Metallurgy:nether.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 1.147 * _default_ * mtlgShadowIronFreq ' range=':= 1.147 * _default_ * mtlgShadowIronFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 1.023 * _default_ * mtlgShadowIronSize ' range=':= 1.023 * _default_ * mtlgShadowIronSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 1.071 * _default_ ' range=':= 1.071 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgShadowIronSize ' range=':= _default_ * mtlgShadowIronSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.035 * _default_ * mtlgShadowIronSize ' range=':= 1.035 * _default_ * mtlgShadowIronSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Shadow Iron is complete. -->


                <!-- Starting Cloud Preset for Shadow Iron. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgShadowIronDist = "Cloud"'>
                        <Cloud name='mtlgShadowIronCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60634C3F' drawBoundBox='false' boundBoxColor='0x60634C3F'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:1")'> <OreBlock block='Metallurgy:nether.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 1.002 * _default_ * mtlgShadowIronSize ' range=':= 1.002 * _default_ * mtlgShadowIronSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 1.002 * _default_ * mtlgShadowIronSize ' range=':= 1.002 * _default_ * mtlgShadowIronSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 1.003 * _default_ * mtlgShadowIronFreq ' range=':= 1.003 * _default_ * mtlgShadowIronFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgShadowIronHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60634C3F' drawBoundBox='false' boundBoxColor='0x60634C3F'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:1")'> <OreBlock block='Metallurgy:nether.ore:1' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Shadow Iron is complete. -->


                <!-- Starting Vanilla Preset for Shadow Iron. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgShadowIronDist = "Vanilla"'>
                        <StandardGen name='mtlgShadowIronStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60634C3F' drawBoundBox='false' boundBoxColor='0x60634C3F'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:1")'> <OreBlock block='Metallurgy:nether.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 6.000 * mtlgShadowIronSize ' range=':= _default_ * mtlgShadowIronSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 7.000 * mtlgShadowIronFreq ' range=':= _default_ * mtlgShadowIronFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Shadow Iron is complete. -->

                <!-- End Shadow Iron Generation -->


                <!-- Begin Lemurite Generation -->

                <!-- Starting LayeredVeins Preset for Lemurite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgLemuriteDist = "LayeredVeins"'>
                        <Veins name='mtlgLemuriteVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60B1B1B4' drawBoundBox='false' boundBoxColor='0x60B1B1B4'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:2")'> <OreBlock block='Metallurgy:nether.ore:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 1.062 * _default_ * mtlgLemuriteFreq ' range=':= 1.062 * _default_ * mtlgLemuriteFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 1.010 * _default_ * mtlgLemuriteSize ' range=':= 1.010 * _default_ * mtlgLemuriteSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 1.030 * _default_ ' range=':= 1.030 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgLemuriteSize ' range=':= _default_ * mtlgLemuriteSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.015 * _default_ * mtlgLemuriteSize ' range=':= 1.015 * _default_ * mtlgLemuriteSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Lemurite is complete. -->


                <!-- Starting Cloud Preset for Lemurite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgLemuriteDist = "Cloud"'>
                        <Cloud name='mtlgLemuriteCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60B1B1B4' drawBoundBox='false' boundBoxColor='0x60B1B1B4'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:2")'> <OreBlock block='Metallurgy:nether.ore:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.964 * _default_ * mtlgLemuriteSize ' range=':= 0.964 * _default_ * mtlgLemuriteSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.964 * _default_ * mtlgLemuriteSize ' range=':= 0.964 * _default_ * mtlgLemuriteSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.929 * _default_ * mtlgLemuriteFreq ' range=':= 0.929 * _default_ * mtlgLemuriteFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgLemuriteHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60B1B1B4' drawBoundBox='false' boundBoxColor='0x60B1B1B4'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:2")'> <OreBlock block='Metallurgy:nether.ore:2' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Lemurite is complete. -->


                <!-- Starting Vanilla Preset for Lemurite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgLemuriteDist = "Vanilla"'>
                        <StandardGen name='mtlgLemuriteStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60B1B1B4' drawBoundBox='false' boundBoxColor='0x60B1B1B4'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:2")'> <OreBlock block='Metallurgy:nether.ore:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 6.000 * mtlgLemuriteSize ' range=':= _default_ * mtlgLemuriteSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 6.000 * mtlgLemuriteFreq ' range=':= _default_ * mtlgLemuriteFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Lemurite is complete. -->

                <!-- End Lemurite Generation -->


                <!-- Begin Midasium Generation -->

                <!-- Starting LayeredVeins Preset for Midasium. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgMidasiumDist = "LayeredVeins"'>
                        <Veins name='mtlgMidasiumVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60F6B237' drawBoundBox='false' boundBoxColor='0x60F6B237'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:3")'> <OreBlock block='Metallurgy:nether.ore:3' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.969 * _default_ * mtlgMidasiumFreq ' range=':= 0.969 * _default_ * mtlgMidasiumFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.995 * _default_ * mtlgMidasiumSize ' range=':= 0.995 * _default_ * mtlgMidasiumSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.984 * _default_ ' range=':= 0.984 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgMidasiumSize ' range=':= _default_ * mtlgMidasiumSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.992 * _default_ * mtlgMidasiumSize ' range=':= 0.992 * _default_ * mtlgMidasiumSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Midasium is complete. -->


                <!-- Starting Cloud Preset for Midasium. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgMidasiumDist = "Cloud"'>
                        <Cloud name='mtlgMidasiumCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60F6B237' drawBoundBox='false' boundBoxColor='0x60F6B237'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:3")'> <OreBlock block='Metallurgy:nether.ore:3' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.921 * _default_ * mtlgMidasiumSize ' range=':= 0.921 * _default_ * mtlgMidasiumSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.921 * _default_ * mtlgMidasiumSize ' range=':= 0.921 * _default_ * mtlgMidasiumSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.848 * _default_ * mtlgMidasiumFreq ' range=':= 0.848 * _default_ * mtlgMidasiumFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgMidasiumHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60F6B237' drawBoundBox='false' boundBoxColor='0x60F6B237'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:3")'> <OreBlock block='Metallurgy:nether.ore:3' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Midasium is complete. -->


                <!-- Starting Vanilla Preset for Midasium. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgMidasiumDist = "Vanilla"'>
                        <StandardGen name='mtlgMidasiumStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60F6B237' drawBoundBox='false' boundBoxColor='0x60F6B237'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:3")'> <OreBlock block='Metallurgy:nether.ore:3' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 6.000 * mtlgMidasiumSize ' range=':= _default_ * mtlgMidasiumSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 5.000 * mtlgMidasiumFreq ' range=':= _default_ * mtlgMidasiumFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Midasium is complete. -->

                <!-- End Midasium Generation -->


                <!-- Begin Vyroxeres Generation -->

                <!-- Starting LayeredVeins Preset for Vyroxeres. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgVyroxeresDist = "LayeredVeins"'>
                        <Veins name='mtlgVyroxeresVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x6057D411' drawBoundBox='false' boundBoxColor='0x6057D411'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:4")'> <OreBlock block='Metallurgy:nether.ore:4' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.936 * _default_ * mtlgVyroxeresFreq ' range=':= 0.936 * _default_ * mtlgVyroxeresFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.989 * _default_ * mtlgVyroxeresSize ' range=':= 0.989 * _default_ * mtlgVyroxeresSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.968 * _default_ ' range=':= 0.968 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgVyroxeresSize ' range=':= _default_ * mtlgVyroxeresSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.984 * _default_ * mtlgVyroxeresSize ' range=':= 0.984 * _default_ * mtlgVyroxeresSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Vyroxeres is complete. -->


                <!-- Starting Cloud Preset for Vyroxeres. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgVyroxeresDist = "Cloud"'>
                        <Cloud name='mtlgVyroxeresCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x6057D411' drawBoundBox='false' boundBoxColor='0x6057D411'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:4")'> <OreBlock block='Metallurgy:nether.ore:4' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.905 * _default_ * mtlgVyroxeresSize ' range=':= 0.905 * _default_ * mtlgVyroxeresSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.905 * _default_ * mtlgVyroxeresSize ' range=':= 0.905 * _default_ * mtlgVyroxeresSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.819 * _default_ * mtlgVyroxeresFreq ' range=':= 0.819 * _default_ * mtlgVyroxeresFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgVyroxeresHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x6057D411' drawBoundBox='false' boundBoxColor='0x6057D411'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:4")'> <OreBlock block='Metallurgy:nether.ore:4' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Vyroxeres is complete. -->


                <!-- Starting Vanilla Preset for Vyroxeres. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgVyroxeresDist = "Vanilla"'>
                        <StandardGen name='mtlgVyroxeresStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x6057D411' drawBoundBox='false' boundBoxColor='0x6057D411'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:4")'> <OreBlock block='Metallurgy:nether.ore:4' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 7.000 * mtlgVyroxeresSize ' range=':= _default_ * mtlgVyroxeresSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 4.000 * mtlgVyroxeresFreq ' range=':= _default_ * mtlgVyroxeresFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Vyroxeres is complete. -->

                <!-- End Vyroxeres Generation -->


                <!-- Begin Ceruclase Generation -->

                <!-- Starting LayeredVeins Preset for Ceruclase. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgCeruclaseDist = "LayeredVeins"'>
                        <Veins name='mtlgCeruclaseVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x603F869C' drawBoundBox='false' boundBoxColor='0x603F869C'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:5")'> <OreBlock block='Metallurgy:nether.ore:5' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.708 * _default_ * mtlgCeruclaseFreq ' range=':= 0.708 * _default_ * mtlgCeruclaseFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.944 * _default_ * mtlgCeruclaseSize ' range=':= 0.944 * _default_ * mtlgCeruclaseSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.841 * _default_ ' range=':= 0.841 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgCeruclaseSize ' range=':= _default_ * mtlgCeruclaseSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.917 * _default_ * mtlgCeruclaseSize ' range=':= 0.917 * _default_ * mtlgCeruclaseSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Ceruclase is complete. -->


                <!-- Starting Cloud Preset for Ceruclase. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgCeruclaseDist = "Cloud"'>
                        <Cloud name='mtlgCeruclaseCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x603F869C' drawBoundBox='false' boundBoxColor='0x603F869C'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:5")'> <OreBlock block='Metallurgy:nether.ore:5' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.787 * _default_ * mtlgCeruclaseSize ' range=':= 0.787 * _default_ * mtlgCeruclaseSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.787 * _default_ * mtlgCeruclaseSize ' range=':= 0.787 * _default_ * mtlgCeruclaseSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.619 * _default_ * mtlgCeruclaseFreq ' range=':= 0.619 * _default_ * mtlgCeruclaseFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgCeruclaseHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x603F869C' drawBoundBox='false' boundBoxColor='0x603F869C'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:5")'> <OreBlock block='Metallurgy:nether.ore:5' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Ceruclase is complete. -->


                <!-- Starting Vanilla Preset for Ceruclase. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgCeruclaseDist = "Vanilla"'>
                        <StandardGen name='mtlgCeruclaseStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x603F869C' drawBoundBox='false' boundBoxColor='0x603F869C'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:5")'> <OreBlock block='Metallurgy:nether.ore:5' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 4.000 * mtlgCeruclaseSize ' range=':= _default_ * mtlgCeruclaseSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 4.000 * mtlgCeruclaseFreq ' range=':= _default_ * mtlgCeruclaseFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Ceruclase is complete. -->

                <!-- End Ceruclase Generation -->


                <!-- Begin Alduorite Generation -->

                <!-- Starting LayeredVeins Preset for Alduorite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgAlduoriteDist = "LayeredVeins"'>
                        <Veins name='mtlgAlduoriteVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x609FCED2' drawBoundBox='false' boundBoxColor='0x609FCED2'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:6")'> <OreBlock block='Metallurgy:nether.ore:6' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.613 * _default_ * mtlgAlduoriteFreq ' range=':= 0.613 * _default_ * mtlgAlduoriteFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.922 * _default_ * mtlgAlduoriteSize ' range=':= 0.922 * _default_ * mtlgAlduoriteSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.783 * _default_ ' range=':= 0.783 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgAlduoriteSize ' range=':= _default_ * mtlgAlduoriteSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.885 * _default_ * mtlgAlduoriteSize ' range=':= 0.885 * _default_ * mtlgAlduoriteSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Alduorite is complete. -->


                <!-- Starting Cloud Preset for Alduorite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgAlduoriteDist = "Cloud"'>
                        <Cloud name='mtlgAlduoriteCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x609FCED2' drawBoundBox='false' boundBoxColor='0x609FCED2'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:6")'> <OreBlock block='Metallurgy:nether.ore:6' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.732 * _default_ * mtlgAlduoriteSize ' range=':= 0.732 * _default_ * mtlgAlduoriteSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.732 * _default_ * mtlgAlduoriteSize ' range=':= 0.732 * _default_ * mtlgAlduoriteSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.536 * _default_ * mtlgAlduoriteFreq ' range=':= 0.536 * _default_ * mtlgAlduoriteFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgAlduoriteHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x609FCED2' drawBoundBox='false' boundBoxColor='0x609FCED2'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:6")'> <OreBlock block='Metallurgy:nether.ore:6' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Alduorite is complete. -->


                <!-- Starting Vanilla Preset for Alduorite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgAlduoriteDist = "Vanilla"'>
                        <StandardGen name='mtlgAlduoriteStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x609FCED2' drawBoundBox='false' boundBoxColor='0x609FCED2'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:6")'> <OreBlock block='Metallurgy:nether.ore:6' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 4.000 * mtlgAlduoriteSize ' range=':= _default_ * mtlgAlduoriteSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 3.000 * mtlgAlduoriteFreq ' range=':= _default_ * mtlgAlduoriteFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Alduorite is complete. -->

                <!-- End Alduorite Generation -->


                <!-- Begin Kalendrite Generation -->

                <!-- Starting LayeredVeins Preset for Kalendrite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgKalendriteDist = "LayeredVeins"'>
                        <Veins name='mtlgKalendriteVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60AB6AB9' drawBoundBox='false' boundBoxColor='0x60AB6AB9'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:7")'> <OreBlock block='Metallurgy:nether.ore:7' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.613 * _default_ * mtlgKalendriteFreq ' range=':= 0.613 * _default_ * mtlgKalendriteFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.922 * _default_ * mtlgKalendriteSize ' range=':= 0.922 * _default_ * mtlgKalendriteSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.783 * _default_ ' range=':= 0.783 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgKalendriteSize ' range=':= _default_ * mtlgKalendriteSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.885 * _default_ * mtlgKalendriteSize ' range=':= 0.885 * _default_ * mtlgKalendriteSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Kalendrite is complete. -->


                <!-- Starting Cloud Preset for Kalendrite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgKalendriteDist = "Cloud"'>
                        <Cloud name='mtlgKalendriteCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60AB6AB9' drawBoundBox='false' boundBoxColor='0x60AB6AB9'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:7")'> <OreBlock block='Metallurgy:nether.ore:7' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.732 * _default_ * mtlgKalendriteSize ' range=':= 0.732 * _default_ * mtlgKalendriteSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.732 * _default_ * mtlgKalendriteSize ' range=':= 0.732 * _default_ * mtlgKalendriteSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.536 * _default_ * mtlgKalendriteFreq ' range=':= 0.536 * _default_ * mtlgKalendriteFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgKalendriteHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60AB6AB9' drawBoundBox='false' boundBoxColor='0x60AB6AB9'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:7")'> <OreBlock block='Metallurgy:nether.ore:7' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Kalendrite is complete. -->


                <!-- Starting Vanilla Preset for Kalendrite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgKalendriteDist = "Vanilla"'>
                        <StandardGen name='mtlgKalendriteStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60AB6AB9' drawBoundBox='false' boundBoxColor='0x60AB6AB9'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:7")'> <OreBlock block='Metallurgy:nether.ore:7' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 4.000 * mtlgKalendriteSize ' range=':= _default_ * mtlgKalendriteSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 3.000 * mtlgKalendriteFreq ' range=':= _default_ * mtlgKalendriteFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Kalendrite is complete. -->

                <!-- End Kalendrite Generation -->


                <!-- Begin Vulcanite Generation -->

                <!-- Starting LayeredVeins Preset for Vulcanite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgVulcaniteDist = "LayeredVeins"'>
                        <Veins name='mtlgVulcaniteVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60E66922' drawBoundBox='false' boundBoxColor='0x60E66922'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:8")'> <OreBlock block='Metallurgy:nether.ore:8' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.433 * _default_ * mtlgVulcaniteFreq ' range=':= 0.433 * _default_ * mtlgVulcaniteFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.870 * _default_ * mtlgVulcaniteSize ' range=':= 0.870 * _default_ * mtlgVulcaniteSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.658 * _default_ ' range=':= 0.658 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgVulcaniteSize ' range=':= _default_ * mtlgVulcaniteSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.811 * _default_ * mtlgVulcaniteSize ' range=':= 0.811 * _default_ * mtlgVulcaniteSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Vulcanite is complete. -->


                <!-- Starting Cloud Preset for Vulcanite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgVulcaniteDist = "Cloud"'>
                        <Cloud name='mtlgVulcaniteCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60E66922' drawBoundBox='false' boundBoxColor='0x60E66922'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:8")'> <OreBlock block='Metallurgy:nether.ore:8' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.616 * _default_ * mtlgVulcaniteSize ' range=':= 0.616 * _default_ * mtlgVulcaniteSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.616 * _default_ * mtlgVulcaniteSize ' range=':= 0.616 * _default_ * mtlgVulcaniteSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.379 * _default_ * mtlgVulcaniteFreq ' range=':= 0.379 * _default_ * mtlgVulcaniteFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgVulcaniteHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60E66922' drawBoundBox='false' boundBoxColor='0x60E66922'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:8")'> <OreBlock block='Metallurgy:nether.ore:8' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Vulcanite is complete. -->


                <!-- Starting Vanilla Preset for Vulcanite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgVulcaniteDist = "Vanilla"'>
                        <StandardGen name='mtlgVulcaniteStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60E66922' drawBoundBox='false' boundBoxColor='0x60E66922'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:8")'> <OreBlock block='Metallurgy:nether.ore:8' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 3.000 * mtlgVulcaniteSize ' range=':= _default_ * mtlgVulcaniteSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 2.000 * mtlgVulcaniteFreq ' range=':= _default_ * mtlgVulcaniteFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Vulcanite is complete. -->

                <!-- End Vulcanite Generation -->


                <!-- Begin Sanguinite Generation -->

                <!-- Starting LayeredVeins Preset for Sanguinite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgSanguiniteDist = "LayeredVeins"'>
                        <Veins name='mtlgSanguiniteVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60C30506' drawBoundBox='false' boundBoxColor='0x60C30506'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:9")'> <OreBlock block='Metallurgy:nether.ore:9' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.433 * _default_ * mtlgSanguiniteFreq ' range=':= 0.433 * _default_ * mtlgSanguiniteFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.870 * _default_ * mtlgSanguiniteSize ' range=':= 0.870 * _default_ * mtlgSanguiniteSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.658 * _default_ ' range=':= 0.658 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgSanguiniteSize ' range=':= _default_ * mtlgSanguiniteSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.811 * _default_ * mtlgSanguiniteSize ' range=':= 0.811 * _default_ * mtlgSanguiniteSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Sanguinite is complete. -->


                <!-- Starting Cloud Preset for Sanguinite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgSanguiniteDist = "Cloud"'>
                        <Cloud name='mtlgSanguiniteCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60C30506' drawBoundBox='false' boundBoxColor='0x60C30506'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:9")'> <OreBlock block='Metallurgy:nether.ore:9' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.616 * _default_ * mtlgSanguiniteSize ' range=':= 0.616 * _default_ * mtlgSanguiniteSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.616 * _default_ * mtlgSanguiniteSize ' range=':= 0.616 * _default_ * mtlgSanguiniteSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.379 * _default_ * mtlgSanguiniteFreq ' range=':= 0.379 * _default_ * mtlgSanguiniteFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgSanguiniteHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60C30506' drawBoundBox='false' boundBoxColor='0x60C30506'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:9")'> <OreBlock block='Metallurgy:nether.ore:9' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Sanguinite is complete. -->


                <!-- Starting Vanilla Preset for Sanguinite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgSanguiniteDist = "Vanilla"'>
                        <StandardGen name='mtlgSanguiniteStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60C30506' drawBoundBox='false' boundBoxColor='0x60C30506'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:nether.ore:9")'> <OreBlock block='Metallurgy:nether.ore:9' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 3.000 * mtlgSanguiniteSize ' range=':= _default_ * mtlgSanguiniteSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 2.000 * mtlgSanguiniteFreq ' range=':= _default_ * mtlgSanguiniteFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Sanguinite is complete. -->

                <!-- End Sanguinite Generation -->

                <!-- Finished adding blocks -->

            </IfCondition>
            <!-- Nether Setup Complete -->





            <!-- End Setup Beginning -->

            <IfCondition condition=':= dimension.generator = "EndRandomLevelSource"'>

                <!-- Starting Original "End" Block Removal -->

                <IfCondition condition=':= ?blockExists("minecraft:stone")'>
                    <Substitute name='mtlgEndBlockSubstitute0' block='minecraft:stone'>
                        <Description>
                            Replace vanilla-generated ore clusters.
                        </Description>
                        <Comment>
                            The global option  deferredPopulationRange
                            must be large  enough to catch all ore
                            clusters (>=  32).
                        </Comment>
                        <IfCondition condition=':= ?blockExists("Metallurgy:ender.ore")'> <Replaces block='Metallurgy:ender.ore' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("Metallurgy:ender.ore:1")'> <Replaces block='Metallurgy:ender.ore:1' weight='1.0' /> </IfCondition>
                    </Substitute>
                </IfCondition>

                <!-- Original "End" Block Removal Complete -->

                <!-- Adding blocks -->

                <!-- Begin Eximite Generation -->

                <!-- Starting LayeredVeins Preset for Eximite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgEximiteDist = "LayeredVeins"'>
                        <Veins name='mtlgEximiteVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x607B5994' drawBoundBox='false' boundBoxColor='0x607B5994'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:ender.ore")'> <OreBlock block='Metallurgy:ender.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.867 * _default_ * mtlgEximiteFreq ' range=':= 0.867 * _default_ * mtlgEximiteFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.976 * _default_ * mtlgEximiteSize ' range=':= 0.976 * _default_ * mtlgEximiteSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.931 * _default_ ' range=':= 0.931 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgEximiteSize ' range=':= _default_ * mtlgEximiteSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.965 * _default_ * mtlgEximiteSize ' range=':= 0.965 * _default_ * mtlgEximiteSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Eximite is complete. -->


                <!-- Starting Cloud Preset for Eximite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgEximiteDist = "Cloud"'>
                        <Cloud name='mtlgEximiteCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x607B5994' drawBoundBox='false' boundBoxColor='0x607B5994'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:ender.ore")'> <OreBlock block='Metallurgy:ender.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.871 * _default_ * mtlgEximiteSize ' range=':= 0.871 * _default_ * mtlgEximiteSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.871 * _default_ * mtlgEximiteSize ' range=':= 0.871 * _default_ * mtlgEximiteSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.758 * _default_ * mtlgEximiteFreq ' range=':= 0.758 * _default_ * mtlgEximiteFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgEximiteHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x607B5994' drawBoundBox='false' boundBoxColor='0x607B5994'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:ender.ore")'> <OreBlock block='Metallurgy:ender.ore' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Eximite is complete. -->


                <!-- Starting Vanilla Preset for Eximite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgEximiteDist = "Vanilla"'>
                        <StandardGen name='mtlgEximiteStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x607B5994' drawBoundBox='false' boundBoxColor='0x607B5994'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:ender.ore")'> <OreBlock block='Metallurgy:ender.ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 4.000 * mtlgEximiteSize ' range=':= _default_ * mtlgEximiteSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 6.000 * mtlgEximiteFreq ' range=':= _default_ * mtlgEximiteFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Eximite is complete. -->

                <!-- End Eximite Generation -->


                <!-- Begin Meutoite Generation -->

                <!-- Starting LayeredVeins Preset for Meutoite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgMeutoiteDist = "LayeredVeins"'>
                        <Veins name='mtlgMeutoiteVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x605E5168' drawBoundBox='false' boundBoxColor='0x605E5168'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:ender.ore:1")'> <OreBlock block='Metallurgy:ender.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.531 * _default_ * mtlgMeutoiteFreq ' range=':= 0.531 * _default_ * mtlgMeutoiteFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.900 * _default_ * mtlgMeutoiteSize ' range=':= 0.900 * _default_ * mtlgMeutoiteSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.729 * _default_ ' range=':= 0.729 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * mtlgMeutoiteSize ' range=':= _default_ * mtlgMeutoiteSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.854 * _default_ * mtlgMeutoiteSize ' range=':= 0.854 * _default_ * mtlgMeutoiteSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Meutoite is complete. -->


                <!-- Starting Cloud Preset for Meutoite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgMeutoiteDist = "Cloud"'>
                        <Cloud name='mtlgMeutoiteCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x605E5168' drawBoundBox='false' boundBoxColor='0x605E5168'>
                            <Description>
                                Large irregular clouds filled  lightly
                                with ore.  These are  huge, spanning
                                several adjacent  chunks, and
                                consequently rather  rare.  They
                                contain a sizeable  amount of ore, but
                                it takes some  time and effort to mine
                                due to  low density. The intent for
                                strategic clouds is that the  player
                                will need to actively  search for one
                                and then set up a  semi-permanent
                                mining base and  spend some time
                                actually mining  the ore.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:ender.ore:1")'> <OreBlock block='Metallurgy:ender.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.682 * _default_ * mtlgMeutoiteSize ' range=':= 0.682 * _default_ * mtlgMeutoiteSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.682 * _default_ * mtlgMeutoiteSize ' range=':= 0.682 * _default_ * mtlgMeutoiteSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.464 * _default_ * mtlgMeutoiteFreq ' range=':= 0.464 * _default_ * mtlgMeutoiteFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='mtlgMeutoiteHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x605E5168' drawBoundBox='false' boundBoxColor='0x605E5168'>
                                <Description>
                                    Single blocks, generously
                                    scattered through all heights
                                    (density is about that of  vanilla
                                    iron ore). They will  replace dirt
                                    and sandstone  (but not grass or
                                    sand), so  they can be found
                                    nearer to  the surface than most
                                    ores.  Intened to be used as a
                                    child  distribution for large,
                                    rare  strategic deposits that
                                    would  otherwise be very difficult
                                    to find.  Note that the  frequency
                                    is multiplied by  ground level to
                                    maintain a  constant density, but
                                    not by  ore frequency because it
                                    is  assumed that the frequency of
                                    the parent distribution will
                                    already be scaled by that.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Metallurgy:ender.ore:1")'> <OreBlock block='Metallurgy:ender.ore:1' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Meutoite is complete. -->


                <!-- Starting Vanilla Preset for Meutoite. -->
                <ConfigSection>
                    <IfCondition condition=':= mtlgMeutoiteDist = "Vanilla"'>
                        <StandardGen name='mtlgMeutoiteStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x605E5168' drawBoundBox='false' boundBoxColor='0x605E5168'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Metallurgy:ender.ore:1")'> <OreBlock block='Metallurgy:ender.ore:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 3.000 * mtlgMeutoiteSize ' range=':= _default_ * mtlgMeutoiteSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 3.000 * mtlgMeutoiteFreq ' range=':= _default_ * mtlgMeutoiteFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Meutoite is complete. -->

                <!-- End Meutoite Generation -->

                <!-- Finished adding blocks -->

            </IfCondition>
            <!-- End Setup Complete -->

        </IfCondition>

    </ConfigSection>
    <!-- Configuration for Custom Ore Generation Complete! -->

</IfModInstalled>
<!-- The "Metallurgy 4" mod is now configured. -->





<!-- =================================================================
     This file was made using the Sprocket Configuration Generator.
     If you wish to make your own configurations for a mod not
     currently supported by Custom Ore Generation, and you don't want
     the hassle of writing XML, you can find the generator script at
     its GitHub page: http://https://github.com/reteo/Sprocket
     ================================================================= -->
