     <!--************************  CustomOreGen metallurgy Ores Module *********************************
     *
     *   This file contains Presets, Options, and Distributions for the 6 Metallurgy ore types:
     *       Utility, Common, Precious, Fantasy, Nether, and End.
     *
     ***********************************************************************************************-->

<IfModInstalled name='Metallurgy'>
  
<ConfigSection>     
     <!--***************************   Options + Symbols   ***********************************
     *
     *   Below are options for the Utility, Common, Precious, Fantasy, Nether, and End ore groups.
     *   Each ore group has a "type" option corresponding to select which distribution is used
     *   for that ore group in the overworld.
     *
     *   Each ore group also has its own overall "frequency" and "size" multipliers.  These are 
     *   provided so people can tweak the rarity of each ore from the options file rather 
     *   than having to edit the config directly.
     *   
     *   Each ore in the group is individually configured with its own values, based on the
     *   overall ore group settings.  Each ore is also given its own Mystcraft symbol.
     *
     *************************************************************************************-->

     <ConfigSection>
     
         <OptionDisplayGroup name='groupMetallurgy' displayName='Metallurgy' displayState='shown'>
             <Description> 
                 Distribution options for Metallurgy 4 Ore Groups.
             </Description>
         </OptionDisplayGroup>
     
         <!--*******************   Utility Ores  ***********************
         *   
         *   Utility ores include phosphorous, sulphur, saltpeter, 
         *   magnesium, bitumen, and potash.
         *   
         ************************************************************-->
     
         <ConfigSection>
     
             <!-- OptionChoice: Configure Choice-Button GUI Options -->
             <OptionChoice name='utilityoreDist' default='layeredVeins' displayState='shown' displayGroup='groupMetallurgy'>
                 <Description>Controls how Utility Ores are generated</Description>
                 <DisplayName>Utility Ore Type</DisplayName>
                 <Choice value='layeredVeins' displayValue='Veins'>
                     <Description> 
                         Veins of Ore leading to a Motherlode.  Most realistic placement.
                     </Description>
                 </Choice>
                 <Choice value='strategicClouds' displayValue='Clouds'>
                     <Description> 
                         Rare, sparsely populated clouds of ore extending over several chunks.
                     </Description>
                 </Choice>
                 <Choice value='vanillaStdGen' displayValue='Clusters'>
                     <Description>
                         Small evenly scattered clusters of ore.  This is the default Minecraft placement pattern.
                     </Description>
                 </Choice>
                 <Choice value='none' displayValue='None' description='No utility ores are generated at all.'/>
             </OptionChoice>
     
             <!-- OptionNumeric: Numeric GUI Options, Identified by a slider -->
             <OptionNumeric name='utilityoreFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy'>
                 <Description> Frequency multiplier for Utility Ore distributions </Description>
                 <DisplayName>Utility Freq.</DisplayName>
             </OptionNumeric>
             <OptionNumeric name='utilityoreSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy'>
                 <Description> Size multiplier for utility Ore distributions </Description>
                 <DisplayName>Utility Ore Size</DisplayName>
             </OptionNumeric>
     
             <!-- Minecraft Symbol Configuration for the different ores in the group -->
     
             <!-- Phosphorous -->
             <MystcraftSymbol name='phosphorousClusters' displayName='Phosphorous Clusters'/>
             <MystcraftSymbol name='phosphorousVeins' displayName='Phosphorous Veins'/>
             <MystcraftSymbol name='phosphorousClouds' displayName='Phosphorous Clouds'>
                 <Instability>:= 50 * (age.phosphorousClusters + age.phosphorousVeins + age.phosphorousClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Sulphur -->
             <MystcraftSymbol name='sulphurClusters' displayName='Sulphur Clusters'/>
             <MystcraftSymbol name='sulphurVeins' displayName='Sulphur Veins'/>
             <MystcraftSymbol name='sulphurClouds' displayName='Sulphur Clouds'>
                 <Instability>:= 50 * (age.sulphurClusters + age.sulphurVeins + age.sulphurClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Saltpeter -->
             <MystcraftSymbol name='saltpeterClusters' displayName='Saltpeter Clusters'/>
             <MystcraftSymbol name='saltpeterVeins' displayName='Saltpeter Veins'/>
             <MystcraftSymbol name='saltpeterClouds' displayName='Saltpeter Clouds'>
                 <Instability>:= 50 * (age.saltpeterClusters + age.saltpeterVeins + age.saltpeterClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Magnesium -->
             <MystcraftSymbol name='magnesiumClusters' displayName='Magnesium Clusters'/>
             <MystcraftSymbol name='magnesiumVeins' displayName='Magnesium Veins'/>
             <MystcraftSymbol name='magnesiumClouds' displayName='Magnesium Clouds'>
                 <Instability>:= 50 * (age.magnesiumClusters + age.magnesiumVeins + age.magnesiumClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Bitumen -->
             <MystcraftSymbol name='bitumenClusters' displayName='Bitumen Clusters'/>
             <MystcraftSymbol name='bitumenVeins' displayName='Bitumen Veins'/>
             <MystcraftSymbol name='bitumenClouds' displayName='Bitumen Clouds'>
                 <Instability>:= 50 * (age.bitumenClusters + age.bitumenVeins + age.bitumenClouds - 1)^3</Instability>
     
             <!-- Potash -->
             </MystcraftSymbol>
             <MystcraftSymbol name='potashClusters' displayName='Potash Clusters'/>
             <MystcraftSymbol name='potashVeins' displayName='Potash Veins'/>
             <MystcraftSymbol name='potashClouds' displayName='Potash Clouds'>
                 <Instability>:= 50 * (age.potashClusters + age.potashVeins + age.potashClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
         </ConfigSection>
     
         <!-- ******************* End of Utility Ores ***********************-->
     
         <!--*******************   Base Ores   ***********************
         *   
         *   Base ores include tin, copper, and manganese.
         *   
         **********************************************************-->
     
         <ConfigSection>
     
             <!-- OptionChoice: Configure Choice-Button GUI Options -->
             <OptionChoice name='baseDist' default='layeredVeins' displayState='shown' displayGroup='groupMetallurgy'>
                 <Description>Controls how Base Ores are generated</Description>
                 <DisplayName>Base Ore Type</DisplayName>
                 <Choice value='layeredVeins' displayValue='Veins'>
                     <Description> 
                         Veins of Ore leading to a Motherlode.  Most realistic placement.
                     </Description>
                 </Choice>
                 <Choice value='strategicClouds' displayValue='Clouds'>
                     <Description> 
                         Rare, sparsely populated clouds of ore extending over several chunks.
                     </Description>
                 </Choice>
                 <Choice value='vanillaStdGen' displayValue='Clusters'>
                     <Description>
                         Small evenly scattered clusters of ore.  This is the default Minecraft placement pattern.
                     </Description>
                 </Choice>
                 <Choice value='none' displayValue='None' description='No base ores are generated at all.'/>
             </OptionChoice>
     
             <!-- OptionNumeric: Numeric GUI Options, Identified by a slider -->
             <OptionNumeric name='baseFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy'>
                 <Description> Frequency multiplier for Utility Ore distributions </Description>
                 <DisplayName>Base Ore Freq.</DisplayName>
             </OptionNumeric>
             <OptionNumeric name='baseSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy'>
                 <Description> Size multiplier for utility Ore distributions </Description>
                 <DisplayName>Base Ore Size</DisplayName>
             </OptionNumeric>
     
             <!-- Minecraft Symbol Configuration for the different ores in the group -->
     
             <!-- Tin -->
             <MystcraftSymbol name='m3tinClusters' displayName='Tin Clusters'/>
             <MystcraftSymbol name='m3tinVeins' displayName='Tin Veins'/>
             <MystcraftSymbol name='m3tinClouds' displayName='Tin Clouds'>
                 <Instability>:= 50 * (age.m3tinClusters + age.m3tinVeins + age.m3tinClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Copper -->
             <MystcraftSymbol name='m3copperClusters' displayName='Copper Clusters'/>
             <MystcraftSymbol name='m3copperveins' displayName='Copper Veins'/>
             <MystcraftSymbol name='m3copperclouds' displayName='Copper Clouds'>
                 <Instability>:= 50 * (age.m3copperClusters + age.m3copperveins + age.m3copperclouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Manganese -->
             <MystcraftSymbol name='manganeseClusters' displayName='Manganese Clusters'/>
             <MystcraftSymbol name='manganeseVeins' displayName='Manganese Veins'/>
             <MystcraftSymbol name='manganeseClouds' displayName='Manganese Clouds'>
                 <Instability>:= 50 * (age.manganeseClusters + age.manganeseVeins + age.manganeseClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
         </ConfigSection>
     
         <!-- ******************* End of Base Ores ***********************-->
     
         <!--*******************   Precious Ores   ***********************
         *   
         *   Precious Ores include Zinc, Silver, and Platinum.  Gold is
         *   technically also a precious ore, but it is handled by the
         *   vanilla Minecraft settings. 
         *   
         **********************************************************-->
     
         <ConfigSection>
     
             <!-- OptionChoice: Configure Choice-Button GUI Options -->
             <OptionChoice name='preciousDist' default='layeredVeins' displayState='shown' displayGroup='groupMetallurgy'>
                 <Description>Controls how Precious Ores are generated</Description>
                 <DisplayName>Precious Ore Type</DisplayName>
                 <Choice value='layeredVeins' displayValue='Veins'>
                     <Description> 
                         Veins of Ore leading to a Motherlode.  Most realistic placement.
                     </Description>
                 </Choice>
                 <Choice value='strategicClouds' displayValue='Clouds'>
                     <Description> 
                         Rare, sparsely populated clouds of ore extending over several chunks.
                     </Description>
                 </Choice>
                 <Choice value='vanillaStdGen' displayValue='Clusters'>
                     <Description>
                         Small evenly scattered clusters of ore.
                     </Description>
                 </Choice>
                 <Choice value='none' displayValue='None' description='No precious ores are generated at all.'/>
             </OptionChoice>
     
             <!-- OptionNumeric: Numeric GUI Options, Identified by a slider -->
             <OptionNumeric name='preciousFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy'>
                 <Description> Frequency multiplier for precious ore distributions </Description>
                 <DisplayName>Precious Ore Freq.</DisplayName>
             </OptionNumeric>
             <OptionNumeric name='preciousSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy'>
                 <Description> Size multiplier for precious ore distributions </Description>
                 <DisplayName>Precious Ore Size</DisplayName>
             </OptionNumeric>
     
             <!-- Minecraft Symbol Configuration for the different ores in the group -->
     
             <!-- Zinc -->
             <MystcraftSymbol name='zincClusters' displayName='Zinc Clusters'/>
             <MystcraftSymbol name='zincVeins' displayName='Zinc Veins'/>
             <MystcraftSymbol name='zincClouds' displayName='Zinc Clouds'>
                 <Instability>:= 50 * (age.zincClusters + age.zincVeins + age.zincClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Silver -->
             <MystcraftSymbol name='m3silverClusters' displayName='Silver Clusters'/>
             <MystcraftSymbol name='m3silverVeins' displayName='Silver Veins'/>
             <MystcraftSymbol name='m3silverClouds' displayName='Silver Clouds'>
                 <Instability>:= 50 * (age.m3silverClusters + age.m3silverVeins + age.m3silverClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Platinum -->
             <MystcraftSymbol name='platinumClusters' displayName='Platinum Clusters'/>
             <MystcraftSymbol name='platinumVeins' displayName='Platinum Veins'/>
             <MystcraftSymbol name='platinumClouds' displayName='Platinum Clouds'>
                 <Instability>:= 50 * (age.platinumClusters + age.platinumVeins + age.platinumClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
         </ConfigSection>
     
         <!-- ******************* End of Precious Ores ***********************-->
     
         <!--*******************   Fantasy Ores   ***********************
         *   
         *   Fantasy Ores include promethium, deep iron, infuscolium,
         *   oureclase, astral silver, carmot, mithril, 
         *   rubracium, orichalcum, adamantine, and atlarus.
         *   
         **********************************************************-->
     
         <ConfigSection>
     
             <!-- OptionChoice: Configure Choice-Button GUI Options -->
             <OptionChoice name='fantasyDist' default='layeredVeins' displayState='shown' displayGroup='groupMetallurgy'>
                 <Description>Controls how Fantasy Ores are generated</Description>
                 <DisplayName>Fantasy Ore Type</DisplayName>
                 <Choice value='layeredVeins' displayValue='Veins'>
                     <Description> 
                         Veins of Ore leading to a Motherlode.  Most realistic placement.
                     </Description>
                 </Choice>
                 <Choice value='strategicClouds' displayValue='Clouds'>
                     <Description> 
                         Rare, sparsely populated clouds of ore extending over several chunks.
                     </Description>
                 </Choice>
                 <Choice value='vanillaStdGen' displayValue='Clusters'>
                     <Description>
                         Small evenly scattered clusters of ore.
                     </Description>
                 </Choice>
                 <Choice value='none' displayValue='None' description='No fantasy ores are generated at all.'/>
             </OptionChoice>
     
             <!-- OptionNumeric: Numeric GUI Options, Identified by a slider -->
             <OptionNumeric name='fantasyFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy'>
                 <Description> Frequency multiplier for fantasy ore distributions </Description>
                 <DisplayName>Fantasy Ore Freq.</DisplayName>
             </OptionNumeric>
             <OptionNumeric name='fantasySize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy'>
                 <Description> Size multiplier for fantasy ore distributions </Description>
                 <DisplayName>Fantasy Ore Size</DisplayName>
             </OptionNumeric>
     
             <!-- Minecraft Symbol Configuration for the different ores in the group -->
     
             <!-- Promethium -->
             <MystcraftSymbol name='promethiumClusters' displayName='Promethium Clusters'/>
             <MystcraftSymbol name='promethiumVeins' displayName='Promethium Veins'/>
             <MystcraftSymbol name='promethiumClouds' displayName='Promethium Clouds'>
                 <Instability>:= 50 * (age.promethiumClusters + age.promethiumVeins + age.promethiumClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Deep Iron -->
             <MystcraftSymbol name='deepironClusters' displayName='Deep Iron Clusters'/>
             <MystcraftSymbol name='deepironVeins' displayName='Deep Iron Veins'/>
             <MystcraftSymbol name='deepironClouds' displayName='Deep Iron Clouds'>
                 <Instability>:= 50 * (age.deepironClusters + age.deepironVeins + age.deepironClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Infuscolium -->
             <MystcraftSymbol name='infuscoliumClusters' displayName='Infuscolium Clusters'/>
             <MystcraftSymbol name='infuscoliumVeins' displayName='Infuscolium Veins'/>
             <MystcraftSymbol name='infuscoliumClouds' displayName='Infuscolium Clouds'>
                 <Instability>:= 50 * (age.infuscoliumClusters + age.infuscoliumVeins + age.infuscoliumClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Oureclase -->
             <MystcraftSymbol name='oureclaseClusters' displayName='Oureclase Clusters'/>
             <MystcraftSymbol name='oureclaseVeins' displayName='Oureclase Veins'/>
             <MystcraftSymbol name='oureclaseClouds' displayName='Oureclase Clouds'>
                 <Instability>:= 50 * (age.oureclaseClusters + age.oureclaseVeins + age.oureclaseClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Astral Silver -->
             <MystcraftSymbol name='astralm3silverClusters' displayName='Astral Silver Clusters'/>
             <MystcraftSymbol name='astralm3silverVeins' displayName='Astral Silver Veins'/>
             <MystcraftSymbol name='astralm3silverClouds' displayName='Astral Silver Clouds'>
                 <Instability>:= 50 * (age.astralm3silverClusters + age.astralm3silverVeins + age.astralm3silverClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Mithril -->
             <MystcraftSymbol name='mithrilClusters' displayName='Mithril Clusters'/>
             <MystcraftSymbol name='mithrilVeins' displayName='Mithril Veins'/>
             <MystcraftSymbol name='mithrilClouds' displayName='Mithril Clouds'>
                 <Instability>:= 50 * (age.mithrilClusters + age.mithrilVeins + age.mithrilClouds - 1)^3</Instability>
             </MystcraftSymbol>

     
             <!-- Rubracium -->
             <MystcraftSymbol name='rubraciumClusters' displayName='Rubracium Clusters'/>
             <MystcraftSymbol name='rubraciumVeins' displayName='Rubracium Veins'/>
             <MystcraftSymbol name='rubraciumClouds' displayName='Rubracium Clouds'>
                 <Instability>:= 50 * (age.rubraciumClusters + age.rubraciumVeins + age.rubraciumClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Orichalcum -->
             <MystcraftSymbol name='orichalcumClusters' displayName='Orichalcum Clusters'/>
             <MystcraftSymbol name='orichalcumVeins' displayName='Orichalcum Veins'/>
             <MystcraftSymbol name='orichalcumClouds' displayName='Orichalcum Clouds'>
                 <Instability>:= 50 * (age.orichalcumClusters + age.orichalcumVeins + age.orichalcumClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Adamantine -->
             <MystcraftSymbol name='adamantineClusters' displayName='Adamantine Clusters'/>
             <MystcraftSymbol name='adamantineVeins' displayName='Adamantine Veins'/>
             <MystcraftSymbol name='adamantineClouds' displayName='Adamantine Clouds'>
                 <Instability>:= 50 * (age.adamantineClusters + age.adamantineVeins + age.adamantineClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Atlarus -->
             <MystcraftSymbol name='atlarusClusters' displayName='Atlarus Clusters'/>
             <MystcraftSymbol name='atlarusVeins' displayName='Atlarus Veins'/>
             <MystcraftSymbol name='atlarusClouds' displayName='Atlarus Clouds'>
                 <Instability>:= 50 * (age.atlarusClusters + age.atlarusVeins + age.atlarusClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
         </ConfigSection>
     
         <!-- ******************* End of Fantasy Ores ***********************-->
     
         <!--*******************   Nether Ores   ***********************
         *   
         *   Nether Ores include ignatius, shadow iron, midasium, 
         *   vyroxeres, ceruclase, kalendrite, vulcanite, sanguinite, 
         *   lemurite, and adluorite.  These ores can only be found
         *   naturally in the Nether.
         *   
         **********************************************************-->
     
         <ConfigSection>
     
             <!-- OptionChoice: Configure Choice-Button GUI Options -->
             <OptionChoice name='netherDist' default='layeredVeins' displayState='shown' displayGroup='groupMetallurgy'>
                 <Description>Controls how Nether Ores are generated</Description>
                 <DisplayName>Nether Ore Type</DisplayName>
                 <Choice value='layeredVeins' displayValue='Veins'>
                     <Description> 
                         Veins of Ore leading to a Motherlode.  Most realistic placement.  Only appears in the Nether.
                     </Description>
                 </Choice>
                 <Choice value='strategicClouds' displayValue='Clouds'>
                     <Description> 
                         Rare, sparsely populated clouds of ore extending over several chunks.  Only appears in the Nether.
                     </Description>
                 </Choice>
                 <Choice value='vanillaStdGen' displayValue='Clusters'>
                     <Description>
                         Small evenly scattered clusters of ore.  This is the default Minecraft placement pattern.  Only appears in the Nether.
                     </Description>
                 </Choice>
                 <Choice value='none' displayValue='None' description='No nether ores are generated at all.'/>
             </OptionChoice>
     
             <!-- OptionNumeric: Numeric GUI Options, Identified by a slider -->
             <OptionNumeric name='netherFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy'>
                 <Description> Frequency multiplier for nether ore distributions </Description>
                 <DisplayName>Nether Ore Freq.</DisplayName>
             </OptionNumeric>
             <OptionNumeric name='netherSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy'>
                 <Description> Size multiplier for nether ore distributions </Description>
                 <DisplayName>Nether Ore Size</DisplayName>
             </OptionNumeric>
     
             <!-- Minecraft Symbol Configuration for the different ores in the group -->
     
             <!-- Ignatius -->
             <MystcraftSymbol name='ignatiusClusters' displayName='Ignatius Clusters'/>
             <MystcraftSymbol name='ignatiusVeins' displayName='Ignatius Veins'/>
             <MystcraftSymbol name='ignatiusClouds' displayName='Ignatius Clouds'>
                 <Instability>:= 50 * (age.ignatiusClusters + age.ignatiusVeins + age.ignatiusClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Shadow Iron -->
             <MystcraftSymbol name='shadowironClusters' displayName='Shadow Iron Clusters'/>
             <MystcraftSymbol name='shadowironVeins' displayName='Shadow Iron Veins'/>
             <MystcraftSymbol name='shadowironClouds' displayName='Shadow Iron Clouds'>
                 <Instability>:= 50 * (age.shadowironClusters + age.shadowironVeins + age.shadowironClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Midasium -->
             <MystcraftSymbol name='midasiumClusters' displayName='Midasium Clusters'/>
             <MystcraftSymbol name='midasiumVeins' displayName='Midasium Veins'/>
             <MystcraftSymbol name='midasiumClouds' displayName='Midasium Clouds'>
                 <Instability>:= 50 * (age.midasiumClusters + age.midasiumVeins + age.midasiumClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Vyroxeres -->
             <MystcraftSymbol name='vyroxeresClusters' displayName='Vyroxeres Clusters'/>
             <MystcraftSymbol name='vyroxeresVeins' displayName='Vyroxeres Veins'/>
             <MystcraftSymbol name='vyroxeresClouds' displayName='Vyroxeres Clouds'>
                 <Instability>:= 50 * (age.vyroxeresClusters + age.vyroxeresVeins + age.vyroxeresClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Ceruclase -->
             <MystcraftSymbol name='ceruclaseClusters' displayName='Ceruclase Clusters'/>
             <MystcraftSymbol name='ceruclaseVeins' displayName='Ceruclase Veins'/>
             <MystcraftSymbol name='ceruclaseClouds' displayName='Ceruclase Clouds'>
                 <Instability>:= 50 * (age.ceruclaseeClusters + age.ceruclaseVeins + age.ceruclaseClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Kalendrite -->
             <MystcraftSymbol name='kalendriteClusters' displayName='Kalendrite Clusters'/>
             <MystcraftSymbol name='kalendriteVeins' displayName='Kalendrite Veins'/>
             <MystcraftSymbol name='kalendriteClouds' displayName='Kalendrite Clouds'>
                 <Instability>:= 50 * (age.kalendriteClusters + age.kalendriteVeins + age.kalendriteClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Vulcanite -->
             <MystcraftSymbol name='vulcaniteClusters' displayName='Vulcanite Clusters'/>
             <MystcraftSymbol name='vulcaniteVeins' displayName='Vulcanite Veins'/>
             <MystcraftSymbol name='vulcaniteClouds' displayName='Vulcanite Clouds'>
                 <Instability>:= 50 * (age.vulcaniteClusters + age.vulcaniteVeins + age.vulcaniteClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Sanguinite -->
             <MystcraftSymbol name='sanguiniteClusters' displayName='Sanguinite Clusters'/>
             <MystcraftSymbol name='sanguiniteVeins' displayName='Sanguinite Veins'/>
             <MystcraftSymbol name='sanguiniteClouds' displayName='Sanguinite Clouds'>
                 <Instability>:= 50 * (age.sanguiniteClusters + age.sanguiniteVeins + age.sanguiniteClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Lemurite -->
             <MystcraftSymbol name='lemuriteClusters' displayName='Lemurite Clusters'/>
             <MystcraftSymbol name='lemuriteVeins' displayName='Lemurite Veins'/>
             <MystcraftSymbol name='lemuriteClouds' displayName='Lemurite Clouds'>
                 <Instability>:= 50 * (age.lemuriteClusters + age.lemuriteVeins + age.lemuriteClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Adluorite -->
             <MystcraftSymbol name='adluoriteClusters' displayName='Adluorite Clusters'/>
             <MystcraftSymbol name='adluoriteVeins' displayName='Adluorite Veins'/>
             <MystcraftSymbol name='adluoriteClouds' displayName='Adluorite Clouds'>
                 <Instability>:= 50 * (age.adluoriteClusters + age.adluoriteVeins + age.adluoriteClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
         </ConfigSection>
     
         <!-- ******************* End of Nether Ores ***********************-->
     
         <!--*******************   Ender Ores   ***********************
         *   
         *   Ender ores include eximite and meutoite.  These ores can
         *   only be found naturally in the End.
         *   
         **********************************************************-->
     
         <ConfigSection>
     
             <!-- OptionChoice: Configure Choice-Button GUI Options -->
             <OptionChoice name='enderDist' default='layeredVeins' displayState='shown' displayGroup='groupMetallurgy'>
                 <Description>Controls how Ender Ores are generated</Description>
                 <DisplayName>Ender Ore Type</DisplayName>
                 <Choice value='layeredVeins' displayValue='Veins'>
                     <Description> 
                         Veins of Ore leading to a Motherlode.  Most realistic placement.  Only appears in the End.
                     </Description>
                 </Choice>
                 <Choice value='strategicClouds' displayValue='Clouds'>
                     <Description> 
                         Rare, sparsely populated clouds of ore extending over several chunks.  Only appears in the End.
                     </Description>
                 </Choice>
                 <Choice value='vanillaStdGen' displayValue='Clusters'>
                     <Description>
                         Small evenly scattered clusters of ore.  This is the default Minecraft placement pattern.  Only appears in the End.
                     </Description>
                 </Choice>
                 <Choice value='none' displayValue='None' description='No ender ores are generated at all.'/>
             </OptionChoice>
     
             <!-- OptionNumeric: Numeric GUI Options, Identified by a slider -->
             <OptionNumeric name='enderFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy'>
                 <Description> Frequency multiplier for Utility Ore distributions </Description>
                 <DisplayName>Ender Ore Freq.</DisplayName>
             </OptionNumeric>
             <OptionNumeric name='enderSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy'>
                 <Description> Size multiplier for utility Ore distributions </Description>
                 <DisplayName>Ender Ore Size</DisplayName>
             </OptionNumeric>
     
             <!-- Minecraft Symbol Configuration for the different ores in the group -->
     
             <!-- Eximite -->
             <MystcraftSymbol name='eximiteClusters' displayName='Eximite Clusters'/>
             <MystcraftSymbol name='eximiteVeins' displayName='Eximite Veins'/>
             <MystcraftSymbol name='eximiteClouds' displayName='Eximite Clouds'>
                 <Instability>:= 50 * (age.eximiteClusters + age.eximiteVeins + age.eximiteClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
             <!-- Meutoite -->
             <MystcraftSymbol name='meutoiteClusters' displayName='Meutoite Clusters'/>
             <MystcraftSymbol name='meutoiteVeins' displayName='Meutoite Veins'/>
             <MystcraftSymbol name='meutoiteClouds' displayName='Meutoite Clouds'>
                 <Instability>:= 50 * (age.meutoiteClusters + age.meutoiteVeins + age.meutoiteClouds - 1)^3</Instability>
             </MystcraftSymbol>
     
         </ConfigSection>
     
         <!-- ******************* End of Ender Ores ***********************-->
     
     </ConfigSection>
     
     <!--***************************  End of Options + Symbols   *********************************** -->
     
     <!--*****************************   Distributions   *************************************
     *   
     *   Now that we're done with the GUI options and Mystcraft symbols, let's get to the meat
     *   of the matter: Setting up the actual distribution values.
     *
     *     Layered Veins:  
     *       Some form of veins or clusters arranged loosely by height and more common 
     *       in affiliated biomes.  For now, I'm not placing any location weights for
     *       the ores.
     *
     *     Strategic Clouds:  
     *       Huge, rare, low-density clouds.  Size and frequency are fairly consistent; 
     *       density is varied to reflect ore rarity.  May be surrounded by a scattering 
     *       of single blocks as hints to help guide players in.
     *
     *     Vanilla Clusters:
     *       A re-creation of the vanilla ore generation using the StandardGen algorithm.
     *
     *************************************************************************************-->
       <!-- <IfCondition condition=':= if(dimension.generator = "HellRandomLevelSource" | dimension.generator = "EndRandomLevelSource" | dimension.generator = "RandomLevelSource",true,false)'> -->
       <IfCondition condition=':= ?COGActive'>
   
        <!--**********   Metallurgy 4 Deposit Removal   *************-->
        <Substitute name='Metallurgy3OreSubstitute' block='minecraft:stone'>
            <Description> 
                Replace default-generated Metallurgy 4 ore clusters with stone.   
            </Description>
            <Comment>  
                The global option deferredPopulationRange must be large enough to catch all ore clusters (>= 32).
            </Comment>
            <Replaces block='Metallurgy:base.ore'/> 
            <Replaces block='Metallurgy:precious.ore'/> 
            <Replaces block='Metallurgy:utility.ore'/> 
            <Replaces block='Metallurgy:fantasy.ore'/>
            		<Comment>
				Block IDs: 
				Metallurgy:base.ore = Base Ores
				Metallurgy:precious.ore = Precious Ores
				Metallurgy:utility.ore = Utility Ores
				Metallurgy:fantasy.ore = Fantasy Ores
            		</Comment>
				
        </Substitute>

         <!--*******************   Utility Ores  ***********************
         *   
         *   Utility ores include phosphorous, sulphur, saltpeter, 
         *   magnesium, bitumen, and potash.  Distribution is based
         *   on coal.
         *   
         ************************************************************-->
     
         <!-- * phosphorous * -->
     
         <ConfigSection>
             
             <IfCondition condition=':= if(age, age.phosphorousClusters > 0, utilityoreDist = "vanillaStdGen")'>    
                 <StandardGen name='phosphorousStandard' block='Metallurgy:utility.ore:1' inherits='PresetStandardGen'>                    
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60ab907e</WireframeColor>
                     <Setting name='Size' avg=':= 2 * utilityoreSize * _default_'/> 
                     <Setting name='Frequency' avg=':= utilityoreFreq * if(age,age.phosphorousClusters,1) * _default_'/>
                 </StandardGen> 
             </IfCondition>   
             
             <IfCondition condition=':= if(age, age.phosphorousVeins > 0, utilityoreDist = "layeredVeins")'>    
                 <Veins name='phosphorousVeins' block='Metallurgy:utility.ore:1' inherits='PresetSparseVeins'>    
                     <Description>
                         Utility ores spawn just near the surface, and up into hills and mountains.  The veins are
                         long and thick, but sparsely filled with ore and often broken up by caves or depressions
                         in the terrain.
                     </Description>            
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60ab907e</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 10.7 * utilityoreFreq * if(age,age.phosphorousVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel'/>
                     <Setting name='BranchLength' avg=':= 0.45 * _default_' range=':= 0.45 * _default_'/>
                     <Setting name='BranchInclination' avg='0' range='0.35'/>
                     <Setting name='BranchHeightLimit' avg='10'/>
                     <Setting name='SegmentRadius' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='OreDensity' avg=':= 1.75 * _default_' range=':= _default_'/>
                 </Veins>
				 <Veins name='phosphorousVeinsElevated' inherits='phosphorousVeins'>
                     <Description>  This provides a second set of veins at the correct height to fill mountains. 
						The branches have more vertical range than the main distribution.</Description>      
                     <Setting name='MotherlodeFrequency' avg=':= 1 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 80/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel'/>
                     <Setting name='BranchHeightLimit' avg='32'/>  
                 </Veins>   
                 <Veins name='phosphorousVeinsSwamp' inherits='phosphorousVeins'>
                     <Description>  This roughly triples the chance of finding ore in a swamp. </Description>      
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= _default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Swamp'/>
                 </Veins>      
             </IfCondition>     
                 
             <IfCondition condition=':= if(age, age.phosphorousClouds > 0, utilityoreDist = "strategicClouds")'>    
                 <Cloud name='phosphorousCloud' block='Metallurgy:utility.ore:1' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in swamps.
                     </Description>        
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60ab907e</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 5 * utilityoreFreq * if(age,age.phosphorousClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 1.2 * utilityoreSize * _default_' range=':= 1.2 * utilityoreSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.75 * _default_'/>
                     <BiomeType name='Swamp'/>  
                     <Veins name='phosphorousHintVeins' block='Metallurgy:utility.ore:1' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60ab907e</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 1.2 * _default_' range=':= _default_'/> 
                         <Setting name='MotherlodeRangeLimit' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     </Veins>                
                 </Cloud>
             </IfCondition>  
                 
         </ConfigSection>
     
         <!-- * sulphur * -->
     
         <ConfigSection>
             
             <IfCondition condition=':= if(age, age.sulphurClusters > 0, utilityoreDist = "vanillaStdGen")'>    
                 <StandardGen name='sulphurStandard' block='Metallurgy:utility.ore' inherits='PresetStandardGen'>                    
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60eef436</WireframeColor>
                     <Setting name='Size' avg=':= 2 * utilityoreSize * _default_'/> 
                     <Setting name='Frequency' avg=':= utilityoreFreq * if(age,age.sulphurClusters,1) * _default_'/>
                 </StandardGen> 
             </IfCondition>   
             
             <IfCondition condition=':= if(age, age.sulphurVeins > 0, utilityoreDist = "layeredVeins")'>    
                 <Veins name='sulphurVeins' block='Metallurgy:utility.ore' inherits='PresetSparseVeins'>    
                     <Description>
                         Utility ores spawn just near the surface, and up into hills and mountains.  The veins are
                         long and thick, but sparsely filled with ore and often broken up by caves or depressions
                         in the terrain.
                     </Description>       
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60eef436</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 10.7 * utilityoreFreq * if(age,age.sulphurVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel'/>
                     <Setting name='BranchLength' avg=':= 0.45 * _default_' range=':= 0.45 * _default_'/>
                     <Setting name='BranchInclination' avg='0' range='0.35'/>
                     <Setting name='BranchHeightLimit' avg='10'/>
                     <Setting name='SegmentRadius' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='OreDensity' avg=':= 1.75 * _default_' range=':= _default_'/>
                 </Veins>
                 <Veins name='sulphurVeinsElevated' inherits='sulphurVeins'>
                     <Description>  This provides a second set of veins at the correct height to fill mountains. 
						The branches have more vertical range than the main distribution.</Description>      
                     <Setting name='MotherlodeFrequency' avg=':= 1 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 80/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel'/>
                     <Setting name='BranchHeightLimit' avg='32'/>  
                 </Veins>   
				 <Veins name='sulphurVeinsSwamp' inherits='sulphurVeins'>
                     <Description>  This roughly triples the chance of finding ore in a swamp. </Description>      
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= _default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Swamp'/>  
                 </Veins>      
             </IfCondition>     
                 
             <IfCondition condition=':= if(age, age.sulphurClouds > 0, utilityoreDist = "strategicClouds")'>    
                 <Cloud name='sulphurCloud' block='Metallurgy:utility.ore' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in swamps.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60eef436</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 5 * utilityoreFreq * if(age,age.sulphurClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 1.2 * utilityoreSize * _default_' range=':= 1.2 * utilityoreSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.75 * _default_'/>
                     <BiomeType name='Swamp'/>
                     <Veins name='sulphurHintVeins' block='Metallurgy:utility.ore' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60eef436</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 1.2 * _default_' range=':= _default_'/> 
                         <Setting name='MotherlodeRangeLimit' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     </Veins>                
                 </Cloud>
             </IfCondition>  
                 
         </ConfigSection>
     
         <!-- * saltpeter * -->
     
         <ConfigSection>
             
             <IfCondition condition=':= if(age, age.saltpeterClusters > 0, utilityoreDist = "vanillaStdGen")'>    
                 <StandardGen name='saltpeterStandard' block='Metallurgy:utility.ore:2' inherits='PresetStandardGen'>                    
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60ffffff</WireframeColor>
                     <Setting name='Size' avg=':= 2 * utilityoreSize * _default_'/> 
                     <Setting name='Frequency' avg=':= utilityoreFreq * if(age,age.saltpeterClusters,1) * _default_'/>
                 </StandardGen> 
             </IfCondition>   
             
             <IfCondition condition=':= if(age, age.saltpeterVeins > 0, utilityoreDist = "layeredVeins")'>    
                 <Veins name='saltpeterVeins' block='Metallurgy:utility.ore:2' inherits='PresetSparseVeins'>    
                     <Description>
                         Utility ores spawn just near the surface, and up into hills and mountains.  The veins are
                         long and thick, but sparsely filled with ore and often broken up by caves or depressions
                         in the terrain.
                     </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60ffffff</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 10.7 * utilityoreFreq * if(age,age.saltpeterVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel'/>
                     <Setting name='BranchLength' avg=':= 0.45 * _default_' range=':= 0.45 * _default_'/>
                     <Setting name='BranchInclination' avg='0' range='0.35'/>
                     <Setting name='BranchHeightLimit' avg='10'/>
                     <Setting name='SegmentRadius' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='OreDensity' avg=':= 1.75 * _default_' range=':= _default_'/>
                 </Veins>
                 <Veins name='saltpeterVeinsElevated' inherits='saltpeterVeins'>
                     <Description>  This provides a second set of veins at the correct height to fill mountains. 
						The branches have more vertical range than the main distribution.</Description>      
                     <Setting name='MotherlodeFrequency' avg=':= 1 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 80/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel'/>
                     <Setting name='BranchHeightLimit' avg='32'/>  
                 </Veins>   
                 <Veins name='saltpeterVeinsSwamp' inherits='saltpeterVeins'>
                     <Description>  This roughly triples the chance of finding ore in a swamp. </Description>      
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= _default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <Biome name='Swampland'/>
                     <BiomeType name='Swamp'/>
                 </Veins>      
             </IfCondition>     
                 
             <IfCondition condition=':= if(age, age.saltpeterClouds > 0, utilityoreDist = "strategicClouds")'>    
                 <Cloud name='saltpeterCloud' block='Metallurgy:utility.ore:2' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in swamps.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60ffffff</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 5 * utilityoreFreq * if(age,age.saltpeterClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 1.2 * utilityoreSize * _default_' range=':= 1.2 * utilityoreSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.75 * _default_'/>
                     <Biome name='Swampland'/>
                     <BiomeType name='Swamp'/>
                     <Veins name='saltpeterHintVeins' block='Metallurgy:utility.ore:2' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60ffffff</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 1.2 * _default_' range=':= _default_'/> 
                         <Setting name='MotherlodeRangeLimit' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     </Veins>                
                 </Cloud>
             </IfCondition>  
                 
         </ConfigSection>
     
         <!-- * magnesium * -->
     
         <ConfigSection>
             
             <IfCondition condition=':= if(age, age.magnesiumClusters > 0, utilityoreDist = "vanillaStdGen")'>    
                 <StandardGen name='magnesiumStandard' block='Metallurgy:utility.ore:3' inherits='PresetStandardGen'>                    
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60a08775</WireframeColor>
                     <Setting name='Size' avg=':= 2 * utilityoreSize * _default_'/> 
                     <Setting name='Frequency' avg=':= utilityoreFreq * if(age,age.magnesiumClusters,1) * _default_'/>
                 </StandardGen> 
             </IfCondition>   
             
             <IfCondition condition=':= if(age, age.magnesiumVeins > 0, utilityoreDist = "layeredVeins")'>    
                 <Veins name='magnesiumVeins' block='Metallurgy:utility.ore:3' inherits='PresetSparseVeins'>    
                     <Description>
                         Utility ores spawn just near the surface, and up into hills and mountains.  The veins are
                         long and thick, but sparsely filled with ore and often broken up by caves or depressions
                         in the terrain.
                     </Description>     
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60a08775</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 10.7 * utilityoreFreq * if(age,age.magnesiumVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel'/>
                     <Setting name='BranchLength' avg=':= 0.45 * _default_' range=':= 0.45 * _default_'/>
                     <Setting name='BranchInclination' avg='0' range='0.35'/>
                     <Setting name='BranchHeightLimit' avg='10'/>
                     <Setting name='SegmentRadius' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='OreDensity' avg=':= 1.75 * _default_' range=':= _default_'/>
                 </Veins>
                 <Veins name='magnesiumVeinsElevated' inherits='magnesiumVeins'>
                     <Description>  This provides a second set of veins at the correct height to fill mountains. 
						The branches have more vertical range than the main distribution.</Description>      
                     <Setting name='MotherlodeFrequency' avg=':= 1 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 80/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel'/>
                     <Setting name='BranchHeightLimit' avg='32'/>  
                 </Veins>   
                 <Veins name='magnesiumVeinsSwamp' inherits='magnesiumVeins'>
                     <Description>  This roughly triples the chance of finding ore in a swamp. </Description>      
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= _default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Swamp'/>
                 </Veins>      
             </IfCondition>     
                 
             <IfCondition condition=':= if(age, age.magnesiumClouds > 0, utilityoreDist = "strategicClouds")'>    
                 <Cloud name='magnesiumCloud' block='Metallurgy:utility.ore:3' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in swamps.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60a08775</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 5 * utilityoreFreq * if(age,age.magnesiumClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 1.2 * utilityoreSize * _default_' range=':= 1.2 * utilityoreSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.75 * _default_'/>
                     <BiomeType name='Swamp'/>
                     <Veins name='magnesiumHintVeins' block='Metallurgy:utility.ore:3' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60a08775</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 1.2 * _default_' range=':= _default_'/> 
                         <Setting name='MotherlodeRangeLimit' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     </Veins>                
                 </Cloud>
             </IfCondition>  
                 
         </ConfigSection>
     
         <!-- * bitumen * -->
     
         <ConfigSection>
             
             <IfCondition condition=':= if(age, age.bitumenClusters > 0, utilityoreDist = "vanillaStdGen")'>    
                 <StandardGen name='bitumenStandard' block='Metallurgy:utility.ore:4' inherits='PresetStandardGen'>                    
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60414141</WireframeColor>
                     <Setting name='Size' avg=':= 2 * utilityoreSize * _default_'/> 
                     <Setting name='Frequency' avg=':= utilityoreFreq * if(age,age.bitumenClusters,1) * _default_'/>
                 </StandardGen> 
             </IfCondition>   
             
             <IfCondition condition=':= if(age, age.bitumenVeins > 0, utilityoreDist = "layeredVeins")'>    
                 <Veins name='bitumenVeins' block='Metallurgy:utility.ore:4' inherits='PresetSparseVeins'>    
                     <Description>
                         Utility ores spawn just near the surface, and up into hills and mountains.  The veins are
                         long and thick, but sparsely filled with ore and often broken up by caves or depressions
                         in the terrain.
                     </Description>   
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60414141</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 10.7 * utilityoreFreq * if(age,age.bitumenVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel'/>
                     <Setting name='BranchLength' avg=':= 0.45 * _default_' range=':= 0.45 * _default_'/>
                     <Setting name='BranchInclination' avg='0' range='0.35'/>
                     <Setting name='BranchHeightLimit' avg='10'/>
                     <Setting name='SegmentRadius' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='OreDensity' avg=':= 1.75 * _default_' range=':= _default_'/>
                 </Veins>
                 <Veins name='bitumenVeinsElevated' inherits='bitumenVeins'>
                     <Description>  This provides a second set of veins at the correct height to fill mountains. 
						The branches have more vertical range than the main distribution.</Description>      
                     <Setting name='MotherlodeFrequency' avg=':= 1 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 80/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel'/>
                     <Setting name='BranchHeightLimit' avg='32'/>  
                 </Veins>   
                 <Veins name='bitumenVeinsSwamp' inherits='bitumenVeins'>
                     <Description>  This roughly triples the chance of finding ore in a swamp. </Description>      
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= _default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Swamp'/>
                 </Veins>      
             </IfCondition>     
                 
             <IfCondition condition=':= if(age, age.bitumenClouds > 0, utilityoreDist = "strategicClouds")'>    
                 <Cloud name='bitumenCloud' block='Metallurgy:utility.ore:4' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in swamps.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60414141</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 5 * utilityoreFreq * if(age,age.bitumenClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 1.2 * utilityoreSize * _default_' range=':= 1.2 * utilityoreSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.75 * _default_'/>
                     <Biome name='Swampland'/>
                     <BiomeType name='Swamp'/>
                     <Veins name='bitumenHintVeins' block='Metallurgy:utility.ore:4' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60414141</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 1.2 * _default_' range=':= _default_'/> 
                         <Setting name='MotherlodeRangeLimit' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     </Veins>                
                 </Cloud>
             </IfCondition>  
                 
         </ConfigSection>
     
         <!-- * potash * -->
     
         <ConfigSection>
             
             <IfCondition condition=':= if(age, age.potashClusters > 0, utilityoreDist = "vanillaStdGen")'>    
                 <StandardGen name='potashStandard' block='Metallurgy:utility.ore:5' inherits='PresetStandardGen'>                    
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60f7c576</WireframeColor>
                     <Setting name='Size' avg=':= 2 * utilityoreSize * _default_'/> 
                     <Setting name='Frequency' avg=':= utilityoreFreq * if(age,age.potashClusters,1) * _default_'/>
                 </StandardGen> 
             </IfCondition>   
             
             <IfCondition condition=':= if(age, age.potashVeins > 0, utilityoreDist = "layeredVeins")'>    
                 <Veins name='potashVeins' block='Metallurgy:utility.ore:5' inherits='PresetSparseVeins'>    
                     <Description>
                         Utility ores spawn just near the surface, and up into hills and mountains.  The veins are
                         long and thick, but sparsely filled with ore and often broken up by caves or depressions
                         in the terrain.
                     </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60f7c576</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 10.7 * utilityoreFreq * if(age,age.potashVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel'/>
                     <Setting name='BranchLength' avg=':= 0.45 * _default_' range=':= 0.45 * _default_'/>
                     <Setting name='BranchInclination' avg='0' range='0.35'/>
                     <Setting name='BranchHeightLimit' avg='10'/>
                     <Setting name='SegmentRadius' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='OreDensity' avg=':= 1.75 * _default_' range=':= _default_'/>
                 </Veins>
                 <Veins name='potashVeinsElevated' inherits='potashVeins'>
                     <Description>  This provides a second set of veins at the correct height to fill mountains. 
						The branches have more vertical range than the main distribution.</Description>      
                     <Setting name='MotherlodeFrequency' avg=':= 1 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 80/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel'/>
                     <Setting name='BranchHeightLimit' avg='32'/>  
                 </Veins>   
                 <Veins name='potashVeinsSwamp' inherits='potashVeins'>
                     <Description>  This roughly triples the chance of finding ore in a swamp. </Description>      
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= _default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Swamp'/>
                 </Veins>      
             </IfCondition>     
                 
             <IfCondition condition=':= if(age, age.potashClouds > 0, utilityoreDist = "strategicClouds")'>    
                 <Cloud name='potashCloud' block='Metallurgy:utility.ore:5' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in swamps.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60f7c576</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 5 * utilityoreFreq * if(age,age.potashClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 1.2 * utilityoreSize * _default_' range=':= 1.2 * utilityoreSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.75 * _default_'/>
                     <BiomeType name='Swamp'/>
                     <Veins name='potashHintVeins' block='Metallurgy:utility.ore:5' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60f7c576</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 1.2 * _default_' range=':= _default_'/> 
                         <Setting name='MotherlodeRangeLimit' avg=':= utilityoreSize * _default_' range=':= utilityoreSize * _default_'/>
                     </Veins>                
                 </Cloud>
             </IfCondition>  
                 
         </ConfigSection>
     
         <!--*******************   Base Ores   ***********************
         *   
         *   Base ores include tin, copper, and manganese.  Distribution
         *   is based on iron
         *   
         **********************************************************-->
     
         <!-- * copper * -->
     
         <ConfigSection>
         
             <IfCondition condition=':= if(age, age.m3copperClusters > 0, baseDist = "vanillaStdGen")'>
                 <StandardGen name='copperStandard' block='Metallurgy:base.ore' inherits='PresetStandardGen'> 
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60e25d21</WireframeColor>
                     <Setting name='Size' avg=':= baseSize * _default_'/> 
                     <Setting name='Frequency' avg=':= baseFreq * if(age,age.m3copperClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 32/64 * dimension.groundLevel' range=':= 32/64 * dimension.groundLevel'/> 
                 </StandardGen> 
             </IfCondition>
                 
             <IfCondition condition=':= if(age, age.m3copperveins > 0, baseDist = "layeredVeins")'>
                 <Veins name='m3copperveins' block='Metallurgy:base.ore' inherits='PresetLayeredVeins'>
                     <Description> 
                         Ore spawns in the height 30-50 range.  The veins are average in length and size.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60e25d21</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.9 * baseFreq * if(age,age.m3copperveins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= baseSize * _default_' range=':= baseSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 43/64 * dimension.groundLevel' range=':= 10.5/64 * dimension.groundLevel' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10.5'/>
                     <Setting name='SegmentRadius' avg=':= baseSize * _default_' range=':= baseSize * _default_'/>
                 </Veins>
                 <Veins name='m3copperveinsElevated' inherits='m3copperveins'>
                     <Description>  This provides a second set of veins at the correct height to fill mountains. 
						The branches have more vertical range than the main distribution.</Description>      
                     <Setting name='MotherlodeFrequency' avg=':= 1 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 80/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel'/>
                     <Setting name='BranchHeightLimit' avg='32'/>
                 </Veins>   
                 <Veins name='m3copperveinsCold' inherits='m3copperveins'>
                     <Description> This roughly triples the chance of finding ore in cold/icy biomes. </Description> 
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='cold'/>
                 </Veins>
             </IfCondition>   
                 
             <IfCondition condition=':= if(age, age.m3copperclouds > 0, baseDist = "strategicClouds")'>
                 <Cloud name='copperCloud' block='Metallurgy:base.ore' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in cold biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60e25d21</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 2.5 * baseFreq * if(age,age.m3copperclouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= baseSize * _default_' range=':= baseSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= baseSize * _default_' range=':= baseSize * _default_'/> 
                     <Biome name='Taiga'/>
                     <Biome name='TaigaHills'/>
                     <Biome name='Ice\s*Plains'/>
                     <Biome name='Ice\s*Mountains'/>
                     <BiomeType name='cold'/>
                     <Veins name='copperHintVeins' block='Metallurgy:base.ore' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60e25d21</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>   
                         <Setting name='MotherlodeRangeLimit' avg=':= baseSize * _default_' range=':= baseSize * _default_'/>              
                     </Veins>                         
                 </Cloud> 
             </IfCondition>      
        
         </ConfigSection>
     
         <!-- * tin * -->
     
         <ConfigSection>
         
             <IfCondition condition=':= if(age, age.m3tinClusters > 0, baseDist = "vanillaStdGen")'>
                 <StandardGen name='tinStandard' block='Metallurgy:base.ore:1' inherits='PresetStandardGen'> 
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60a8a8a8</WireframeColor>
                     <Setting name='Size' avg=':= baseSize * _default_'/> 
                     <Setting name='Frequency' avg=':= baseFreq * if(age,age.m3tinClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 32/64 * dimension.groundLevel' range=':= 32/64 * dimension.groundLevel'/> 
                 </StandardGen> 
             </IfCondition>
                 
             <IfCondition condition=':= if(age, age.m3tinVeins > 0, baseDist = "layeredVeins")'>
                 <Veins name='m3tinVeins' block='Metallurgy:base.ore:1' inherits='PresetLayeredVeins'>
                     <Description> 
                         Ore spawns in the height 30-50 range.  The veins are average in length and size.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60a8a8a8</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.9 * baseFreq * if(age,age.m3tinVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= baseSize * _default_' range=':= baseSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 43/64 * dimension.groundLevel' range=':= 10.5/64 * dimension.groundLevel' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10.5'/>
                     <Setting name='SegmentRadius' avg=':= baseSize * _default_' range=':= baseSize * _default_'/>
                 </Veins>
                 <Veins name='m3tinVeinsElevated' inherits='m3tinVeins'>
                     <Description>  This provides a second set of veins at the correct height to fill mountains. 
						The branches have more vertical range than the main distribution.</Description>      
                     <Setting name='MotherlodeFrequency' avg=':= 1 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 80/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel'/>
                     <Setting name='BranchHeightLimit' avg='32'/>
                 </Veins>   
                 <Veins name='m3tinVeinsCold' inherits='m3tinVeins'>
                     <Description> This roughly triples the chance of finding ore in cold/icy biomes. </Description> 
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='cold'/>
                 </Veins>
             </IfCondition>   
                 
             <IfCondition condition=':= if(age, age.m3tinClouds > 0, baseDist = "strategicClouds")'>
                 <Cloud name='tinCloud' block='Metallurgy:base.ore:1' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in cold biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60a8a8a8</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 2.5 * baseFreq * if(age,age.m3tinClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= baseSize * _default_' range=':= baseSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= baseSize * _default_' range=':= baseSize * _default_'/> 
                     <BiomeType name='cold'/>
                     <Veins name='tinHintVeins' block='Metallurgy:base.ore:1' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60a8a8a8</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>   
                         <Setting name='MotherlodeRangeLimit' avg=':= baseSize * _default_' range=':= baseSize * _default_'/>              
                     </Veins>                         
                 </Cloud> 
             </IfCondition>      
        
         </ConfigSection>
     
         <!-- * manganese * -->
     
         <ConfigSection>
         
             <IfCondition condition=':= if(age, age.manganeseClusters > 0, baseDist = "vanillaStdGen")'>
                 <StandardGen name='manganeseStandard' block='Metallurgy:base.ore:2' inherits='PresetStandardGen'> 
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60e79496</WireframeColor>
                     <Setting name='Size' avg=':= baseSize * _default_'/> 
                     <Setting name='Frequency' avg=':= baseFreq * if(age,age.manganeseClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 32/64 * dimension.groundLevel' range=':= 32/64 * dimension.groundLevel'/> 
                 </StandardGen> 
             </IfCondition>
                 
             <IfCondition condition=':= if(age, age.manganeseVeins > 0, baseDist = "layeredVeins")'>
                 <Veins name='manganeseVeins' block='Metallurgy:base.ore:2' inherits='PresetLayeredVeins'>
                     <Description> 
                         Ore spawns in the height 30-50 range.  The veins are average in length and size.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60e79496</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.9 * baseFreq * if(age,age.manganeseVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= baseSize * _default_' range=':= baseSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 43/64 * dimension.groundLevel' range=':= 10.5/64 * dimension.groundLevel' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10.5'/>
                     <Setting name='SegmentRadius' avg=':= baseSize * _default_' range=':= baseSize * _default_'/>
                 </Veins>
                 <Veins name='manganeseVeinsElevated' inherits='manganeseVeins'>
                     <Description>  This provides a second set of veins at the correct height to fill mountains. 
						The branches have more vertical range than the main distribution.</Description>      
                     <Setting name='MotherlodeFrequency' avg=':= 1 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 80/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel'/>
                     <Setting name='BranchHeightLimit' avg='32'/>
                 </Veins>   
                 <Veins name='manganeseVeinsCold' inherits='manganeseVeins'>
                     <Description> This roughly triples the chance of finding ore in cold/icy biomes. </Description> 
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <Biome name='Taiga'/>
                     <Biome name='TaigaHills'/>
                     <Biome name='Ice\s*Plains'/>
                     <BiomeType name='cold'/>
                 </Veins>
             </IfCondition>   
                 
             <IfCondition condition=':= if(age, age.manganeseClouds > 0, baseDist = "strategicClouds")'>
                 <Cloud name='manganeseCloud' block='Metallurgy:base.ore:2' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in cold biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60e79496</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 2.5 * baseFreq * if(age,age.manganeseClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= baseSize * _default_' range=':= baseSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= baseSize * _default_' range=':= baseSize * _default_'/> 
                     <Biome name='Taiga'/>
                     <Biome name='TaigaHills'/>
                     <Biome name='Ice\s*Plains'/>
                     <Biome name='Ice\s*Mountains'/>
                     <BiomeType name='cold'/>
                     <Veins name='manganeseHintVeins' block='Metallurgy:base.ore:2' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60e79496</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>   
                         <Setting name='MotherlodeRangeLimit' avg=':= baseSize * _default_' range=':= baseSize * _default_'/>              
                     </Veins>                         
                 </Cloud> 
             </IfCondition>      
        
         </ConfigSection>
     
         <!--*******************   Precious Ores   ***********************
         *   
         *   Precious Ores include Zinc, Silver, and Platinum.  Gold is
         *   technically also a precious ore, but it is handled by the
         *   vanilla Minecraft settings.  Distribution is based on
         *   gold.
         *   
         **********************************************************-->
     
         <!-- * zinc * -->
     
         <ConfigSection>
     
             <IfCondition condition=':= if(age, age.zincClusters > 0, preciousDist = "vanillaStdGen")'>
                 <StandardGen name='zincStandard' block='Metallurgy:precious.ore' inherits='PresetStandardGen'> 
                 <Description> Equivalent to vanilla minecraft ore distribution </Description>
                 <DrawWireframe>:=drawWireframes</DrawWireframe>
                 <WireframeColor>0x60a3a666</WireframeColor>
                 <Setting name='Size' avg=':= preciousSize * _default_'/> 
                     <Setting name='Frequency' avg=':= 0.1 * preciousFreq * if(age,age.zincClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 16/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel'/>
                 </StandardGen> 
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.zincVeins > 0, preciousDist = "layeredVeins")'>
                 <Veins name='zincVeins' block='Metallurgy:precious.ore' inherits='PresetLayeredVeins'> 
                     <Description> 
                         Ore spawns in the height 10-30 range.  The veins are shorter than average,
                         and much rarer overall.  Ore is not easy to find.
                     </Description>  
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60a3a666</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.85 * preciousFreq * if(age,age.zincVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= 0.8 * preciousSize * _default_' range=':= 0.5 * preciousSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 20/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10'/>  
                     <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/> 
                     <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                     <Setting name='SegmentRadius' avg=':= 0.7 * preciousSize * _default_' range=':= 0.5 * preciousSize * _default_'/>
                     <Setting name='SegmentAngle' avg='0.6' range='0.40' /> 
            <Setting name='SegmentPitch' avg='0.6' range='0.40' /> 
                 </Veins>
                 <Veins name='zincVeinsForest' inherits='zincVeins'>
                     <Description> This roughly triples the chance of finding ore in forested biomes. </Description> 
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Forest'/>    
                 </Veins>
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.zincClouds > 0, preciousDist = "strategicClouds")'>
                 <Cloud name='zincCloud' block='Metallurgy:precious.ore' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in forest biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60a3a666</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 4.5 * preciousFreq * if(age,age.zincClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 0.8 * preciousSize * _default_' range=':= 0.8 * preciousSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= 0.8 * preciousSize * _default_' range=':= preciousSize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.3 * _default_'/>
                     <BiomeType name='Forest'/>    
                     <Veins name='zincHintVeins' block='Metallurgy:precious.ore' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60a3a666</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 0.3 * _default_' range=':= _default_'/>
                         <Setting name='MotherlodeRangeLimit' avg=':= 0.75 * preciousSize * _default_' range=':= 0.65 * preciousSize * _default_'/>                    
                     </Veins>             
                 </Cloud>
             </IfCondition>      
        
         </ConfigSection> 
     
         <!-- * silver * -->
     
         <ConfigSection>
     
             <IfCondition condition=':= if(age, age.m3silverClusters > 0, preciousDist = "vanillaStdGen")'>
                 <StandardGen name='silverStandard' block='Metallurgy:precious.ore:1' inherits='PresetStandardGen'> 
                 <Description> Equivalent to vanilla minecraft ore distribution </Description>
                 <DrawWireframe>:=drawWireframes</DrawWireframe>
                 <WireframeColor>0x60cbcbcb</WireframeColor>
                 <Setting name='Size' avg=':= preciousSize * _default_'/> 
                     <Setting name='Frequency' avg=':= 0.1 * preciousFreq * if(age,age.m3silverClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 16/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel'/>
                 </StandardGen> 
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.m3silverVeins > 0, preciousDist = "layeredVeins")'>
                 <Veins name='m3silverVeins' block='Metallurgy:precious.ore:1' inherits='PresetLayeredVeins'> 
                     <Description> 
                         Ore spawns in the height 10-30 range.  The veins are shorter than average,
                         and much rarer overall.  Ore is not easy to find.
                     </Description>  
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60cbcbcb</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.85 * preciousFreq * if(age,age.m3silverVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= 0.8 * preciousSize * _default_' range=':= 0.5 * preciousSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 20/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10'/>  
                     <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/> 
                     <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                     <Setting name='SegmentRadius' avg=':= 0.7 * preciousSize * _default_' range=':= 0.5 * preciousSize * _default_'/>
                     <Setting name='SegmentAngle' avg='0.6' range='0.40' /> 
            <Setting name='SegmentPitch' avg='0.6' range='0.40' /> 
                 </Veins>
                 <Veins name='m3silverVeinsForest' inherits='m3silverVeins'>
                     <Description> This roughly triples the chance of finding ore in forested biomes. </Description> 
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Forest'/>    
                 </Veins>
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.m3silverClouds > 0, preciousDist = "strategicClouds")'>
                 <Cloud name='silverCloud' block='Metallurgy:precious.ore:1' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in forest biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60cbcbcb</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 4.5 * preciousFreq * if(age,age.m3silverClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 0.8 * preciousSize * _default_' range=':= 0.8 * preciousSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= 0.8 * preciousSize * _default_' range=':= preciousSize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.3 * _default_'/>
                     <BiomeType name='Forest'/>    
                     <Veins name='silverHintVeins' block='Metallurgy:precious.ore:1' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60cbcbcb</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 0.3 * _default_' range=':= _default_'/>
                         <Setting name='MotherlodeRangeLimit' avg=':= 0.75 * preciousSize * _default_' range=':= 0.65 * preciousSize * _default_'/>                    
                     </Veins>             
                 </Cloud>
             </IfCondition>      
        
         </ConfigSection> 
     
         <!-- * platinum * -->
     
         <ConfigSection>
     
             <IfCondition condition=':= if(age, age.platinumClusters > 0, preciousDist = "vanillaStdGen")'>
                 <StandardGen name='platinumStandard' block='Metallurgy:precious.ore:2' inherits='PresetStandardGen'> 
                 <Description> Equivalent to vanilla minecraft ore distribution </Description>
                 <DrawWireframe>:=drawWireframes</DrawWireframe>
                 <WireframeColor>0x60b3d0d5</WireframeColor>
                 <Setting name='Size' avg=':= preciousSize * _default_'/> 
                     <Setting name='Frequency' avg=':= 0.1 * preciousFreq * if(age,age.platinumClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 16/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel'/>
                 </StandardGen> 
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.platinumVeins > 0, preciousDist = "layeredVeins")'>
                 <Veins name='platinumVeins' block='Metallurgy:precious.ore:2' inherits='PresetLayeredVeins'> 
                     <Description> 
                         Ore spawns in the height 10-30 range.  The veins are shorter than average,
                         and much rarer overall.  Ore is not easy to find.
                     </Description>       
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60b3d0d5</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.85 * preciousFreq * if(age,age.platinumVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= 0.8 * preciousSize * _default_' range=':= 0.5 * preciousSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 20/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10'/>  
                     <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/> 
                     <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                     <Setting name='SegmentRadius' avg=':= 0.7 * preciousSize * _default_' range=':= 0.5 * preciousSize * _default_'/>
                     <Setting name='SegmentAngle' avg='0.6' range='0.40' /> 
            <Setting name='SegmentPitch' avg='0.6' range='0.40' /> 
                 </Veins>
                 <Veins name='platinumVeinsForest' inherits='platinumVeins'>
                     <Description> This roughly triples the chance of finding ore in forested biomes. </Description> 
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Forest'/>    
                 </Veins>
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.platinumClouds > 0, preciousDist = "strategicClouds")'>
                 <Cloud name='platinumCloud' block='Metallurgy:precious.ore:2' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in forest biomes.
                     </Description>   
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60b3d0d5</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 4.5 * preciousFreq * if(age,age.platinumClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 0.8 * preciousSize * _default_' range=':= 0.8 * preciousSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= 0.8 * preciousSize * _default_' range=':= preciousSize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.3 * _default_'/>
                     <BiomeType name='Forest'/>    
                     <Veins name='platinumHintVeins' block='Metallurgy:precious.ore:2' inherits='PresetHintVeins'>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60b3d0d5</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 0.3 * _default_' range=':= _default_'/>
                         <Setting name='MotherlodeRangeLimit' avg=':= 0.75 * preciousSize * _default_' range=':= 0.65 * preciousSize * _default_'/>                    
                     </Veins>             
                 </Cloud>
             </IfCondition>      
        
         </ConfigSection> 
     
         <!--*******************   Fantasy Ores   ***********************
         *   
         *   Fantasy Ores include promethium, deep iron, infuscolium,
         *   oureclase, astral silver, carmot, mithril, 
         *   rubracium, orichalcum, adamantine, and atlarus.  Distribution
         *   is based on gold.
         *   
         **********************************************************-->
     
         <!-- * promethium * -->
     
         <ConfigSection>
     
             <IfCondition condition=':= if(age, age.promethiumClusters > 0, fantasyDist = "vanillaStdGen")'>
                 <StandardGen name='promethiumStandard' block='Metallurgy:fantasy.ore' inherits='PresetStandardGen'> 
                 <Description> Equivalent to vanilla minecraft ore distribution </Description>
                 <DrawWireframe>:=drawWireframes</DrawWireframe>
                 <WireframeColor>0x6053784f</WireframeColor>
                 <Setting name='Size' avg=':= fantasySize * _default_'/> 
                     <Setting name='Frequency' avg=':= 0.1 * fantasyFreq * if(age,age.promethiumClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 16/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel'/>
                 </StandardGen> 
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.promethiumVeins > 0, fantasyDist = "layeredVeins")'>
                 <Veins name='promethiumVeins' block='Metallurgy:fantasy.ore' inherits='PresetLayeredVeins'> 
                     <Description> 
                         Ore spawns in the height 10-30 range.  The veins are shorter than average,
                         and much rarer overall.  Ore is not easy to find.
                     </Description>  
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6053784f</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.85 * fantasyFreq * if(age,age.promethiumVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= 0.8 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 20/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10'/>  
                     <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/> 
                     <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                     <Setting name='SegmentRadius' avg=':= 0.7 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='SegmentAngle' avg='0.6' range='0.40' /> 
            <Setting name='SegmentPitch' avg='0.6' range='0.40' /> 
                 </Veins>
                 <Veins name='promethiumVeinsForest' inherits='promethiumVeins'>
                     <Description> This roughly triples the chance of finding ore in forested biomes. </Description> 
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Forest'/>    
                 </Veins>
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.promethiumClouds > 0, fantasyDist = "strategicClouds")'>
                 <Cloud name='promethiumCloud' block='Metallurgy:fantasy.ore' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in forest biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6053784f</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 4.5 * fantasyFreq * if(age,age.promethiumClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 0.8 * fantasySize * _default_' range=':= 0.8 * fantasySize * _default_'/>
                     <Setting name='CloudThickness' avg=':= 0.8 * fantasySize * _default_' range=':= fantasySize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.3 * _default_'/>
                     <BiomeType name='Forest'/>    
                     <Veins name='promethiumHintVeins' block='Metallurgy:fantasy.ore' inherits='PresetHintVeins'>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6053784f</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 0.3 * _default_' range=':= _default_'/>
                         <Setting name='MotherlodeRangeLimit' avg=':= 0.75 * fantasySize * _default_' range=':= 0.65 * fantasySize * _default_'/>                    
                     </Veins>             
                 </Cloud>
             </IfCondition>      
        
         </ConfigSection> 
     
         <!-- * deepiron * -->
     
         <ConfigSection>
     
             <IfCondition condition=':= if(age, age.deepironClusters > 0, fantasyDist = "vanillaStdGen")'>
                 <StandardGen name='deepironStandard' block='Metallurgy:fantasy.ore:1' inherits='PresetStandardGen'> 
                 <Description> Equivalent to vanilla minecraft ore distribution </Description>
                 <DrawWireframe>:=drawWireframes</DrawWireframe>
                 <WireframeColor>0x6072889b</WireframeColor>
                 <Setting name='Size' avg=':= fantasySize * _default_'/> 
                     <Setting name='Frequency' avg=':= 0.1 * fantasyFreq * if(age,age.deepironClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 16/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel'/>
                 </StandardGen> 
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.deepironVeins > 0, fantasyDist = "layeredVeins")'>
                 <Veins name='deepironVeins' block='Metallurgy:fantasy.ore:1' inherits='PresetLayeredVeins'> 
                     <Description> 
                         Ore spawns in the height 10-30 range.  The veins are shorter than average,
                         and much rarer overall.  Ore is not easy to find.
                     </Description>  
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6072889b</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.85 * fantasyFreq * if(age,age.deepironVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= 0.8 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 20/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10'/>  
                     <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/> 
                     <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                     <Setting name='SegmentRadius' avg=':= 0.7 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='SegmentAngle' avg='0.6' range='0.40' /> 
            <Setting name='SegmentPitch' avg='0.6' range='0.40' /> 
                 </Veins>
                 <Veins name='deepironVeinsForest' inherits='deepironVeins'>
                     <Description> This roughly triples the chance of finding ore in forested biomes. </Description> 
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Forest'/>    
                 </Veins>
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.deepironClouds > 0, fantasyDist = "strategicClouds")'>
                 <Cloud name='deepironCloud' block='Metallurgy:fantasy.ore:1' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in forest biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6072889b</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 4.5 * fantasyFreq * if(age,age.deepironClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 0.8 * fantasySize * _default_' range=':= 0.8 * fantasySize * _default_'/>
                     <Setting name='CloudThickness' avg=':= 0.8 * fantasySize * _default_' range=':= fantasySize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.3 * _default_'/>
                     <BiomeType name='Forest'/>    
                     <Veins name='deepironHintVeins' block='Metallurgy:fantasy.ore:1' inherits='PresetHintVeins'>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6072889b</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 0.3 * _default_' range=':= _default_'/>
                         <Setting name='MotherlodeRangeLimit' avg=':= 0.75 * fantasySize * _default_' range=':= 0.65 * fantasySize * _default_'/>                    
                     </Veins>             
                 </Cloud>
             </IfCondition>      
        
         </ConfigSection> 
     
         <!-- * infuscolium * -->
     
         <ConfigSection>
     
             <IfCondition condition=':= if(age, age.infuscoliumClusters > 0, fantasyDist = "vanillaStdGen")'>
                 <StandardGen name='infuscoliumStandard' block='Metallurgy:fantasy.ore:2' inherits='PresetStandardGen'> 
                 <Description> Equivalent to vanilla minecraft ore distribution </Description>
                 <DrawWireframe>:=drawWireframes</DrawWireframe>
                 <WireframeColor>0x60c7558f</WireframeColor>
                 <Setting name='Size' avg=':= fantasySize * _default_'/> 
                     <Setting name='Frequency' avg=':= 0.1 * fantasyFreq * if(age,age.infuscoliumClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 16/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel'/>
                 </StandardGen> 
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.infuscoliumVeins > 0, fantasyDist = "layeredVeins")'>
                 <Veins name='infuscoliumVeins' block='Metallurgy:fantasy.ore:2' inherits='PresetLayeredVeins'> 
                     <Description> 
                         Ore spawns in the height 10-30 range.  The veins are shorter than average,
                         and much rarer overall.  Ore is not easy to find.
                     </Description>  
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60c7558f</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.85 * fantasyFreq * if(age,age.infuscoliumVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= 0.8 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 20/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10'/>  
                     <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/> 
                     <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                     <Setting name='SegmentRadius' avg=':= 0.7 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='SegmentAngle' avg='0.6' range='0.40' /> 
            <Setting name='SegmentPitch' avg='0.6' range='0.40' /> 
                 </Veins>
                 <Veins name='infuscoliumVeinsForest' inherits='infuscoliumVeins'>
                     <Description> This roughly triples the chance of finding ore in forested biomes. </Description> 
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Forest'/>    
                 </Veins>
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.infuscoliumClouds > 0, fantasyDist = "strategicClouds")'>
                 <Cloud name='infuscoliumCloud' block='Metallurgy:fantasy.ore:2' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in forest biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60c7558f</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 4.5 * fantasyFreq * if(age,age.infuscoliumClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 0.8 * fantasySize * _default_' range=':= 0.8 * fantasySize * _default_'/>
                     <Setting name='CloudThickness' avg=':= 0.8 * fantasySize * _default_' range=':= fantasySize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.3 * _default_'/>
                     <BiomeType name='Forest'/>    
                     <Veins name='infuscoliumHintVeins' block='Metallurgy:fantasy.ore:2' inherits='PresetHintVeins'>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60c7558f</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 0.3 * _default_' range=':= _default_'/>
                         <Setting name='MotherlodeRangeLimit' avg=':= 0.75 * fantasySize * _default_' range=':= 0.65 * fantasySize * _default_'/>                    
                     </Veins>             
                 </Cloud>
             </IfCondition>      
        
         </ConfigSection> 
     
         <!-- * oureclase * -->
     
         <ConfigSection>
     
             <IfCondition condition=':= if(age, age.oureclaseClusters > 0, fantasyDist = "vanillaStdGen")'>
                 <StandardGen name='oureclaseStandard' block='Metallurgy:fantasy.ore:4' inherits='PresetStandardGen'> 
                 <Description> Equivalent to vanilla minecraft ore distribution </Description>
                 <DrawWireframe>:=drawWireframes</DrawWireframe>
                 <WireframeColor>0x60d4a332</WireframeColor>
                 <Setting name='Size' avg=':= fantasySize * _default_'/> 
                     <Setting name='Frequency' avg=':= 0.1 * fantasyFreq * if(age,age.oureclaseClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 16/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel'/>
                 </StandardGen> 
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.oureclaseVeins > 0, fantasyDist = "layeredVeins")'>
                 <Veins name='oureclaseVeins' block='Metallurgy:fantasy.ore:4' inherits='PresetLayeredVeins'> 
                     <Description> 
                         Ore spawns in the height 10-30 range.  The veins are shorter than average,
                         and much rarer overall.  Ore is not easy to find.
                     </Description>  
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60d4a332</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.85 * fantasyFreq * if(age,age.oureclaseVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= 0.8 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 20/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10'/>  
                     <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/> 
                     <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                     <Setting name='SegmentRadius' avg=':= 0.7 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='SegmentAngle' avg='0.6' range='0.40' /> 
            <Setting name='SegmentPitch' avg='0.6' range='0.40' /> 
                 </Veins>
                 <Veins name='oureclaseVeinsForest' inherits='oureclaseVeins'>
                     <Description> This roughly triples the chance of finding ore in forested biomes. </Description> 
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Forest'/>    
                 </Veins>
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.oureclaseClouds > 0, fantasyDist = "strategicClouds")'>
                 <Cloud name='oureclaseCloud' block='Metallurgy:fantasy.ore:4' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in forest biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60d4a332</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 4.5 * fantasyFreq * if(age,age.oureclaseClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 0.8 * fantasySize * _default_' range=':= 0.8 * fantasySize * _default_'/>
                     <Setting name='CloudThickness' avg=':= 0.8 * fantasySize * _default_' range=':= fantasySize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.3 * _default_'/>
                     <BiomeType name='Forest'/>    
                     <Veins name='oureclaseHintVeins' block='Metallurgy:fantasy.ore:4' inherits='PresetHintVeins'>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60d4a332</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 0.3 * _default_' range=':= _default_'/>
                         <Setting name='MotherlodeRangeLimit' avg=':= 0.75 * fantasySize * _default_' range=':= 0.65 * fantasySize * _default_'/>                    
                     </Veins>             
                 </Cloud>
             </IfCondition>      
        
         </ConfigSection> 
	 
         <!-- * astralsilver * -->
     
         <ConfigSection>
     
             <IfCondition condition=':= if(age, age.astralm3silverClusters > 0, fantasyDist = "vanillaStdGen")'>
                 <StandardGen name='astralsilverStandard' block='Metallurgy:fantasy.ore:5' inherits='PresetStandardGen'> 
                 <Description> Equivalent to vanilla minecraft ore distribution </Description>
                 <DrawWireframe>:=drawWireframes</DrawWireframe>
                 <WireframeColor>0x60a4b5b6</WireframeColor>
                 <Setting name='Size' avg=':= fantasySize * _default_'/> 
                     <Setting name='Frequency' avg=':= 0.1 * fantasyFreq * if(age,age.astralm3silverClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 16/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel'/>
                 </StandardGen> 
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.astralm3silverVeins > 0, fantasyDist = "layeredVeins")'>
                 <Veins name='astralm3silverVeins' block='Metallurgy:fantasy.ore:5' inherits='PresetLayeredVeins'> 
                     <Description> 
                         Ore spawns in the height 10-30 range.  The veins are shorter than average,
                         and much rarer overall.  Ore is not easy to find.
                     </Description>  
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60a4b5b6</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.85 * fantasyFreq * if(age,age.astralm3silverVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= 0.8 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 20/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10'/>  
                     <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/> 
                     <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                     <Setting name='SegmentRadius' avg=':= 0.7 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='SegmentAngle' avg='0.6' range='0.40' /> 
            <Setting name='SegmentPitch' avg='0.6' range='0.40' /> 
                 </Veins>
                 <Veins name='astralm3silverVeinsForest' inherits='astralm3silverVeins'>
                     <Description> This roughly triples the chance of finding ore in forested biomes. </Description> 
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Forest'/>    
                 </Veins>
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.astralm3silverClouds > 0, fantasyDist = "strategicClouds")'>
                 <Cloud name='astralsilverCloud' block='Metallurgy:fantasy.ore:5' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in forest biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60a4b5b6</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 4.5 * fantasyFreq * if(age,age.astralm3silverClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 0.8 * fantasySize * _default_' range=':= 0.8 * fantasySize * _default_'/>
                     <Setting name='CloudThickness' avg=':= 0.8 * fantasySize * _default_' range=':= fantasySize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.3 * _default_'/>
                     <BiomeType name='Forest'/>    
                     <Veins name='astralsilverHintVeins' block='Metallurgy:fantasy.ore:5' inherits='PresetHintVeins'>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60a4b5b6</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 0.3 * _default_' range=':= _default_'/>
                         <Setting name='MotherlodeRangeLimit' avg=':= 0.75 * fantasySize * _default_' range=':= 0.65 * fantasySize * _default_'/>                    
                     </Veins>             
                 </Cloud>
             </IfCondition>      
        
         </ConfigSection> 
     
         <!-- * carmot * -->
     
         <ConfigSection>
     
             <IfCondition condition=':= if(age, age.carmotClusters > 0, fantasyDist = "vanillaStdGen")'>
                 <StandardGen name='carmotStandard' block='Metallurgy:fantasy.ore:6' inherits='PresetStandardGen'> 
                 <Description> Equivalent to vanilla minecraft ore distribution </Description>
                 <DrawWireframe>:=drawWireframes</DrawWireframe>
                 <WireframeColor>0x60a89c47</WireframeColor>
                 <Setting name='Size' avg=':= fantasySize * _default_'/> 
                     <Setting name='Frequency' avg=':= 0.1 * fantasyFreq * if(age,age.carmotClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 16/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel'/>
                 </StandardGen> 
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.carmotVeins > 0, fantasyDist = "layeredVeins")'>
                 <Veins name='carmotVeins' block='Metallurgy:fantasy.ore:6' inherits='PresetLayeredVeins'> 
                     <Description> 
                         Ore spawns in the height 10-30 range.  The veins are shorter than average,
                         and much rarer overall.  Ore is not easy to find.
                     </Description>  
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60a89c47</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.85 * fantasyFreq * if(age,age.carmotVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= 0.8 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 20/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10'/>  
                     <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/> 
                     <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                     <Setting name='SegmentRadius' avg=':= 0.7 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='SegmentAngle' avg='0.6' range='0.40' /> 
            <Setting name='SegmentPitch' avg='0.6' range='0.40' /> 
                 </Veins>
                 <Veins name='carmotVeinsForest' inherits='carmotVeins'>
                     <Description> This roughly triples the chance of finding ore in forested biomes. </Description> 
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Forest'/>    
                 </Veins>
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.carmotClouds > 0, fantasyDist = "strategicClouds")'>
                 <Cloud name='carmotCloud' block='Metallurgy:fantasy.ore:6' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in forest biomes.
                     </Description>     
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60a89c47</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 4.5 * fantasyFreq * if(age,age.carmotClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 0.8 * fantasySize * _default_' range=':= 0.8 * fantasySize * _default_'/>
                     <Setting name='CloudThickness' avg=':= 0.8 * fantasySize * _default_' range=':= fantasySize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.3 * _default_'/>
                     <BiomeType name='Forest'/>    
                     <Veins name='carmotHintVeins' block='Metallurgy:fantasy.ore:6' inherits='PresetHintVeins'>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60a89c47</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 0.3 * _default_' range=':= _default_'/>
                         <Setting name='MotherlodeRangeLimit' avg=':= 0.75 * fantasySize * _default_' range=':= 0.65 * fantasySize * _default_'/>                    
                     </Veins>             
                 </Cloud>
             </IfCondition>      
        
         </ConfigSection> 
     
         <!-- * mithril * -->
     
         <ConfigSection>
     
             <IfCondition condition=':= if(age, age.mithrilClusters > 0, fantasyDist = "vanillaStdGen")'>
                 <StandardGen name='mithrilStandard' block='Metallurgy:fantasy.ore:7' inherits='PresetStandardGen'> 
                 <Description> Equivalent to vanilla minecraft ore distribution </Description>
                 <DrawWireframe>:=drawWireframes</DrawWireframe>
                 <WireframeColor>0x6081dde5</WireframeColor>
                 <Setting name='Size' avg=':= fantasySize * _default_'/> 
                     <Setting name='Frequency' avg=':= 0.1 * fantasyFreq * if(age,age.mithrilClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 16/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel'/>
                 </StandardGen> 
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.mithrilVeins > 0, fantasyDist = "layeredVeins")'>
                 <Veins name='mithrilVeins' block='Metallurgy:fantasy.ore:7' inherits='PresetLayeredVeins'> 
                     <Description> 
                         Ore spawns in the height 10-30 range.  The veins are shorter than average,
                         and much rarer overall.  Ore is not easy to find.
                     </Description>  
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6081dde5</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.85 * fantasyFreq * if(age,age.mithrilVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= 0.8 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 20/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10'/>  
                     <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/> 
                     <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                     <Setting name='SegmentRadius' avg=':= 0.7 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='SegmentAngle' avg='0.6' range='0.40' /> 
            <Setting name='SegmentPitch' avg='0.6' range='0.40' /> 
                 </Veins>
                 <Veins name='mithrilVeinsForest' inherits='mithrilVeins'>
                     <Description> This roughly triples the chance of finding ore in forested biomes. </Description> 
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Forest'/>    
                 </Veins>
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.mithrilClouds > 0, fantasyDist = "strategicClouds")'>
                 <Cloud name='mithrilCloud' block='Metallurgy:fantasy.ore:7' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in forest biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6081dde5</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 4.5 * fantasyFreq * if(age,age.mithrilClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 0.8 * fantasySize * _default_' range=':= 0.8 * fantasySize * _default_'/>
                     <Setting name='CloudThickness' avg=':= 0.8 * fantasySize * _default_' range=':= fantasySize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.3 * _default_'/>
                     <BiomeType name='Forest'/>    
                     <Veins name='mithrilHintVeins' block='Metallurgy:fantasy.ore:7' inherits='PresetHintVeins'>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6081dde5</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 0.3 * _default_' range=':= _default_'/>
                         <Setting name='MotherlodeRangeLimit' avg=':= 0.75 * fantasySize * _default_' range=':= 0.65 * fantasySize * _default_'/>                    
                     </Veins>             
                 </Cloud>
             </IfCondition>      
        
         </ConfigSection> 
     
         <!-- * rubracium * -->
     
         <ConfigSection>
     
             <IfCondition condition=':= if(age, age.rubraciumClusters > 0, fantasyDist = "vanillaStdGen")'>
                 <StandardGen name='rubraciumStandard' block='Metallurgy:fantasy.ore:8' inherits='PresetStandardGen'> 
                 <Description> Equivalent to vanilla minecraft ore distribution </Description>
                 <DrawWireframe>:=drawWireframes</DrawWireframe>
                 <WireframeColor>0x60b85155</WireframeColor>
                 <Setting name='Size' avg=':= fantasySize * _default_'/> 
                     <Setting name='Frequency' avg=':= 0.1 * fantasyFreq * if(age,age.rubraciumClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 16/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel'/>
                 </StandardGen> 
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.rubraciumVeins > 0, fantasyDist = "layeredVeins")'>
                 <Veins name='rubraciumVeins' block='Metallurgy:fantasy.ore:8' inherits='PresetLayeredVeins'> 
                     <Description> 
                         Ore spawns in the height 10-30 range.  The veins are shorter than average,
                         and much rarer overall.  Ore is not easy to find.
                     </Description>  
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60b85155</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.85 * fantasyFreq * if(age,age.rubraciumVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= 0.8 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 20/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10'/>  
                     <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/> 
                     <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                     <Setting name='SegmentRadius' avg=':= 0.7 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='SegmentAngle' avg='0.6' range='0.40' /> 
            <Setting name='SegmentPitch' avg='0.6' range='0.40' /> 
                 </Veins>
                 <Veins name='rubraciumVeinsForest' inherits='rubraciumVeins'>
                     <Description> This roughly triples the chance of finding ore in forested biomes. </Description> 
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Forest'/>    
                 </Veins>
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.rubraciumClouds > 0, fantasyDist = "strategicClouds")'>
                 <Cloud name='rubraciumCloud' block='Metallurgy:fantasy.ore:8' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in forest biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60b85155</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 4.5 * fantasyFreq * if(age,age.rubraciumClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 0.8 * fantasySize * _default_' range=':= 0.8 * fantasySize * _default_'/>
                     <Setting name='CloudThickness' avg=':= 0.8 * fantasySize * _default_' range=':= fantasySize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.3 * _default_'/>
                     <BiomeType name='Forest'/>    
                     <Veins name='rubraciumHintVeins' block='Metallurgy:fantasy.ore:8' inherits='PresetHintVeins'>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60b85155</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 0.3 * _default_' range=':= _default_'/>
                         <Setting name='MotherlodeRangeLimit' avg=':= 0.75 * fantasySize * _default_' range=':= 0.65 * fantasySize * _default_'/>                    
                     </Veins>             
                 </Cloud>
             </IfCondition>      
        
         </ConfigSection> 
     
         <!-- * orichalcum * -->
     
         <ConfigSection>
     
             <IfCondition condition=':= if(age, age.orichalcumClusters > 0, fantasyDist = "vanillaStdGen")'>
                 <StandardGen name='orichalcumStandard' block='Metallurgy:fantasy.ore:11' inherits='PresetStandardGen'> 
                 <Description> Equivalent to vanilla minecraft ore distribution </Description>
                 <DrawWireframe>:=drawWireframes</DrawWireframe>
                 <WireframeColor>0x6095ba78</WireframeColor>
                 <Setting name='Size' avg=':= fantasySize * _default_'/> 
                     <Setting name='Frequency' avg=':= 0.1 * fantasyFreq * if(age,age.orichalcumClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 16/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel'/>
                 </StandardGen> 
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.orichalcumVeins > 0, fantasyDist = "layeredVeins")'>
                 <Veins name='orichalcumVeins' block='Metallurgy:fantasy.ore:11' inherits='PresetLayeredVeins'> 
                     <Description> 
                         Ore spawns in the height 10-30 range.  The veins are shorter than average,
                         and much rarer overall.  Ore is not easy to find.
                     </Description>  
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6095ba78</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.85 * fantasyFreq * if(age,age.orichalcumVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= 0.8 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 20/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10'/>  
                     <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/> 
                     <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                     <Setting name='SegmentRadius' avg=':= 0.7 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='SegmentAngle' avg='0.6' range='0.40' /> 
            <Setting name='SegmentPitch' avg='0.6' range='0.40' /> 
                 </Veins>
                 <Veins name='orichalcumVeinsForest' inherits='orichalcumVeins'>
                     <Description> This roughly triples the chance of finding ore in forested biomes. </Description> 
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Forest'/>    
                 </Veins>
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.orichalcumClouds > 0, fantasyDist = "strategicClouds")'>
                 <Cloud name='orichalcumCloud' block='Metallurgy:fantasy.ore:11' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in forest biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6095ba78</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 4.5 * fantasyFreq * if(age,age.orichalcumClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 0.8 * fantasySize * _default_' range=':= 0.8 * fantasySize * _default_'/>
                     <Setting name='CloudThickness' avg=':= 0.8 * fantasySize * _default_' range=':= fantasySize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.3 * _default_'/>
                     <BiomeType name='Forest'/>    
                     <Veins name='orichalcumHintVeins' block='Metallurgy:fantasy.ore:11' inherits='PresetHintVeins'>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6095ba78</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 0.3 * _default_' range=':= _default_'/>
                         <Setting name='MotherlodeRangeLimit' avg=':= 0.75 * fantasySize * _default_' range=':= 0.65 * fantasySize * _default_'/>                    
                     </Veins>             
                 </Cloud>
             </IfCondition>      
        
         </ConfigSection> 
     
         <!-- * adamantine * -->
     
         <ConfigSection>
     
             <IfCondition condition=':= if(age, age.adamantineClusters > 0, fantasyDist = "vanillaStdGen")'>
                 <StandardGen name='adamantineStandard' block='Metallurgy:fantasy.ore:13' inherits='PresetStandardGen'> 
                 <Description> Equivalent to vanilla minecraft ore distribution </Description>
                 <DrawWireframe>:=drawWireframes</DrawWireframe>
                 <WireframeColor>0x60e9313c</WireframeColor>
                 <Setting name='Size' avg=':= fantasySize * _default_'/> 
                     <Setting name='Frequency' avg=':= 0.1 * fantasyFreq * if(age,age.adamantineClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 16/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel'/>
                 </StandardGen> 
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.adamantineVeins > 0, fantasyDist = "layeredVeins")'>
                 <Veins name='adamantineVeins' block='Metallurgy:fantasy.ore:13' inherits='PresetLayeredVeins'> 
                     <Description> 
                         Ore spawns in the height 10-30 range.  The veins are shorter than average,
                         and much rarer overall.  Ore is not easy to find.
                     </Description>  
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60e9313c</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.85 * fantasyFreq * if(age,age.adamantineVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= 0.8 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 20/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10'/>  
                     <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/> 
                     <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                     <Setting name='SegmentRadius' avg=':= 0.7 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='SegmentAngle' avg='0.6' range='0.40' /> 
            <Setting name='SegmentPitch' avg='0.6' range='0.40' /> 
                 </Veins>
                 <Veins name='adamantineVeinsForest' inherits='adamantineVeins'>
                     <Description> This roughly triples the chance of finding ore in forested biomes. </Description> 
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <BiomeType name='Forest'/>    
                 </Veins>
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.adamantineClouds > 0, fantasyDist = "strategicClouds")'>
                 <Cloud name='adamantineCloud' block='Metallurgy:fantasy.ore:13' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in forest biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60e9313c</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 4.5 * fantasyFreq * if(age,age.adamantineClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 0.8 * fantasySize * _default_' range=':= 0.8 * fantasySize * _default_'/>
                     <Setting name='CloudThickness' avg=':= 0.8 * fantasySize * _default_' range=':= fantasySize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.3 * _default_'/>
                     <BiomeType name='Forest'/>    
                     <Veins name='adamantineHintVeins' block='Metallurgy:fantasy.ore:13' inherits='PresetHintVeins'>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60e9313c</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 0.3 * _default_' range=':= _default_'/>
                         <Setting name='MotherlodeRangeLimit' avg=':= 0.75 * fantasySize * _default_' range=':= 0.65 * fantasySize * _default_'/>                    
                     </Veins>             
                 </Cloud>
             </IfCondition>      
        
         </ConfigSection> 
     
         <!-- * atlarus * -->
     
         <ConfigSection>
     
             <IfCondition condition=':= if(age, age.atlarusClusters > 0, fantasyDist = "vanillaStdGen")'>
                 <StandardGen name='atlarusStandard' block='Metallurgy:fantasy.ore:14' inherits='PresetStandardGen'> 
                 <Description> Equivalent to vanilla minecraft ore distribution </Description>
                 <DrawWireframe>:=drawWireframes</DrawWireframe>
                 <WireframeColor>0x60f5d700</WireframeColor>
                 <Setting name='Size' avg=':= fantasySize * _default_'/> 
                     <Setting name='Frequency' avg=':= 0.1 * fantasyFreq * if(age,age.atlarusClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 16/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel'/>
                 </StandardGen> 
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.atlarusVeins > 0, fantasyDist = "layeredVeins")'>
                 <Veins name='atlarusVeins' block='Metallurgy:fantasy.ore:14' inherits='PresetLayeredVeins'> 
                     <Description> 
                         Ore spawns in the height 10-30 range.  The veins are shorter than average,
                         and much rarer overall.  Ore is not easy to find.
                     </Description>  
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60f5d700</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.85 * fantasyFreq * if(age,age.atlarusVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= 0.8 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 20/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10'/>  
                     <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/> 
                     <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                     <Setting name='SegmentRadius' avg=':= 0.7 * fantasySize * _default_' range=':= 0.5 * fantasySize * _default_'/>
                     <Setting name='SegmentAngle' avg='0.6' range='0.40' /> 
            <Setting name='SegmentPitch' avg='0.6' range='0.40' /> 
                 </Veins>
                 <Veins name='atlarusVeinsForest' inherits='atlarusVeins'>
                     <Description> This roughly triples the chance of finding ore in forested biomes. </Description> 
                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
                     <Biome name='Forest'/>    
                     <Biome name='ForestHills'/>      
                     <BiomeType name='Forest'/>    
                 </Veins>
             </IfCondition>
                     
             <IfCondition condition=':= if(age, age.atlarusClouds > 0, fantasyDist = "strategicClouds")'>
                 <Cloud name='atlarusCloud' block='Metallurgy:fantasy.ore:14' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in forest biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60f5d700</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 4.5 * fantasyFreq * if(age,age.atlarusClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= 0.8 * fantasySize * _default_' range=':= 0.8 * fantasySize * _default_'/>
                     <Setting name='CloudThickness' avg=':= 0.8 * fantasySize * _default_' range=':= fantasySize * _default_'/>
                     <Setting name='OreDensity' avg=':= 0.3 * _default_'/>
                     <BiomeType name='Forest'/>    
                     <Veins name='atlarusHintVeins' block='Metallurgy:fantasy.ore:14' inherits='PresetHintVeins'>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60f5d700</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= 0.3 * _default_' range=':= _default_'/>
                         <Setting name='MotherlodeRangeLimit' avg=':= 0.75 * fantasySize * _default_' range=':= 0.65 * fantasySize * _default_'/>                    
                     </Veins>             
                 </Cloud>
             </IfCondition>      
        
         </ConfigSection> 
     </IfCondition>
     
     
         <!--*******************   Nether Ores   ***********************
         *   
         *   Nether Ores include ignatius, shadow iron, midasium, 
         *   vyroxeres, ceruclase, kalendrite, vulcanite, sanguinite, 
         *   lemurite, and adluorite.  These ores can only be found
         *   naturally in the Nether.  Distribution is based on iron.
         *   
         **********************************************************-->
     <IfCondition condition=':= dimension.generator = "HellRandomLevelSource"'>

     <!--**********   Metallurgy 4 Deposit Removal   *************-->
        <Substitute name='Metallurgy3OreSubstitute' block='minecraft:netherrack'>
            <Description> 
                Replace default-generated Metallurgy 4 ore clusters with netherrack.   
            </Description>
            <Comment>  
                The global option deferredPopulationRange must be large enough to catch all ore clusters (>= 32).
            </Comment>
            <Replaces block='Metallurgy:nether.ore'/> 
			<Comment>
				Block IDs: 
				Metallurgy:nether.ore = Nether Ores
			</Comment>
				
        </Substitute>
       
       
         <!-- * ignatius * -->
     
         <ConfigSection>
         
             <IfCondition condition=':= if(age, age.ignatiusClusters > 0, netherDist = "vanillaStdGen")'>
                 <StandardGen name='ignatiusStandard' block='Metallurgy:nether.ore' inherits='PresetStandardGen'> 
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60e46c18</WireframeColor>
                     <Setting name='Size' avg=':= netherSize * _default_'/> 
                     <Setting name='Frequency' avg=':= netherFreq * if(age,age.ignatiusClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 60' range=':= 60'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </StandardGen> 
             </IfCondition>
                 
             <IfCondition condition=':= if(age, age.ignatiusVeins > 0, netherDist = "layeredVeins")'>
                 <Veins name='ignatiusVeins' block='Metallurgy:nether.ore' inherits='PresetLayeredVeins'>
                     <Description> 
                         Ore spawns in the height 30-50 range.  The veins are average in length and size.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60e46c18</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.9 * netherFreq * if(age,age.ignatiusVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60' range=':= 60' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10.5'/>
                     <Setting name='SegmentRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </Veins>
             </IfCondition>   
                 
             <IfCondition condition=':= if(age, age.ignatiusClouds > 0, netherDist = "strategicClouds")'>
                 <Cloud name='ignatiusCloud' block='Metallurgy:nether.ore' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in cold biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60e46c18</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 2.5 * netherFreq * if(age,age.ignatiusClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= netherSize * _default_' range=':= netherSize * _default_'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     <Veins name='ignatiusHintVeins' block='Metallurgy:nether.ore' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60e46c18</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>   
                         <Setting name='MotherlodeRangeLimit' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>    
                         <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     </Veins>                         
                 </Cloud> 
             </IfCondition>      
        
         </ConfigSection>
     
         <!-- * shadowiron * -->
     
         <ConfigSection>
         
             <IfCondition condition=':= if(age, age.shadowironClusters > 0, netherDist = "vanillaStdGen")'>
                 <StandardGen name='shadowironStandard' block='Metallurgy:nether.ore:1' inherits='PresetStandardGen'> 
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60786657</WireframeColor>
                     <Setting name='Size' avg=':= netherSize * _default_'/> 
                     <Setting name='Frequency' avg=':= netherFreq * if(age,age.shadowironClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 60' range=':= 60'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </StandardGen> 
             </IfCondition>
                 
             <IfCondition condition=':= if(age, age.shadowironVeins > 0, netherDist = "layeredVeins")'>
                 <Veins name='shadowironVeins' block='Metallurgy:nether.ore:1' inherits='PresetLayeredVeins'>
                     <Description> 
                         Ore spawns in the height 30-50 range.  The veins are average in length and size.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60786657</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.9 * netherFreq * if(age,age.shadowironVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60' range=':= 60' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10.5'/>
                     <Setting name='SegmentRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </Veins>
             </IfCondition>   
                 
             <IfCondition condition=':= if(age, age.shadowironClouds > 0, netherDist = "strategicClouds")'>
                 <Cloud name='shadowironCloud' block='Metallurgy:nether.ore:1' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in cold biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60786657</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 2.5 * netherFreq * if(age,age.shadowironClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= netherSize * _default_' range=':= netherSize * _default_'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     <Veins name='shadowironHintVeins' block='Metallurgy:nether.ore:1' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60786657</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>   
                         <Setting name='MotherlodeRangeLimit' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>    
                         <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     </Veins>                         
                 </Cloud> 
             </IfCondition>      
        
         </ConfigSection>
     
         <!-- * lemurite * -->
     
         <ConfigSection>
         
             <IfCondition condition=':= if(age, age.lemuriteClusters > 0, netherDist = "vanillaStdGen")'>
                 <StandardGen name='lemuriteStandard' block='Metallurgy:nether.ore:2' inherits='PresetStandardGen'> 
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60a9aaaa</WireframeColor>
                     <Setting name='Size' avg=':= netherSize * _default_'/> 
                     <Setting name='Frequency' avg=':= netherFreq * if(age,age.lemuriteClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 60' range=':= 60'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </StandardGen> 
             </IfCondition>
                 
             <IfCondition condition=':= if(age, age.lemuriteVeins > 0, netherDist = "layeredVeins")'>
                 <Veins name='lemuriteVeins' block='Metallurgy:nether.ore:2' inherits='PresetLayeredVeins'>
                     <Description> 
                         Ore spawns in the height 30-50 range.  The veins are average in length and size.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60a9aaaa</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.9 * netherFreq * if(age,age.lemuriteVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60' range=':= 60' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10.5'/>
                     <Setting name='SegmentRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </Veins>
             </IfCondition>   
                 
             <IfCondition condition=':= if(age, age.lemuriteClouds > 0, netherDist = "strategicClouds")'>
                 <Cloud name='lemuriteCloud' block='Metallurgy:nether.ore:2' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in cold biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60a9aaaa</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 2.5 * netherFreq * if(age,age.lemuriteClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= netherSize * _default_' range=':= netherSize * _default_'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     <Veins name='lemuriteHintVeins' block='Metallurgy:nether.ore:2' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60a9aaaa</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>   
                         <Setting name='MotherlodeRangeLimit' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>    
                         <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     </Veins>                         
                 </Cloud> 
             </IfCondition>      
        
         </ConfigSection>
     
         <!-- * midasium * -->
     
         <ConfigSection>
         
             <IfCondition condition=':= if(age, age.midasiumClusters > 0, netherDist = "vanillaStdGen")'>
                 <StandardGen name='midasiumStandard' block='Metallurgy:nether.ore:3' inherits='PresetStandardGen'> 
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60ec992a</WireframeColor>
                     <Setting name='Size' avg=':= netherSize * _default_'/> 
                     <Setting name='Frequency' avg=':= netherFreq * if(age,age.midasiumClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 60' range=':= 60'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </StandardGen> 
             </IfCondition>
                 
             <IfCondition condition=':= if(age, age.midasiumVeins > 0, netherDist = "layeredVeins")'>
                 <Veins name='midasiumVeins' block='Metallurgy:nether.ore:3' inherits='PresetLayeredVeins'>
                     <Description> 
                         Ore spawns in the height 30-50 range.  The veins are average in length and size.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60ec992a</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.9 * netherFreq * if(age,age.midasiumVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60' range=':= 60' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10.5'/>
                     <Setting name='SegmentRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </Veins>
             </IfCondition>   
                 
             <IfCondition condition=':= if(age, age.midasiumClouds > 0, netherDist = "strategicClouds")'>
                 <Cloud name='midasiumCloud' block='Metallurgy:nether.ore:3' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in cold biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60ec992a</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 2.5 * netherFreq * if(age,age.midasiumClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= netherSize * _default_' range=':= netherSize * _default_'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     <Veins name='midasiumHintVeins' block='Metallurgy:nether.ore:3' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60ec992a</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>   
                         <Setting name='MotherlodeRangeLimit' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>    
                         <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     </Veins>                         
                 </Cloud> 
             </IfCondition>      
        
         </ConfigSection>
     
         <!-- * vyroxeres * -->
     
         <ConfigSection>
         
             <IfCondition condition=':= if(age, age.vyroxeresClusters > 0, netherDist = "vanillaStdGen")'>
                 <StandardGen name='vyroxeresStandard' block='Metallurgy:nether.ore:4' inherits='PresetStandardGen'> 
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6054d316</WireframeColor>
                     <Setting name='Size' avg=':= netherSize * _default_'/> 
                     <Setting name='Frequency' avg=':= netherFreq * if(age,age.vyroxeresClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 60' range=':= 60'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </StandardGen> 
             </IfCondition>
                 
             <IfCondition condition=':= if(age, age.vyroxeresVeins > 0, netherDist = "layeredVeins")'>
                 <Veins name='vyroxeresVeins' block='Metallurgy:nether.ore:4' inherits='PresetLayeredVeins'>
                     <Description> 
                         Ore spawns in the height 30-50 range.  The veins are average in length and size.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6054d316</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.9 * netherFreq * if(age,age.vyroxeresVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60' range=':= 60' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10.5'/>
                     <Setting name='SegmentRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </Veins>
             </IfCondition>   
                 
             <IfCondition condition=':= if(age, age.vyroxeresClouds > 0, netherDist = "strategicClouds")'>
                 <Cloud name='vyroxeresCloud' block='Metallurgy:nether.ore:4' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in cold biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6054d316</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 2.5 * netherFreq * if(age,age.vyroxeresClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= netherSize * _default_' range=':= netherSize * _default_'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     <Veins name='vyroxeresHintVeins' block='Metallurgy:nether.ore:4' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x6054d316</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>   
                         <Setting name='MotherlodeRangeLimit' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>    
                         <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     </Veins>                         
                 </Cloud> 
             </IfCondition>      
        
         </ConfigSection>
     
         <!-- * ceruclase * -->
     
         <ConfigSection>
         
             <IfCondition condition=':= if(age, age.ceruclaseClusters > 0, netherDist = "vanillaStdGen")'>
                 <StandardGen name='ceruclaseStandard' block='Metallurgy:nether.ore:5' inherits='PresetStandardGen'> 
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x604c859f</WireframeColor>
                     <Setting name='Size' avg=':= netherSize * _default_'/> 
                     <Setting name='Frequency' avg=':= netherFreq * if(age,age.ceruclaseClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 60' range=':= 60'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </StandardGen> 
             </IfCondition>
                 
             <IfCondition condition=':= if(age, age.ceruclaseVeins > 0, netherDist = "layeredVeins")'>
                 <Veins name='ceruclaseVeins' block='Metallurgy:nether.ore:5' inherits='PresetLayeredVeins'>
                     <Description> 
                         Ore spawns in the height 30-50 range.  The veins are average in length and size.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x604c859f</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.9 * netherFreq * if(age,age.ceruclaseVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60' range=':= 60' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10.5'/>
                     <Setting name='SegmentRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </Veins>
             </IfCondition>   
                 
             <IfCondition condition=':= if(age, age.ceruclaseClouds > 0, netherDist = "strategicClouds")'>
                 <Cloud name='ceruclaseCloud' block='Metallurgy:nether.ore:5' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in cold biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x604c859f</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 2.5 * netherFreq * if(age,age.ceruclaseClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= netherSize * _default_' range=':= netherSize * _default_'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     <Veins name='ceruclaseHintVeins' block='Metallurgy:nether.ore:5' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x604c859f</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>   
                         <Setting name='MotherlodeRangeLimit' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>    
                         <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     </Veins>                         
                 </Cloud> 
             </IfCondition>      
        
         </ConfigSection>
     
         <!-- * adluorite * -->
     
         <ConfigSection>
         
             <IfCondition condition=':= if(age, age.adluoriteClusters > 0, netherDist = "vanillaStdGen")'>
                 <StandardGen name='adluoriteStandard' block='Metallurgy:nether.ore:6' inherits='PresetStandardGen'> 
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6056c2c2</WireframeColor>
                     <Setting name='Size' avg=':= netherSize * _default_'/> 
                     <Setting name='Frequency' avg=':= netherFreq * if(age,age.adluoriteClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 60' range=':= 60'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </StandardGen> 
             </IfCondition>
                 
             <IfCondition condition=':= if(age, age.adluoriteVeins > 0, netherDist = "layeredVeins")'>
                 <Veins name='adluoriteVeins' block='Metallurgy:nether.ore:6' inherits='PresetLayeredVeins'>
                     <Description> 
                         Ore spawns in the height 30-50 range.  The veins are average in length and size.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6056c2c2</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.9 * netherFreq * if(age,age.adluoriteVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60' range=':= 60' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10.5'/>
                     <Setting name='SegmentRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </Veins>
             </IfCondition>   
                 
             <IfCondition condition=':= if(age, age.adluoriteClouds > 0, netherDist = "strategicClouds")'>
                 <Cloud name='adluoriteCloud' block='Metallurgy:nether.ore:6' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in cold biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x6056c2c2</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 2.5 * netherFreq * if(age,age.adluoriteClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= netherSize * _default_' range=':= netherSize * _default_'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     <Veins name='adluoriteHintVeins' block='Metallurgy:nether.ore:6' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x6056c2c2</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>   
                         <Setting name='MotherlodeRangeLimit' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>    
                         <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     </Veins>                         
                 </Cloud> 
             </IfCondition>      
        
         </ConfigSection>
     
         <!-- * kalendrite * -->
     
         <ConfigSection>
         
             <IfCondition condition=':= if(age, age.kalendriteClusters > 0, netherDist = "vanillaStdGen")'>
                 <StandardGen name='kalendriteStandard' block='Metallurgy:nether.ore:7' inherits='PresetStandardGen'> 
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x609447a8</WireframeColor>
                     <Setting name='Size' avg=':= netherSize * _default_'/> 
                     <Setting name='Frequency' avg=':= netherFreq * if(age,age.kalendriteClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 60' range=':= 60'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </StandardGen> 
             </IfCondition>
                 
             <IfCondition condition=':= if(age, age.kalendriteVeins > 0, netherDist = "layeredVeins")'>
                 <Veins name='kalendriteVeins' block='Metallurgy:nether.ore:7' inherits='PresetLayeredVeins'>
                     <Description> 
                         Ore spawns in the height 30-50 range.  The veins are average in length and size.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x609447a8</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.9 * netherFreq * if(age,age.kalendriteVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60' range=':= 60' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10.5'/>
                     <Setting name='SegmentRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </Veins>
             </IfCondition>   
                 
             <IfCondition condition=':= if(age, age.kalendriteClouds > 0, netherDist = "strategicClouds")'>
                 <Cloud name='kalendriteCloud' block='Metallurgy:nether.ore:7' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in cold biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x609447a8</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 2.5 * netherFreq * if(age,age.kalendriteClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= netherSize * _default_' range=':= netherSize * _default_'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     <Veins name='kalendriteHintVeins' block='Metallurgy:nether.ore:7' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x609447a8</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>   
                         <Setting name='MotherlodeRangeLimit' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>    
                         <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     </Veins>                         
                 </Cloud> 
             </IfCondition>      
        
         </ConfigSection>
     
         <!-- * vulcanite * -->
     
         <ConfigSection>
         
             <IfCondition condition=':= if(age, age.vulcaniteClusters > 0, netherDist = "vanillaStdGen")'>
                 <StandardGen name='vulcaniteStandard' block='Metallurgy:nether.ore:8' inherits='PresetStandardGen'> 
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60d14017</WireframeColor>
                     <Setting name='Size' avg=':= netherSize * _default_'/> 
                     <Setting name='Frequency' avg=':= netherFreq * if(age,age.vulcaniteClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 60' range=':= 60'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </StandardGen> 
             </IfCondition>
                 
             <IfCondition condition=':= if(age, age.vulcaniteVeins > 0, netherDist = "layeredVeins")'>
                 <Veins name='vulcaniteVeins' block='Metallurgy:nether.ore:8' inherits='PresetLayeredVeins'>
                     <Description> 
                         Ore spawns in the height 30-50 range.  The veins are average in length and size.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60d14017</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.9 * netherFreq * if(age,age.vulcaniteVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60' range=':= 60' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10.5'/>
                     <Setting name='SegmentRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </Veins>
             </IfCondition>   
                 
             <IfCondition condition=':= if(age, age.vulcaniteClouds > 0, netherDist = "strategicClouds")'>
                 <Cloud name='vulcaniteCloud' block='Metallurgy:nether.ore:8' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in cold biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60d14017</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 2.5 * netherFreq * if(age,age.vulcaniteClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= netherSize * _default_' range=':= netherSize * _default_'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     <Veins name='vulcaniteHintVeins' block='Metallurgy:nether.ore:8' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60d14017</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>   
                         <Setting name='MotherlodeRangeLimit' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>    
                         <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     </Veins>                         
                 </Cloud> 
             </IfCondition>      
        
         </ConfigSection>
     
         <!-- * sanguinite * -->
     
         <ConfigSection>
         
             <IfCondition condition=':= if(age, age.sanguiniteClusters > 0, netherDist = "vanillaStdGen")'>
                 <StandardGen name='sanguiniteStandard' block='Metallurgy:nether.ore:9' inherits='PresetStandardGen'> 
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60da0014</WireframeColor>
                     <Setting name='Size' avg=':= netherSize * _default_'/> 
                     <Setting name='Frequency' avg=':= netherFreq * if(age,age.sanguiniteClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 60' range=':= 60'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </StandardGen> 
             </IfCondition>
                 
             <IfCondition condition=':= if(age, age.sanguiniteVeins > 0, netherDist = "layeredVeins")'>
                 <Veins name='sanguiniteVeins' block='Metallurgy:nether.ore:9' inherits='PresetLayeredVeins'>
                     <Description> 
                         Ore spawns in the height 30-50 range.  The veins are average in length and size.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60da0014</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.9 * netherFreq * if(age,age.sanguiniteVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60' range=':= 60' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10.5'/>
                     <Setting name='SegmentRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                 </Veins>
             </IfCondition>   
                 
             <IfCondition condition=':= if(age, age.sanguiniteClouds > 0, netherDist = "strategicClouds")'>
                 <Cloud name='sanguiniteCloud' block='Metallurgy:nether.ore:9' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in cold biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60da0014</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 2.5 * netherFreq * if(age,age.sanguiniteClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= netherSize * _default_' range=':= netherSize * _default_'/> 
                     <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     <Veins name='sanguiniteHintVeins' block='Metallurgy:nether.ore:9' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60da0014</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>   
                         <Setting name='MotherlodeRangeLimit' avg=':= netherSize * _default_' range=':= netherSize * _default_'/>    
                         <Replaces block='minecraft:netherrack'/>
                     <BiomeType name='Nether'/>
                     </Veins>                         
                 </Cloud> 
             </IfCondition>      
        
         </ConfigSection>
     </IfCondition>
     
         <!--*******************   Ender Ores   ***********************
         *   
         *   Ender ores include eximite and meutoite.  These ores can
         *   only be found naturally in the End.  Distribution is based
         *   on iron.
         *   
         **********************************************************-->
     
     <IfCondition condition=':= dimension.generator = "EndRandomLevelSource"'>
	 

     <!--**********   Metallurgy 4 Deposit Removal   *************-->
        <Substitute name='Metallurgy3OreSubstitute' block='minecraft:end_stone'>
            <Description> 
                Replace default-generated Metallurgy 4 ore clusters
                with end stone.   
            </Description>
            <Comment>  
                The global option deferredPopulationRange must be large enough to catch all ore clusters (>= 32).
            </Comment>
            <Replaces block='Metallurgy:ender.ore'/> 
			<Comment>
				Block IDs: 
				Metallurgy:ender.ore 	= Ender Ores
			</Comment>
				
        </Substitute>
       
       
         <!-- * eximite * -->
     
         <ConfigSection>
         
             <IfCondition condition=':= if(age, age.eximiteClusters > 0, enderDist = "vanillaStdGen")'>
                 <StandardGen name='eximiteStandard' block='Metallurgy:ender.ore:0' inherits='PresetStandardGen'> 
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60714e8a</WireframeColor>
                     <Setting name='Size' avg=':= enderSize * _default_'/> 
                     <Setting name='Frequency' avg=':= enderFreq * if(age,age.eximiteClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 60' range=':= 60'/> 
                     <Replaces block='minecraft:end_stone'/>
                     <BiomeType name='End'/>
                 </StandardGen> 
             </IfCondition>
                 
             <IfCondition condition=':= if(age, age.eximiteVeins > 0, enderDist = "layeredVeins")'>
                 <Veins name='eximiteVeins' block='Metallurgy:ender.ore:0' inherits='PresetLayeredVeins'>
                     <Description> 
                         Ore spawns in the height 30-50 range.  The veins are average in length and size.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60714e8a</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.9 * enderFreq * if(age,age.eximiteVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= enderSize * _default_' range=':= enderSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60' range=':= 60' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10.5'/>
                     <Setting name='SegmentRadius' avg=':= enderSize * _default_' range=':= enderSize * _default_'/>
                     <Replaces block='minecraft:end_stone'/>
                     <BiomeType name='End'/>
                 </Veins>
             </IfCondition>   
                 
             <IfCondition condition=':= if(age, age.eximiteClouds > 0, enderDist = "strategicClouds")'>
                 <Cloud name='eximiteCloud' block='Metallurgy:ender.ore:0' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in cold biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60714e8a</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 2.5 * enderFreq * if(age,age.eximiteClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= enderSize * _default_' range=':= enderSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= enderSize * _default_' range=':= enderSize * _default_'/> 
                     <Replaces block='minecraft:end_stone'/>
                     <BiomeType name='End'/>
                     <Veins name='eximiteHintVeins' block='Metallurgy:ender.ore:0' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60714e8a</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>   
                         <Setting name='MotherlodeRangeLimit' avg=':= enderSize * _default_' range=':= enderSize * _default_'/>
                         <Replaces block='minecraft:end_stone'/>
                     <BiomeType name='End'/>
                     </Veins>                         
                 </Cloud> 
             </IfCondition>      
        
         </ConfigSection>
     
         <!-- * meutoite * -->
             
         <ConfigSection>
         
             <IfCondition condition=':= if(age, age.meutoiteClusters > 0, enderDist = "vanillaStdGen")'>
                 <StandardGen name='meutoiteStandard' block='Metallurgy:ender.ore:1' inherits='PresetStandardGen'> 
                     <Description> Equivalent to vanilla minecraft ore distribution </Description>
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60671f9c</WireframeColor>
                     <Setting name='Size' avg=':= enderSize * _default_'/> 
                     <Setting name='Frequency' avg=':= enderFreq * if(age,age.meutoiteClusters,1) * _default_'/>
                     <Setting name='Height' avg=':= 60' range=':= 60'/> 
                     <Replaces block='minecraft:end_stone'/>
                     <BiomeType name='End'/>
                 </StandardGen> 
             </IfCondition>
                 
             <IfCondition condition=':= if(age, age.meutoiteVeins > 0, enderDist = "layeredVeins")'>
                 <Veins name='meutoiteVeins' block='Metallurgy:ender.ore:1' inherits='PresetLayeredVeins'>
                     <Description> 
                         Ore spawns in the height 30-50 range.  The veins are average in length and size.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60671f9c</WireframeColor>
                     <Setting name='MotherlodeFrequency' avg=':= 0.9 * enderFreq * if(age,age.meutoiteVeins,1) * _default_'/>
                     <Setting name='MotherlodeSize' avg=':= enderSize * _default_' range=':= enderSize * _default_'/>
                     <Setting name='MotherlodeHeight' avg=':= 60' range=':= 60' type='normal'/>
                     <Setting name='BranchHeightLimit' avg='10.5'/>
                     <Setting name='SegmentRadius' avg=':= enderSize * _default_' range=':= enderSize * _default_'/>
                     <Replaces block='minecraft:end_stone'/>
                     <BiomeType name='End'/>
                 </Veins>
             </IfCondition>   
                 
             <IfCondition condition=':= if(age, age.meutoiteClouds > 0, enderDist = "strategicClouds")'>
                 <Cloud name='meutoiteCloud' block='Metallurgy:ender.ore:1' inherits='PresetStrategicCloud'>
                     <Description>  
                         Diffuse ore cloud surrounded by single-block "hint" veins, found in cold biomes.
                     </Description> 
                     <DrawWireframe>:=drawWireframes</DrawWireframe>
                     <WireframeColor>0x60671f9c</WireframeColor>
                     <Setting name='DistributionFrequency' avg=':= 2.5 * enderFreq * if(age,age.meutoiteClouds,1) * _default_'/>
                     <Setting name='CloudRadius' avg=':= enderSize * _default_' range=':= enderSize * _default_'/>
                     <Setting name='CloudThickness' avg=':= enderSize * _default_' range=':= enderSize * _default_'/> 
                     <Replaces block='minecraft:end_stone'/>
                     <BiomeType name='End'/>
                     <Veins name='meutoiteHintVeins' block='Metallurgy:ender.ore:1' inherits='PresetHintVeins'>
                         <DrawWireframe>:=drawWireframes</DrawWireframe>
                         <WireframeColor>0x60671f9c</WireframeColor>
                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>   
                         <Setting name='MotherlodeRangeLimit' avg=':= enderSize * _default_' range=':= enderSize * _default_'/>
                         <Replaces block='minecraft:end_stone'/>
                     <BiomeType name='End'/>
                     </Veins>                         
                 </Cloud> 
             </IfCondition>      
        
         </ConfigSection>
     
     </IfCondition>
</ConfigSection>
</IfModInstalled>
