
<!-- ================================================================ 

Custom Ore Generation:   Metallurgy 4 Module

Generates: 
Sulfur, Phosphorite, Saltpeter, Magnesium, Bitumen, Potash, Copper,
Tin, Manganese, Zinc, Silver, Platinum, Promethium, Deep Iron,
Infuscolium, Oureclase, Astral Silver, Carmot, Mithril, Rubracium,
Orichalcum, Adamantine, Atlarus, Ignatius, Shadow Iron, Lemurite,
Midasium, Vyroxeres, Ceruclase, Alduorite, Kalendrite, Vulcanite,
Sanguinite, Eximite, Meutoite

================================================================ -->

    <!-- Mod detection -->
    <IfModInstalled name="Metallurgy">
    
        <!-- Starting Configuration for Custom Ore Generation. -->
        <ConfigSection>
        
            
            <!-- Setup Screen Configuration -->
            <ConfigSection>
                <OptionDisplayGroup name='groupMetallurgy4' displayName='Metallurgy 4' displayState='shown'> 
                    <Description>
                        Distribution options for Metallurgy 4 Ores.
                    </Description>
                </OptionDisplayGroup>
                
                <!-- Sulfur Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgSulfurDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Sulfur is generated </Description> 
                        <DisplayName>Metallurgy 4 Sulfur</DisplayName>
                        <Choice value='sparseVeins' displayValue='Sparse Veins'>
                            <Description>
                                Sparse Veins.
                            </Description>
                        </Choice>
                        <Choice value='smallDeposits' displayValue='Small Deposits'>
                            <Description>
                                Small Deposits.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Sulfur is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgSulfurFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Sulfur distributions </Description>
                        <DisplayName>Metallurgy 4 Sulfur Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgSulfurSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Sulfur distributions </Description>
                        <DisplayName>Metallurgy 4 Sulfur Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Sulfur Configuration UI Complete -->
                
                
                <!-- Phosphorite Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgPhosphoriteDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Phosphorite is generated </Description> 
                        <DisplayName>Metallurgy 4 Phosphorite</DisplayName>
                        <Choice value='sparseVeins' displayValue='Sparse Veins'>
                            <Description>
                                Sparse Veins.
                            </Description>
                        </Choice>
                        <Choice value='smallDeposits' displayValue='Small Deposits'>
                            <Description>
                                Small Deposits.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Phosphorite is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgPhosphoriteFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Phosphorite distributions </Description>
                        <DisplayName>Metallurgy 4 Phosphorite Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgPhosphoriteSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Phosphorite distributions </Description>
                        <DisplayName>Metallurgy 4 Phosphorite Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Phosphorite Configuration UI Complete -->
                
                
                <!-- Saltpeter Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgSaltpeterDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Saltpeter is generated </Description> 
                        <DisplayName>Metallurgy 4 Saltpeter</DisplayName>
                        <Choice value='sparseVeins' displayValue='Sparse Veins'>
                            <Description>
                                Sparse Veins.
                            </Description>
                        </Choice>
                        <Choice value='smallDeposits' displayValue='Small Deposits'>
                            <Description>
                                Small Deposits.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Saltpeter is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgSaltpeterFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Saltpeter distributions </Description>
                        <DisplayName>Metallurgy 4 Saltpeter Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgSaltpeterSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Saltpeter distributions </Description>
                        <DisplayName>Metallurgy 4 Saltpeter Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Saltpeter Configuration UI Complete -->
                
                
                <!-- Magnesium Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgMagnesiumDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Magnesium is generated </Description> 
                        <DisplayName>Metallurgy 4 Magnesium</DisplayName>
                        <Choice value='sparseVeins' displayValue='Sparse Veins'>
                            <Description>
                                Sparse Veins.
                            </Description>
                        </Choice>
                        <Choice value='smallDeposits' displayValue='Small Deposits'>
                            <Description>
                                Small Deposits.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Magnesium is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgMagnesiumFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Magnesium distributions </Description>
                        <DisplayName>Metallurgy 4 Magnesium Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgMagnesiumSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Magnesium distributions </Description>
                        <DisplayName>Metallurgy 4 Magnesium Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Magnesium Configuration UI Complete -->
                
                
                <!-- Bitumen Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgBitumenDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Bitumen is generated </Description> 
                        <DisplayName>Metallurgy 4 Bitumen</DisplayName>
                        <Choice value='sparseVeins' displayValue='Sparse Veins'>
                            <Description>
                                Sparse Veins.
                            </Description>
                        </Choice>
                        <Choice value='smallDeposits' displayValue='Small Deposits'>
                            <Description>
                                Small Deposits.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Bitumen is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgBitumenFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Bitumen distributions </Description>
                        <DisplayName>Metallurgy 4 Bitumen Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgBitumenSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Bitumen distributions </Description>
                        <DisplayName>Metallurgy 4 Bitumen Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Bitumen Configuration UI Complete -->
                
                
                <!-- Potash Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgPotashDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Potash is generated </Description> 
                        <DisplayName>Metallurgy 4 Potash</DisplayName>
                        <Choice value='sparseVeins' displayValue='Sparse Veins'>
                            <Description>
                                Sparse Veins.
                            </Description>
                        </Choice>
                        <Choice value='smallDeposits' displayValue='Small Deposits'>
                            <Description>
                                Small Deposits.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Potash is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgPotashFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Potash distributions </Description>
                        <DisplayName>Metallurgy 4 Potash Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgPotashSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Potash distributions </Description>
                        <DisplayName>Metallurgy 4 Potash Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Potash Configuration UI Complete -->
                
                
                <!-- Copper Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgCopperDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Copper is generated </Description> 
                        <DisplayName>Metallurgy 4 Copper</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Copper is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgCopperFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Copper distributions </Description>
                        <DisplayName>Metallurgy 4 Copper Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgCopperSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Copper distributions </Description>
                        <DisplayName>Metallurgy 4 Copper Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Copper Configuration UI Complete -->
                
                
                <!-- Tin Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgTinDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Tin is generated </Description> 
                        <DisplayName>Metallurgy 4 Tin</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Tin is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgTinFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Tin distributions </Description>
                        <DisplayName>Metallurgy 4 Tin Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgTinSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Tin distributions </Description>
                        <DisplayName>Metallurgy 4 Tin Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Tin Configuration UI Complete -->
                
                
                <!-- Manganese Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgManganeseDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Manganese is generated </Description> 
                        <DisplayName>Metallurgy 4 Manganese</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Manganese is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgManganeseFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Manganese distributions </Description>
                        <DisplayName>Metallurgy 4 Manganese Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgManganeseSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Manganese distributions </Description>
                        <DisplayName>Metallurgy 4 Manganese Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Manganese Configuration UI Complete -->
                
                
                <!-- Zinc Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgZincDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Zinc is generated </Description> 
                        <DisplayName>Metallurgy 4 Zinc</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Zinc is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgZincFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Zinc distributions </Description>
                        <DisplayName>Metallurgy 4 Zinc Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgZincSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Zinc distributions </Description>
                        <DisplayName>Metallurgy 4 Zinc Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Zinc Configuration UI Complete -->
                
                
                <!-- Silver Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgSilverDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Silver is generated </Description> 
                        <DisplayName>Metallurgy 4 Silver</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Silver is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgSilverFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Silver distributions </Description>
                        <DisplayName>Metallurgy 4 Silver Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgSilverSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Silver distributions </Description>
                        <DisplayName>Metallurgy 4 Silver Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Silver Configuration UI Complete -->
                
                
                <!-- Platinum Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgPlatinumDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Platinum is generated </Description> 
                        <DisplayName>Metallurgy 4 Platinum</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Platinum is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgPlatinumFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Platinum distributions </Description>
                        <DisplayName>Metallurgy 4 Platinum Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgPlatinumSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Platinum distributions </Description>
                        <DisplayName>Metallurgy 4 Platinum Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Platinum Configuration UI Complete -->
                
                
                <!-- Promethium Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgPromethiumDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Promethium is generated </Description> 
                        <DisplayName>Metallurgy 4 Promethium</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Promethium is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgPromethiumFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Promethium distributions </Description>
                        <DisplayName>Metallurgy 4 Promethium Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgPromethiumSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Promethium distributions </Description>
                        <DisplayName>Metallurgy 4 Promethium Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Promethium Configuration UI Complete -->
                
                
                <!-- Deep Iron Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgDeepIronDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Deep Iron is generated </Description> 
                        <DisplayName>Metallurgy 4 Deep Iron</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Deep Iron is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgDeepIronFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Deep Iron distributions </Description>
                        <DisplayName>Metallurgy 4 Deep Iron Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgDeepIronSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Deep Iron distributions </Description>
                        <DisplayName>Metallurgy 4 Deep Iron Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Deep Iron Configuration UI Complete -->
                
                
                <!-- Infuscolium Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgInfuscoliumDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Infuscolium is generated </Description> 
                        <DisplayName>Metallurgy 4 Infuscolium</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Infuscolium is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgInfuscoliumFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Infuscolium distributions </Description>
                        <DisplayName>Metallurgy 4 Infuscolium Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgInfuscoliumSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Infuscolium distributions </Description>
                        <DisplayName>Metallurgy 4 Infuscolium Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Infuscolium Configuration UI Complete -->
                
                
                <!-- Oureclase Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgOureclaseDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Oureclase is generated </Description> 
                        <DisplayName>Metallurgy 4 Oureclase</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Oureclase is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgOureclaseFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Oureclase distributions </Description>
                        <DisplayName>Metallurgy 4 Oureclase Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgOureclaseSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Oureclase distributions </Description>
                        <DisplayName>Metallurgy 4 Oureclase Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Oureclase Configuration UI Complete -->
                
                
                <!-- Astral Silver Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgAstralSilverDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Astral Silver is generated </Description> 
                        <DisplayName>Metallurgy 4 Astral Silver</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Astral Silver is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgAstralSilverFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Astral Silver distributions </Description>
                        <DisplayName>Metallurgy 4 Astral Silver Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgAstralSilverSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Astral Silver distributions </Description>
                        <DisplayName>Metallurgy 4 Astral Silver Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Astral Silver Configuration UI Complete -->
                
                
                <!-- Carmot Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgCarmotDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Carmot is generated </Description> 
                        <DisplayName>Metallurgy 4 Carmot</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Carmot is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgCarmotFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Carmot distributions </Description>
                        <DisplayName>Metallurgy 4 Carmot Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgCarmotSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Carmot distributions </Description>
                        <DisplayName>Metallurgy 4 Carmot Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Carmot Configuration UI Complete -->
                
                
                <!-- Mithril Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgMithrilDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Mithril is generated </Description> 
                        <DisplayName>Metallurgy 4 Mithril</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Mithril is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgMithrilFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Mithril distributions </Description>
                        <DisplayName>Metallurgy 4 Mithril Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgMithrilSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Mithril distributions </Description>
                        <DisplayName>Metallurgy 4 Mithril Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Mithril Configuration UI Complete -->
                
                
                <!-- Rubracium Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgRubraciumDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Rubracium is generated </Description> 
                        <DisplayName>Metallurgy 4 Rubracium</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Rubracium is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgRubraciumFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Rubracium distributions </Description>
                        <DisplayName>Metallurgy 4 Rubracium Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgRubraciumSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Rubracium distributions </Description>
                        <DisplayName>Metallurgy 4 Rubracium Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Rubracium Configuration UI Complete -->
                
                
                <!-- Orichalcum Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgOrichalcumDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Orichalcum is generated </Description> 
                        <DisplayName>Metallurgy 4 Orichalcum</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Orichalcum is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgOrichalcumFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Orichalcum distributions </Description>
                        <DisplayName>Metallurgy 4 Orichalcum Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgOrichalcumSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Orichalcum distributions </Description>
                        <DisplayName>Metallurgy 4 Orichalcum Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Orichalcum Configuration UI Complete -->
                
                
                <!-- Adamantine Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgAdamantineDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Adamantine is generated </Description> 
                        <DisplayName>Metallurgy 4 Adamantine</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Adamantine is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgAdamantineFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Adamantine distributions </Description>
                        <DisplayName>Metallurgy 4 Adamantine Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgAdamantineSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Adamantine distributions </Description>
                        <DisplayName>Metallurgy 4 Adamantine Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Adamantine Configuration UI Complete -->
                
                
                <!-- Atlarus Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgAtlarusDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Atlarus is generated </Description> 
                        <DisplayName>Metallurgy 4 Atlarus</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Atlarus is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgAtlarusFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Atlarus distributions </Description>
                        <DisplayName>Metallurgy 4 Atlarus Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgAtlarusSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Atlarus distributions </Description>
                        <DisplayName>Metallurgy 4 Atlarus Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Atlarus Configuration UI Complete -->
                
                
                <!-- Ignatius Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgIgnatiusDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Ignatius is generated </Description> 
                        <DisplayName>Metallurgy 4 Ignatius</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Ignatius is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgIgnatiusFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Ignatius distributions </Description>
                        <DisplayName>Metallurgy 4 Ignatius Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgIgnatiusSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Ignatius distributions </Description>
                        <DisplayName>Metallurgy 4 Ignatius Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Ignatius Configuration UI Complete -->
                
                
                <!-- Shadow Iron Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgShadowIronDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Shadow Iron is generated </Description> 
                        <DisplayName>Metallurgy 4 Shadow Iron</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Shadow Iron is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgShadowIronFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Shadow Iron distributions </Description>
                        <DisplayName>Metallurgy 4 Shadow Iron Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgShadowIronSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Shadow Iron distributions </Description>
                        <DisplayName>Metallurgy 4 Shadow Iron Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Shadow Iron Configuration UI Complete -->
                
                
                <!-- Lemurite Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgLemuriteDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Lemurite is generated </Description> 
                        <DisplayName>Metallurgy 4 Lemurite</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Lemurite is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgLemuriteFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Lemurite distributions </Description>
                        <DisplayName>Metallurgy 4 Lemurite Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgLemuriteSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Lemurite distributions </Description>
                        <DisplayName>Metallurgy 4 Lemurite Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Lemurite Configuration UI Complete -->
                
                
                <!-- Midasium Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgMidasiumDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Midasium is generated </Description> 
                        <DisplayName>Metallurgy 4 Midasium</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Midasium is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgMidasiumFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Midasium distributions </Description>
                        <DisplayName>Metallurgy 4 Midasium Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgMidasiumSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Midasium distributions </Description>
                        <DisplayName>Metallurgy 4 Midasium Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Midasium Configuration UI Complete -->
                
                
                <!-- Vyroxeres Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgVyroxeresDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Vyroxeres is generated </Description> 
                        <DisplayName>Metallurgy 4 Vyroxeres</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Vyroxeres is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgVyroxeresFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Vyroxeres distributions </Description>
                        <DisplayName>Metallurgy 4 Vyroxeres Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgVyroxeresSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Vyroxeres distributions </Description>
                        <DisplayName>Metallurgy 4 Vyroxeres Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Vyroxeres Configuration UI Complete -->
                
                
                <!-- Ceruclase Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgCeruclaseDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Ceruclase is generated </Description> 
                        <DisplayName>Metallurgy 4 Ceruclase</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Ceruclase is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgCeruclaseFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Ceruclase distributions </Description>
                        <DisplayName>Metallurgy 4 Ceruclase Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgCeruclaseSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Ceruclase distributions </Description>
                        <DisplayName>Metallurgy 4 Ceruclase Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Ceruclase Configuration UI Complete -->
                
                
                <!-- Alduorite Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgAlduoriteDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Alduorite is generated </Description> 
                        <DisplayName>Metallurgy 4 Alduorite</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Alduorite is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgAlduoriteFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Alduorite distributions </Description>
                        <DisplayName>Metallurgy 4 Alduorite Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgAlduoriteSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Alduorite distributions </Description>
                        <DisplayName>Metallurgy 4 Alduorite Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Alduorite Configuration UI Complete -->
                
                
                <!-- Kalendrite Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgKalendriteDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Kalendrite is generated </Description> 
                        <DisplayName>Metallurgy 4 Kalendrite</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Kalendrite is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgKalendriteFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Kalendrite distributions </Description>
                        <DisplayName>Metallurgy 4 Kalendrite Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgKalendriteSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Kalendrite distributions </Description>
                        <DisplayName>Metallurgy 4 Kalendrite Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Kalendrite Configuration UI Complete -->
                
                
                <!-- Vulcanite Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgVulcaniteDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Vulcanite is generated </Description> 
                        <DisplayName>Metallurgy 4 Vulcanite</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Vulcanite is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgVulcaniteFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Vulcanite distributions </Description>
                        <DisplayName>Metallurgy 4 Vulcanite Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgVulcaniteSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Vulcanite distributions </Description>
                        <DisplayName>Metallurgy 4 Vulcanite Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Vulcanite Configuration UI Complete -->
                
                
                <!-- Sanguinite Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgSanguiniteDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Sanguinite is generated </Description> 
                        <DisplayName>Metallurgy 4 Sanguinite</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Sanguinite is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgSanguiniteFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Sanguinite distributions </Description>
                        <DisplayName>Metallurgy 4 Sanguinite Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgSanguiniteSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Sanguinite distributions </Description>
                        <DisplayName>Metallurgy 4 Sanguinite Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Sanguinite Configuration UI Complete -->
                
                
                <!-- Eximite Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgEximiteDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Eximite is generated </Description> 
                        <DisplayName>Metallurgy 4 Eximite</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Eximite is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgEximiteFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Eximite distributions </Description>
                        <DisplayName>Metallurgy 4 Eximite Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgEximiteSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Eximite distributions </Description>
                        <DisplayName>Metallurgy 4 Eximite Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Eximite Configuration UI Complete -->
                
                
                <!-- Meutoite Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='mtlgMeutoiteDist'  displayState='shown' displayGroup='groupMetallurgy4'> 
                        <Description> Controls how Meutoite is generated </Description> 
                        <DisplayName>Metallurgy 4 Meutoite</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Meutoite is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='mtlgMeutoiteFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Frequency multiplier for Metallurgy 4 Meutoite distributions </Description>
                        <DisplayName>Metallurgy 4 Meutoite Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='mtlgMeutoiteSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupMetallurgy4'>
                        <Description> Size multiplier for Metallurgy 4 Meutoite distributions </Description>
                        <DisplayName>Metallurgy 4 Meutoite Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Meutoite Configuration UI Complete -->
                
            </ConfigSection>
            <!-- Setup Screen Complete -->


            <!-- Setup Overworld -->
            <IfCondition condition=':= ?COGActive'>
                
                <!-- Starting Original Overworld Ore Removal -->
                <Substitute name='mtlgOverworldOreSubstitute0' block='minecraft:stone'>
                    <Description>
                        Replace vanilla-generated ore clusters.
                    </Description>
                    <Comment>
                        The global option deferredPopulationRange must be large enough to catch all ore clusters (>= 32).
                    </Comment>
                    <Replaces block='Metallurgy:utility.ore:0' />
                    <Replaces block='Metallurgy:utility.ore:1' />
                    <Replaces block='Metallurgy:utility.ore:2' />
                    <Replaces block='Metallurgy:utility.ore:3' />
                    <Replaces block='Metallurgy:utility.ore:4' />
                    <Replaces block='Metallurgy:utility.ore:5' />
                    <Replaces block='Metallurgy:base.ore:0' />
                    <Replaces block='Metallurgy:base.ore:1' />
                    <Replaces block='Metallurgy:base.ore:2' />
                    <Replaces block='Metallurgy:precious.ore:0' />
                    <Replaces block='Metallurgy:precious.ore:1' />
                    <Replaces block='Metallurgy:precious.ore:2' />
                    <Replaces block='Metallurgy:fantasy.ore:0' />
                    <Replaces block='Metallurgy:fantasy.ore:1' />
                    <Replaces block='Metallurgy:fantasy.ore:2' />
                    <Replaces block='Metallurgy:fantasy.ore:4' />
                    <Replaces block='Metallurgy:fantasy.ore:5' />
                    <Replaces block='Metallurgy:fantasy.ore:6' />
                    <Replaces block='Metallurgy:fantasy.ore:7' />
                    <Replaces block='Metallurgy:fantasy.ore:8' />
                    <Replaces block='Metallurgy:fantasy.ore:11' />
                    <Replaces block='Metallurgy:fantasy.ore:13' />
                    <Replaces block='Metallurgy:fantasy.ore:14' />
                </Substitute>
                <!-- Original Overworld Ore Removal Complete -->
                
                <!-- Adding ores --> 
                
                <!-- Begin Sulfur Generation --> 
                
                <!-- Begin SparseVeins distribution of Sulfur -->
                <IfCondition condition=':= mtlgSulfurDist = "sparseVeins"'>
                
                    <Veins name='mtlgSulfurBaseVeins' block='Metallurgy:utility.ore' inherits='PresetSparseVeins'>
                        <Description>
                            Large veins filled very lightly with ore.  Because they contain less ore per volume, 
                            these veins are relatively wide and long.  Mining the ore from them is time consuming 
                            compared to solid ore veins.  They are also more difficult to follow, since it is 
                            harder to get an idea of their direction while mining.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FCF570</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgSulfurSize * _default_' range=':= 1 * 1 * mtlgSulfurSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgSulfurSize * _default_' range=':= 1 * 1 * mtlgSulfurSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.75 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 10.7 * mtlgSulfurFreq * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.45 * _default_' range=':= 0.45 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Setting name='BranchInclination' avg=':= 0' range=':= 0.35'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Sulfur Sparse Veins) Settings -->
                    <Veins name='mtlgSulfurPrefersVeins' block='Metallurgy:utility.ore' inherits='mtlgSulfurBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FCF570</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Desert'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Sulfur Sparse Veins) Settings -->
                
                </IfCondition>
                <!-- End SparseVeins distribution of Sulfur -->
                
                
                <!-- Begin  Small Deposits distribution of Sulfur -->
                <IfCondition condition=':= mtlgSulfurDist = "smallDeposits"'>
                
                    <Veins name='mtlgSulfurBaseVeins' block='Metallurgy:utility.ore' inherits='PresetSmallDeposits'>
                        <Description>
                            Small motherlodes without any branches.
                            Similar to the deposits produced by StandardGen distributions.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FCF570</WireframeColor>
                        <Setting name='MotherlodeHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgSulfurSize * _default_' range=':= 1 * 1 * mtlgSulfurSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.75 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 10.7 * mtlgSulfurFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Sulfur Small Deposits) Settings -->
                    <Veins name='mtlgSulfurPrefersVeins' block='Metallurgy:utility.ore' inherits='mtlgSulfurBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FCF570</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Desert'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Sulfur Small Deposits) Settings -->
                
                </IfCondition>
                <!-- End  Small Deposits distribution of Sulfur -->
                
                
                <!-- Begin  StrategicCloud distribution of Sulfur -->
                <IfCondition condition=':= mtlgSulfurDist = "strategicCloud"'>
                
                    <Cloud name='mtlgSulfurBaseCloud' block='Metallurgy:utility.ore' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FCF570</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1.2 * mtlgSulfurSize * _default_' range=':= 1 * 1.2 * mtlgSulfurSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1.2 * mtlgSulfurSize * _default_' range=':= 1 * 1.2 * mtlgSulfurSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.75 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1.2 * mtlgSulfurSize * _default_' range=':= 1 * 1 * 1.2 * mtlgSulfurSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 5 * mtlgSulfurFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Sulfur Strategic Cloud Hint Veins -->
                        <Veins name='mtlgSulfurBaseHintVeins' block='Metallurgy:utility.ore' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60FCF570</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Sulfur Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  StrategicCloud distribution of Sulfur -->
                
                
                <!-- Begin  Vanilla distribution of Sulfur -->
                <IfCondition condition=':= mtlgSulfurDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgSulfurBaseStandard' block='Metallurgy:utility.ore' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FCF570</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 2 * mtlgSulfurSize * _default_'/>
                        <Setting name='Height' avg=':= 60' range=':= 10' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1/6 * mtlgSulfurFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Sulfur -->
                
                <!-- End Sulfur Generation --> 

                
                <!-- Begin Phosphorite Generation --> 
                
                <!-- Begin SparseVeins distribution of Phosphorite -->
                <IfCondition condition=':= mtlgPhosphoriteDist = "sparseVeins"'>
                
                    <Veins name='mtlgPhosphoriteBaseVeins' block='Metallurgy:utility.ore:1' inherits='PresetSparseVeins'>
                        <Description>
                            Large veins filled very lightly with ore.  Because they contain less ore per volume, 
                            these veins are relatively wide and long.  Mining the ore from them is time consuming 
                            compared to solid ore veins.  They are also more difficult to follow, since it is 
                            harder to get an idea of their direction while mining.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x608D6161</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgPhosphoriteSize * _default_' range=':= 1 * 1 * mtlgPhosphoriteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgPhosphoriteSize * _default_' range=':= 1 * 1 * mtlgPhosphoriteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.75 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 10.7 * mtlgPhosphoriteFreq * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.45 * _default_' range=':= 0.45 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Setting name='BranchInclination' avg=':= 0' range=':= 0.35'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Phosphorite Sparse Veins) Settings -->
                    <Veins name='mtlgPhosphoritePrefersVeins' block='Metallurgy:utility.ore:1' inherits='mtlgPhosphoriteBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x608D6161</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Phosphorite Sparse Veins) Settings -->
                
                </IfCondition>
                <!-- End SparseVeins distribution of Phosphorite -->
                
                
                <!-- Begin  Small Deposits distribution of Phosphorite -->
                <IfCondition condition=':= mtlgPhosphoriteDist = "smallDeposits"'>
                
                    <Veins name='mtlgPhosphoriteBaseVeins' block='Metallurgy:utility.ore:1' inherits='PresetSmallDeposits'>
                        <Description>
                            Small motherlodes without any branches.
                            Similar to the deposits produced by StandardGen distributions.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x608D6161</WireframeColor>
                        <Setting name='MotherlodeHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgPhosphoriteSize * _default_' range=':= 1 * 1 * mtlgPhosphoriteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.75 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 10.7 * mtlgPhosphoriteFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Phosphorite Small Deposits) Settings -->
                    <Veins name='mtlgPhosphoritePrefersVeins' block='Metallurgy:utility.ore:1' inherits='mtlgPhosphoriteBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x608D6161</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Phosphorite Small Deposits) Settings -->
                
                </IfCondition>
                <!-- End  Small Deposits distribution of Phosphorite -->
                
                
                <!-- Begin  StrategicCloud distribution of Phosphorite -->
                <IfCondition condition=':= mtlgPhosphoriteDist = "strategicCloud"'>
                
                    <Cloud name='mtlgPhosphoriteBaseCloud' block='Metallurgy:utility.ore:1' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x608D6161</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1.2 * mtlgPhosphoriteSize * _default_' range=':= 1 * 1.2 * mtlgPhosphoriteSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1.2 * mtlgPhosphoriteSize * _default_' range=':= 1 * 1.2 * mtlgPhosphoriteSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.75 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1.2 * mtlgPhosphoriteSize * _default_' range=':= 1 * 1 * 1.2 * mtlgPhosphoriteSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 5 * mtlgPhosphoriteFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Phosphorite Strategic Cloud Hint Veins -->
                        <Veins name='mtlgPhosphoriteBaseHintVeins' block='Metallurgy:utility.ore:1' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x608D6161</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Phosphorite Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  StrategicCloud distribution of Phosphorite -->
                
                
                <!-- Begin  Vanilla distribution of Phosphorite -->
                <IfCondition condition=':= mtlgPhosphoriteDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgPhosphoriteBaseStandard' block='Metallurgy:utility.ore:1' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x608D6161</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 2 * mtlgPhosphoriteSize * _default_'/>
                        <Setting name='Height' avg=':= 60' range=':= 10' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1/6 * mtlgPhosphoriteFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Phosphorite -->
                
                <!-- End Phosphorite Generation --> 

                
                <!-- Begin Saltpeter Generation --> 
                
                <!-- Begin SparseVeins distribution of Saltpeter -->
                <IfCondition condition=':= mtlgSaltpeterDist = "sparseVeins"'>
                
                    <Veins name='mtlgSaltpeterBaseVeins' block='Metallurgy:utility.ore:2' inherits='PresetSparseVeins'>
                        <Description>
                            Large veins filled very lightly with ore.  Because they contain less ore per volume, 
                            these veins are relatively wide and long.  Mining the ore from them is time consuming 
                            compared to solid ore veins.  They are also more difficult to follow, since it is 
                            harder to get an idea of their direction while mining.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EAEAEA</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgSaltpeterSize * _default_' range=':= 1 * 1 * mtlgSaltpeterSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgSaltpeterSize * _default_' range=':= 1 * 1 * mtlgSaltpeterSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.75 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 10.7 * mtlgSaltpeterFreq * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.45 * _default_' range=':= 0.45 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Setting name='BranchInclination' avg=':= 0' range=':= 0.35'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Saltpeter Sparse Veins) Settings -->
                    <Veins name='mtlgSaltpeterPrefersVeins' block='Metallurgy:utility.ore:2' inherits='mtlgSaltpeterBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EAEAEA</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Desert'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Saltpeter Sparse Veins) Settings -->
                
                </IfCondition>
                <!-- End SparseVeins distribution of Saltpeter -->
                
                
                <!-- Begin  Small Deposits distribution of Saltpeter -->
                <IfCondition condition=':= mtlgSaltpeterDist = "smallDeposits"'>
                
                    <Veins name='mtlgSaltpeterBaseVeins' block='Metallurgy:utility.ore:2' inherits='PresetSmallDeposits'>
                        <Description>
                            Small motherlodes without any branches.
                            Similar to the deposits produced by StandardGen distributions.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EAEAEA</WireframeColor>
                        <Setting name='MotherlodeHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgSaltpeterSize * _default_' range=':= 1 * 1 * mtlgSaltpeterSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.75 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 10.7 * mtlgSaltpeterFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Saltpeter Small Deposits) Settings -->
                    <Veins name='mtlgSaltpeterPrefersVeins' block='Metallurgy:utility.ore:2' inherits='mtlgSaltpeterBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EAEAEA</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Desert'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Saltpeter Small Deposits) Settings -->
                
                </IfCondition>
                <!-- End  Small Deposits distribution of Saltpeter -->
                
                
                <!-- Begin  StrategicCloud distribution of Saltpeter -->
                <IfCondition condition=':= mtlgSaltpeterDist = "strategicCloud"'>
                
                    <Cloud name='mtlgSaltpeterBaseCloud' block='Metallurgy:utility.ore:2' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EAEAEA</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1.2 * mtlgSaltpeterSize * _default_' range=':= 1 * 1.2 * mtlgSaltpeterSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1.2 * mtlgSaltpeterSize * _default_' range=':= 1 * 1.2 * mtlgSaltpeterSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.75 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1.2 * mtlgSaltpeterSize * _default_' range=':= 1 * 1 * 1.2 * mtlgSaltpeterSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 5 * mtlgSaltpeterFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Saltpeter Strategic Cloud Hint Veins -->
                        <Veins name='mtlgSaltpeterBaseHintVeins' block='Metallurgy:utility.ore:2' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60EAEAEA</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Saltpeter Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  StrategicCloud distribution of Saltpeter -->
                
                
                <!-- Begin  Vanilla distribution of Saltpeter -->
                <IfCondition condition=':= mtlgSaltpeterDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgSaltpeterBaseStandard' block='Metallurgy:utility.ore:2' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EAEAEA</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 2 * mtlgSaltpeterSize * _default_'/>
                        <Setting name='Height' avg=':= 60' range=':= 10' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1/6 * mtlgSaltpeterFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Saltpeter -->
                
                <!-- End Saltpeter Generation --> 

                
                <!-- Begin Magnesium Generation --> 
                
                <!-- Begin SparseVeins distribution of Magnesium -->
                <IfCondition condition=':= mtlgMagnesiumDist = "sparseVeins"'>
                
                    <Veins name='mtlgMagnesiumBaseVeins' block='Metallurgy:utility.ore:3' inherits='PresetSparseVeins'>
                        <Description>
                            Large veins filled very lightly with ore.  Because they contain less ore per volume, 
                            these veins are relatively wide and long.  Mining the ore from them is time consuming 
                            compared to solid ore veins.  They are also more difficult to follow, since it is 
                            harder to get an idea of their direction while mining.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60927C6C</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgMagnesiumSize * _default_' range=':= 1 * 1 * mtlgMagnesiumSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgMagnesiumSize * _default_' range=':= 1 * 1 * mtlgMagnesiumSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.75 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 10.7 * mtlgMagnesiumFreq * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.45 * _default_' range=':= 0.45 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Setting name='BranchInclination' avg=':= 0' range=':= 0.35'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Magnesium Sparse Veins) Settings -->
                    <Veins name='mtlgMagnesiumPrefersVeins' block='Metallurgy:utility.ore:3' inherits='mtlgMagnesiumBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60927C6C</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Magnesium Sparse Veins) Settings -->
                
                </IfCondition>
                <!-- End SparseVeins distribution of Magnesium -->
                
                
                <!-- Begin  Small Deposits distribution of Magnesium -->
                <IfCondition condition=':= mtlgMagnesiumDist = "smallDeposits"'>
                
                    <Veins name='mtlgMagnesiumBaseVeins' block='Metallurgy:utility.ore:3' inherits='PresetSmallDeposits'>
                        <Description>
                            Small motherlodes without any branches.
                            Similar to the deposits produced by StandardGen distributions.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60927C6C</WireframeColor>
                        <Setting name='MotherlodeHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgMagnesiumSize * _default_' range=':= 1 * 1 * mtlgMagnesiumSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.75 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 10.7 * mtlgMagnesiumFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Magnesium Small Deposits) Settings -->
                    <Veins name='mtlgMagnesiumPrefersVeins' block='Metallurgy:utility.ore:3' inherits='mtlgMagnesiumBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60927C6C</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Magnesium Small Deposits) Settings -->
                
                </IfCondition>
                <!-- End  Small Deposits distribution of Magnesium -->
                
                
                <!-- Begin  StrategicCloud distribution of Magnesium -->
                <IfCondition condition=':= mtlgMagnesiumDist = "strategicCloud"'>
                
                    <Cloud name='mtlgMagnesiumBaseCloud' block='Metallurgy:utility.ore:3' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60927C6C</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1.2 * mtlgMagnesiumSize * _default_' range=':= 1 * 1.2 * mtlgMagnesiumSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1.2 * mtlgMagnesiumSize * _default_' range=':= 1 * 1.2 * mtlgMagnesiumSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.75 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1.2 * mtlgMagnesiumSize * _default_' range=':= 1 * 1 * 1.2 * mtlgMagnesiumSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 5 * mtlgMagnesiumFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Magnesium Strategic Cloud Hint Veins -->
                        <Veins name='mtlgMagnesiumBaseHintVeins' block='Metallurgy:utility.ore:3' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60927C6C</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Magnesium Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  StrategicCloud distribution of Magnesium -->
                
                
                <!-- Begin  Vanilla distribution of Magnesium -->
                <IfCondition condition=':= mtlgMagnesiumDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgMagnesiumBaseStandard' block='Metallurgy:utility.ore:3' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60927C6C</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 2 * mtlgMagnesiumSize * _default_'/>
                        <Setting name='Height' avg=':= 60' range=':= 10' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1/6 * mtlgMagnesiumFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Magnesium -->
                
                <!-- End Magnesium Generation --> 

                
                <!-- Begin Bitumen Generation --> 
                
                <!-- Begin SparseVeins distribution of Bitumen -->
                <IfCondition condition=':= mtlgBitumenDist = "sparseVeins"'>
                
                    <Veins name='mtlgBitumenBaseVeins' block='Metallurgy:utility.ore:4' inherits='PresetSparseVeins'>
                        <Description>
                            Large veins filled very lightly with ore.  Because they contain less ore per volume, 
                            these veins are relatively wide and long.  Mining the ore from them is time consuming 
                            compared to solid ore veins.  They are also more difficult to follow, since it is 
                            harder to get an idea of their direction while mining.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x602A2A2A</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgBitumenSize * _default_' range=':= 1 * 1 * mtlgBitumenSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgBitumenSize * _default_' range=':= 1 * 1 * mtlgBitumenSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.75 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 10.7 * mtlgBitumenFreq * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.45 * _default_' range=':= 0.45 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Setting name='BranchInclination' avg=':= 0' range=':= 0.35'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Bitumen Sparse Veins) Settings -->
                    <Veins name='mtlgBitumenPrefersVeins' block='Metallurgy:utility.ore:4' inherits='mtlgBitumenBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x602A2A2A</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Swamp'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Bitumen Sparse Veins) Settings -->
                
                </IfCondition>
                <!-- End SparseVeins distribution of Bitumen -->
                
                
                <!-- Begin  Small Deposits distribution of Bitumen -->
                <IfCondition condition=':= mtlgBitumenDist = "smallDeposits"'>
                
                    <Veins name='mtlgBitumenBaseVeins' block='Metallurgy:utility.ore:4' inherits='PresetSmallDeposits'>
                        <Description>
                            Small motherlodes without any branches.
                            Similar to the deposits produced by StandardGen distributions.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x602A2A2A</WireframeColor>
                        <Setting name='MotherlodeHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgBitumenSize * _default_' range=':= 1 * 1 * mtlgBitumenSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.75 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 10.7 * mtlgBitumenFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Bitumen Small Deposits) Settings -->
                    <Veins name='mtlgBitumenPrefersVeins' block='Metallurgy:utility.ore:4' inherits='mtlgBitumenBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x602A2A2A</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Swamp'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Bitumen Small Deposits) Settings -->
                
                </IfCondition>
                <!-- End  Small Deposits distribution of Bitumen -->
                
                
                <!-- Begin  StrategicCloud distribution of Bitumen -->
                <IfCondition condition=':= mtlgBitumenDist = "strategicCloud"'>
                
                    <Cloud name='mtlgBitumenBaseCloud' block='Metallurgy:utility.ore:4' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x602A2A2A</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1.2 * mtlgBitumenSize * _default_' range=':= 1 * 1.2 * mtlgBitumenSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1.2 * mtlgBitumenSize * _default_' range=':= 1 * 1.2 * mtlgBitumenSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.75 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1.2 * mtlgBitumenSize * _default_' range=':= 1 * 1 * 1.2 * mtlgBitumenSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 5 * mtlgBitumenFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Bitumen Strategic Cloud Hint Veins -->
                        <Veins name='mtlgBitumenBaseHintVeins' block='Metallurgy:utility.ore:4' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x602A2A2A</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Bitumen Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  StrategicCloud distribution of Bitumen -->
                
                
                <!-- Begin  Vanilla distribution of Bitumen -->
                <IfCondition condition=':= mtlgBitumenDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgBitumenBaseStandard' block='Metallurgy:utility.ore:4' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x602A2A2A</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 2 * mtlgBitumenSize * _default_'/>
                        <Setting name='Height' avg=':= 60' range=':= 10' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1/6 * mtlgBitumenFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Bitumen -->
                
                <!-- End Bitumen Generation --> 

                
                <!-- Begin Potash Generation --> 
                
                <!-- Begin SparseVeins distribution of Potash -->
                <IfCondition condition=':= mtlgPotashDist = "sparseVeins"'>
                
                    <Veins name='mtlgPotashBaseVeins' block='Metallurgy:utility.ore:5' inherits='PresetSparseVeins'>
                        <Description>
                            Large veins filled very lightly with ore.  Because they contain less ore per volume, 
                            these veins are relatively wide and long.  Mining the ore from them is time consuming 
                            compared to solid ore veins.  They are also more difficult to follow, since it is 
                            harder to get an idea of their direction while mining.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FFAA00</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgPotashSize * _default_' range=':= 1 * 1 * mtlgPotashSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgPotashSize * _default_' range=':= 1 * 1 * mtlgPotashSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.75 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 10.7 * mtlgPotashFreq * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.45 * _default_' range=':= 0.45 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Setting name='BranchInclination' avg=':= 0' range=':= 0.35'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Potash Sparse Veins) Settings -->
                    <Veins name='mtlgPotashPrefersVeins' block='Metallurgy:utility.ore:5' inherits='mtlgPotashBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FFAA00</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Swamp'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Potash Sparse Veins) Settings -->
                
                </IfCondition>
                <!-- End SparseVeins distribution of Potash -->
                
                
                <!-- Begin  Small Deposits distribution of Potash -->
                <IfCondition condition=':= mtlgPotashDist = "smallDeposits"'>
                
                    <Veins name='mtlgPotashBaseVeins' block='Metallurgy:utility.ore:5' inherits='PresetSmallDeposits'>
                        <Description>
                            Small motherlodes without any branches.
                            Similar to the deposits produced by StandardGen distributions.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FFAA00</WireframeColor>
                        <Setting name='MotherlodeHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgPotashSize * _default_' range=':= 1 * 1 * mtlgPotashSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.75 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 10.7 * mtlgPotashFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Potash Small Deposits) Settings -->
                    <Veins name='mtlgPotashPrefersVeins' block='Metallurgy:utility.ore:5' inherits='mtlgPotashBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FFAA00</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Swamp'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Potash Small Deposits) Settings -->
                
                </IfCondition>
                <!-- End  Small Deposits distribution of Potash -->
                
                
                <!-- Begin  StrategicCloud distribution of Potash -->
                <IfCondition condition=':= mtlgPotashDist = "strategicCloud"'>
                
                    <Cloud name='mtlgPotashBaseCloud' block='Metallurgy:utility.ore:5' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FFAA00</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1.2 * mtlgPotashSize * _default_' range=':= 1 * 1.2 * mtlgPotashSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1.2 * mtlgPotashSize * _default_' range=':= 1 * 1.2 * mtlgPotashSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 60' range=':= 10' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.75 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1.2 * mtlgPotashSize * _default_' range=':= 1 * 1 * 1.2 * mtlgPotashSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 5 * mtlgPotashFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Potash Strategic Cloud Hint Veins -->
                        <Veins name='mtlgPotashBaseHintVeins' block='Metallurgy:utility.ore:5' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60FFAA00</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Potash Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  StrategicCloud distribution of Potash -->
                
                
                <!-- Begin  Vanilla distribution of Potash -->
                <IfCondition condition=':= mtlgPotashDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgPotashBaseStandard' block='Metallurgy:utility.ore:5' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FFAA00</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 2 * mtlgPotashSize * _default_'/>
                        <Setting name='Height' avg=':= 60' range=':= 10' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1/6 * mtlgPotashFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Potash -->
                
                <!-- End Potash Generation --> 

                
                <!-- Begin Copper Generation --> 
                
                <!-- Begin Layered Veins distribution of Copper -->
                <IfCondition condition=':= mtlgCopperDist = "layeredVeins"'>
                
                    <Veins name='mtlgCopperBaseVeins' block='Metallurgy:base.ore' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EA6515</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgCopperSize * _default_' range=':= 1 * 1 * mtlgCopperSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 43' range=':= 10.5' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgCopperSize * _default_' range=':= 1 * 1 * mtlgCopperSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.9 * mtlgCopperFreq * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10.5'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Copper Layered Veins) Settings -->
                    <Veins name='mtlgCopperPrefersVeins' block='Metallurgy:base.ore' inherits='mtlgCopperBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EA6515</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Cold'/>
                        <BiomeType name='Ocean' weight='-1'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Copper Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Copper -->
                
                
                <!-- Begin  Huge Veins distribution of Copper -->
                <IfCondition condition=':= mtlgCopperDist = "hugeVeins"'>
                
                    <Veins name='mtlgCopperBaseVeins' block='Metallurgy:base.ore' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EA6515</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgCopperSize * _default_' range=':= 1 * 1 * mtlgCopperSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 43' range=':= 10.5' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgCopperSize * _default_' range=':= 1 * 1 * mtlgCopperSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.9 * mtlgCopperFreq * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10.5'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Copper Huge Veins) Settings -->
                    <Veins name='mtlgCopperPrefersVeins' block='Metallurgy:base.ore' inherits='mtlgCopperBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EA6515</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Cold'/>
                        <BiomeType name='Ocean' weight='-1'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Copper Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Copper -->
                
                
                <!-- Begin  Strategic Cloud distribution of Copper -->
                <IfCondition condition=':= mtlgCopperDist = "strategicCloud"'>
                
                    <Cloud name='mtlgCopperBaseCloud' block='Metallurgy:base.ore' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EA6515</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * mtlgCopperSize * _default_' range=':= 1 * 1 * mtlgCopperSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * mtlgCopperSize * _default_' range=':= 1 * 1 * mtlgCopperSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 36' range=':= 36' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * mtlgCopperSize * _default_' range=':= 1 * 1 * 1 * mtlgCopperSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 2.5 * mtlgCopperFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Copper Strategic Cloud Hint Veins -->
                        <Veins name='mtlgCopperBaseHintVeins' block='Metallurgy:base.ore' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60EA6515</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Copper Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Copper -->
                
                
                <!-- Begin  Vanilla distribution of Copper -->
                <IfCondition condition=':= mtlgCopperDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgCopperBaseStandard' block='Metallurgy:base.ore' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EA6515</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgCopperSize * _default_'/>
                        <Setting name='Height' avg=':= 36' range=':= 36' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 2/3 * mtlgCopperFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Copper -->
                
                <!-- End Copper Generation --> 

                
                <!-- Begin Tin Generation --> 
                
                <!-- Begin Layered Veins distribution of Tin -->
                <IfCondition condition=':= mtlgTinDist = "layeredVeins"'>
                
                    <Veins name='mtlgTinBaseVeins' block='Metallurgy:base.ore:1' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60BDBDBD</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgTinSize * _default_' range=':= 1 * 1 * mtlgTinSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 43' range=':= 10.5' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgTinSize * _default_' range=':= 1 * 1 * mtlgTinSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.9 * mtlgTinFreq * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10.5'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Tin Layered Veins) Settings -->
                    <Veins name='mtlgTinPrefersVeins' block='Metallurgy:base.ore:1' inherits='mtlgTinBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60BDBDBD</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Cold'/>
                        <BiomeType name='Ocean' weight='-1'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Tin Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Tin -->
                
                
                <!-- Begin  Huge Veins distribution of Tin -->
                <IfCondition condition=':= mtlgTinDist = "hugeVeins"'>
                
                    <Veins name='mtlgTinBaseVeins' block='Metallurgy:base.ore:1' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60BDBDBD</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgTinSize * _default_' range=':= 1 * 1 * mtlgTinSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 43' range=':= 10.5' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgTinSize * _default_' range=':= 1 * 1 * mtlgTinSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.9 * mtlgTinFreq * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10.5'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Tin Huge Veins) Settings -->
                    <Veins name='mtlgTinPrefersVeins' block='Metallurgy:base.ore:1' inherits='mtlgTinBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60BDBDBD</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Cold'/>
                        <BiomeType name='Ocean' weight='-1'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Tin Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Tin -->
                
                
                <!-- Begin  Strategic Cloud distribution of Tin -->
                <IfCondition condition=':= mtlgTinDist = "strategicCloud"'>
                
                    <Cloud name='mtlgTinBaseCloud' block='Metallurgy:base.ore:1' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60BDBDBD</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * mtlgTinSize * _default_' range=':= 1 * 1 * mtlgTinSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * mtlgTinSize * _default_' range=':= 1 * 1 * mtlgTinSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 36' range=':= 36' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * mtlgTinSize * _default_' range=':= 1 * 1 * 1 * mtlgTinSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 2.5 * mtlgTinFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Tin Strategic Cloud Hint Veins -->
                        <Veins name='mtlgTinBaseHintVeins' block='Metallurgy:base.ore:1' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60BDBDBD</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Tin Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Tin -->
                
                
                <!-- Begin  Vanilla distribution of Tin -->
                <IfCondition condition=':= mtlgTinDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgTinBaseStandard' block='Metallurgy:base.ore:1' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60BDBDBD</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgTinSize * _default_'/>
                        <Setting name='Height' avg=':= 36' range=':= 36' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 2/3 * mtlgTinFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Tin -->
                
                <!-- End Tin Generation --> 

                
                <!-- Begin Manganese Generation --> 
                
                <!-- Begin Layered Veins distribution of Manganese -->
                <IfCondition condition=':= mtlgManganeseDist = "layeredVeins"'>
                
                    <Veins name='mtlgManganeseBaseVeins' block='Metallurgy:base.ore:2' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FCC7C7</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgManganeseSize * _default_' range=':= 1 * 1 * mtlgManganeseSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 43' range=':= 10.5' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgManganeseSize * _default_' range=':= 1 * 1 * mtlgManganeseSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.9 * mtlgManganeseFreq * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10.5'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Manganese Layered Veins) Settings -->
                    <Veins name='mtlgManganesePrefersVeins' block='Metallurgy:base.ore:2' inherits='mtlgManganeseBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FCC7C7</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Cold'/>
                        <BiomeType name='Ocean' weight='-1'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Manganese Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Manganese -->
                
                
                <!-- Begin  Huge Veins distribution of Manganese -->
                <IfCondition condition=':= mtlgManganeseDist = "hugeVeins"'>
                
                    <Veins name='mtlgManganeseBaseVeins' block='Metallurgy:base.ore:2' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FCC7C7</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgManganeseSize * _default_' range=':= 1 * 1 * mtlgManganeseSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 43' range=':= 10.5' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgManganeseSize * _default_' range=':= 1 * 1 * mtlgManganeseSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.9 * mtlgManganeseFreq * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10.5'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Manganese Huge Veins) Settings -->
                    <Veins name='mtlgManganesePrefersVeins' block='Metallurgy:base.ore:2' inherits='mtlgManganeseBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FCC7C7</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Cold'/>
                        <BiomeType name='Ocean' weight='-1'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Manganese Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Manganese -->
                
                
                <!-- Begin  Strategic Cloud distribution of Manganese -->
                <IfCondition condition=':= mtlgManganeseDist = "strategicCloud"'>
                
                    <Cloud name='mtlgManganeseBaseCloud' block='Metallurgy:base.ore:2' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FCC7C7</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * mtlgManganeseSize * _default_' range=':= 1 * 1 * mtlgManganeseSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * mtlgManganeseSize * _default_' range=':= 1 * 1 * mtlgManganeseSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 36' range=':= 36' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * mtlgManganeseSize * _default_' range=':= 1 * 1 * 1 * mtlgManganeseSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 2.5 * mtlgManganeseFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Manganese Strategic Cloud Hint Veins -->
                        <Veins name='mtlgManganeseBaseHintVeins' block='Metallurgy:base.ore:2' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60FCC7C7</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Manganese Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Manganese -->
                
                
                <!-- Begin  Vanilla distribution of Manganese -->
                <IfCondition condition=':= mtlgManganeseDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgManganeseBaseStandard' block='Metallurgy:base.ore:2' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FCC7C7</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgManganeseSize * _default_'/>
                        <Setting name='Height' avg=':= 36' range=':= 36' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 2/3 * mtlgManganeseFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Manganese -->
                
                <!-- End Manganese Generation --> 

                
                <!-- Begin Zinc Generation --> 
                
                <!-- Begin Layered Veins distribution of Zinc -->
                <IfCondition condition=':= mtlgZincDist = "layeredVeins"'>
                
                    <Veins name='mtlgZincBaseVeins' block='Metallurgy:precious.ore' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60BFC55C</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgZincSize * _default_' range=':= 1 * 0.8 * mtlgZincSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgZincSize * _default_' range=':= 1 * 0.8 * mtlgZincSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgZincFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Zinc Layered Veins) Settings -->
                    <Veins name='mtlgZincPrefersVeins' block='Metallurgy:precious.ore' inherits='mtlgZincBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60BFC55C</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Zinc Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Zinc -->
                
                
                <!-- Begin  Huge Veins distribution of Zinc -->
                <IfCondition condition=':= mtlgZincDist = "hugeVeins"'>
                
                    <Veins name='mtlgZincBaseVeins' block='Metallurgy:precious.ore' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60BFC55C</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgZincSize * _default_' range=':= 1 * 0.8 * mtlgZincSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgZincSize * _default_' range=':= 1 * 0.8 * mtlgZincSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgZincFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Zinc Huge Veins) Settings -->
                    <Veins name='mtlgZincPrefersVeins' block='Metallurgy:precious.ore' inherits='mtlgZincBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60BFC55C</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Zinc Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Zinc -->
                
                
                <!-- Begin  Strategic Cloud distribution of Zinc -->
                <IfCondition condition=':= mtlgZincDist = "strategicCloud"'>
                
                    <Cloud name='mtlgZincBaseCloud' block='Metallurgy:precious.ore' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60BFC55C</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.8 * mtlgZincSize * _default_' range=':= 1 * 0.8 * mtlgZincSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * mtlgZincSize * _default_' range=':= 1 * 0.8 * mtlgZincSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 16' range=':= 16' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * 0.8 * mtlgZincSize * _default_' range=':= 1 * 0.8 * 0.8 * mtlgZincSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * mtlgZincFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Zinc Strategic Cloud Hint Veins -->
                        <Veins name='mtlgZincBaseHintVeins' block='Metallurgy:precious.ore' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60BFC55C</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Zinc Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Zinc -->
                
                
                <!-- Begin  Vanilla distribution of Zinc -->
                <IfCondition condition=':= mtlgZincDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgZincBaseStandard' block='Metallurgy:precious.ore' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60BFC55C</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgZincSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 16' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1 * mtlgZincFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Zinc -->
                
                <!-- End Zinc Generation --> 

                
                <!-- Begin Silver Generation --> 
                
                <!-- Begin Layered Veins distribution of Silver -->
                <IfCondition condition=':= mtlgSilverDist = "layeredVeins"'>
                
                    <Veins name='mtlgSilverBaseVeins' block='Metallurgy:precious.ore:1' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60E1E1E1</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.85 * mtlgSilverSize * _default_' range=':= 1 * 0.85 * mtlgSilverSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.85 * mtlgSilverSize * _default_' range=':= 1 * 0.85 * mtlgSilverSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgSilverFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.8 * _default_' range=':= 0.75 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 12'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Silver Layered Veins) Settings -->
                    <Veins name='mtlgSilverPrefersVeins' block='Metallurgy:precious.ore:1' inherits='mtlgSilverBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60E1E1E1</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Mountain'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Silver Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Silver -->
                
                
                <!-- Begin  Huge Veins distribution of Silver -->
                <IfCondition condition=':= mtlgSilverDist = "hugeVeins"'>
                
                    <Veins name='mtlgSilverBaseVeins' block='Metallurgy:precious.ore:1' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60E1E1E1</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.85 * mtlgSilverSize * _default_' range=':= 1 * 0.85 * mtlgSilverSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.85 * mtlgSilverSize * _default_' range=':= 1 * 0.85 * mtlgSilverSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgSilverFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.8 * _default_' range=':= 0.75 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 12'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Silver Huge Veins) Settings -->
                    <Veins name='mtlgSilverPrefersVeins' block='Metallurgy:precious.ore:1' inherits='mtlgSilverBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60E1E1E1</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Mountain'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Silver Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Silver -->
                
                
                <!-- Begin  Strategic Cloud distribution of Silver -->
                <IfCondition condition=':= mtlgSilverDist = "strategicCloud"'>
                
                    <Cloud name='mtlgSilverBaseCloud' block='Metallurgy:precious.ore:1' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60E1E1E1</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.8 * mtlgSilverSize * _default_' range=':= 1 * 0.8 * mtlgSilverSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * mtlgSilverSize * _default_' range=':= 1 * 0.8 * mtlgSilverSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= _default_' range=':= _default_' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.5 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * 0.8 * mtlgSilverSize * _default_' range=':= 1 * 0.8 * 0.8 * mtlgSilverSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * mtlgSilverFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Silver Strategic Cloud Hint Veins -->
                        <Veins name='mtlgSilverBaseHintVeins' block='Metallurgy:precious.ore:1' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60E1E1E1</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Silver Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Silver -->
                
                
                <!-- Begin  Vanilla distribution of Silver -->
                <IfCondition condition=':= mtlgSilverDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgSilverBaseStandard' block='Metallurgy:precious.ore:1' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60E1E1E1</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgSilverSize * _default_'/>
                        <Setting name='Height' avg=':= 18' range=':= 12' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 0.15 * mtlgSilverFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Silver -->
                
                <!-- End Silver Generation --> 

                
                <!-- Begin Platinum Generation --> 
                
                <!-- Begin Layered Veins distribution of Platinum -->
                <IfCondition condition=':= mtlgPlatinumDist = "layeredVeins"'>
                
                    <Veins name='mtlgPlatinumBaseVeins' block='Metallurgy:precious.ore:2' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60B8D6DB</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgPlatinumSize * _default_' range=':= 1 * 0.8 * mtlgPlatinumSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgPlatinumSize * _default_' range=':= 1 * 0.8 * mtlgPlatinumSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgPlatinumFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Platinum Layered Veins) Settings -->
                    <Veins name='mtlgPlatinumPrefersVeins' block='Metallurgy:precious.ore:2' inherits='mtlgPlatinumBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60B8D6DB</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Platinum Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Platinum -->
                
                
                <!-- Begin  Huge Veins distribution of Platinum -->
                <IfCondition condition=':= mtlgPlatinumDist = "hugeVeins"'>
                
                    <Veins name='mtlgPlatinumBaseVeins' block='Metallurgy:precious.ore:2' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60B8D6DB</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgPlatinumSize * _default_' range=':= 1 * 0.8 * mtlgPlatinumSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgPlatinumSize * _default_' range=':= 1 * 0.8 * mtlgPlatinumSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgPlatinumFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Platinum Huge Veins) Settings -->
                    <Veins name='mtlgPlatinumPrefersVeins' block='Metallurgy:precious.ore:2' inherits='mtlgPlatinumBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60B8D6DB</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Platinum Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Platinum -->
                
                
                <!-- Begin  Strategic Cloud distribution of Platinum -->
                <IfCondition condition=':= mtlgPlatinumDist = "strategicCloud"'>
                
                    <Cloud name='mtlgPlatinumBaseCloud' block='Metallurgy:precious.ore:2' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60B8D6DB</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.8 * mtlgPlatinumSize * _default_' range=':= 1 * 0.8 * mtlgPlatinumSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * mtlgPlatinumSize * _default_' range=':= 1 * 0.8 * mtlgPlatinumSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 16' range=':= 16' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * 0.8 * mtlgPlatinumSize * _default_' range=':= 1 * 0.8 * 0.8 * mtlgPlatinumSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * mtlgPlatinumFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Platinum Strategic Cloud Hint Veins -->
                        <Veins name='mtlgPlatinumBaseHintVeins' block='Metallurgy:precious.ore:2' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60B8D6DB</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Platinum Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Platinum -->
                
                
                <!-- Begin  Vanilla distribution of Platinum -->
                <IfCondition condition=':= mtlgPlatinumDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgPlatinumBaseStandard' block='Metallurgy:precious.ore:2' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60B8D6DB</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgPlatinumSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 16' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1 * mtlgPlatinumFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Platinum -->
                
                <!-- End Platinum Generation --> 

                
                <!-- Begin Promethium Generation --> 
                
                <!-- Begin Layered Veins distribution of Promethium -->
                <IfCondition condition=':= mtlgPromethiumDist = "layeredVeins"'>
                
                    <Veins name='mtlgPromethiumBaseVeins' block='Metallurgy:fantasy.ore' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x605D8258</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgPromethiumSize * _default_' range=':= 1 * 0.8 * mtlgPromethiumSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgPromethiumSize * _default_' range=':= 1 * 0.8 * mtlgPromethiumSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgPromethiumFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Promethium Layered Veins) Settings -->
                    <Veins name='mtlgPromethiumPrefersVeins' block='Metallurgy:fantasy.ore' inherits='mtlgPromethiumBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x605D8258</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Promethium Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Promethium -->
                
                
                <!-- Begin  Huge Veins distribution of Promethium -->
                <IfCondition condition=':= mtlgPromethiumDist = "hugeVeins"'>
                
                    <Veins name='mtlgPromethiumBaseVeins' block='Metallurgy:fantasy.ore' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x605D8258</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgPromethiumSize * _default_' range=':= 1 * 0.8 * mtlgPromethiumSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgPromethiumSize * _default_' range=':= 1 * 0.8 * mtlgPromethiumSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgPromethiumFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Promethium Huge Veins) Settings -->
                    <Veins name='mtlgPromethiumPrefersVeins' block='Metallurgy:fantasy.ore' inherits='mtlgPromethiumBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x605D8258</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Promethium Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Promethium -->
                
                
                <!-- Begin  Strategic Cloud distribution of Promethium -->
                <IfCondition condition=':= mtlgPromethiumDist = "strategicCloud"'>
                
                    <Cloud name='mtlgPromethiumBaseCloud' block='Metallurgy:fantasy.ore' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x605D8258</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.8 * mtlgPromethiumSize * _default_' range=':= 1 * 0.8 * mtlgPromethiumSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * mtlgPromethiumSize * _default_' range=':= 1 * 0.8 * mtlgPromethiumSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 16' range=':= 16' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * 0.8 * mtlgPromethiumSize * _default_' range=':= 1 * 0.8 * 0.8 * mtlgPromethiumSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * mtlgPromethiumFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Promethium Strategic Cloud Hint Veins -->
                        <Veins name='mtlgPromethiumBaseHintVeins' block='Metallurgy:fantasy.ore' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x605D8258</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Promethium Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Promethium -->
                
                
                <!-- Begin  Vanilla distribution of Promethium -->
                <IfCondition condition=':= mtlgPromethiumDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgPromethiumBaseStandard' block='Metallurgy:fantasy.ore' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x605D8258</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgPromethiumSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 16' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1 * mtlgPromethiumFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Promethium -->
                
                <!-- End Promethium Generation --> 

                
                <!-- Begin Deep Iron Generation --> 
                
                <!-- Begin Layered Veins distribution of Deep Iron -->
                <IfCondition condition=':= mtlgDeepIronDist = "layeredVeins"'>
                
                    <Veins name='mtlgDeepIronBaseVeins' block='Metallurgy:fantasy.ore:1' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x604C5E6C</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgDeepIronSize * _default_' range=':= 1 * 0.8 * mtlgDeepIronSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgDeepIronSize * _default_' range=':= 1 * 0.8 * mtlgDeepIronSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgDeepIronFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Deep Iron Layered Veins) Settings -->
                    <Veins name='mtlgDeepIronPrefersVeins' block='Metallurgy:fantasy.ore:1' inherits='mtlgDeepIronBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x604C5E6C</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Deep Iron Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Deep Iron -->
                
                
                <!-- Begin  Huge Veins distribution of Deep Iron -->
                <IfCondition condition=':= mtlgDeepIronDist = "hugeVeins"'>
                
                    <Veins name='mtlgDeepIronBaseVeins' block='Metallurgy:fantasy.ore:1' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x604C5E6C</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgDeepIronSize * _default_' range=':= 1 * 0.8 * mtlgDeepIronSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgDeepIronSize * _default_' range=':= 1 * 0.8 * mtlgDeepIronSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgDeepIronFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Deep Iron Huge Veins) Settings -->
                    <Veins name='mtlgDeepIronPrefersVeins' block='Metallurgy:fantasy.ore:1' inherits='mtlgDeepIronBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x604C5E6C</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Deep Iron Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Deep Iron -->
                
                
                <!-- Begin  Strategic Cloud distribution of Deep Iron -->
                <IfCondition condition=':= mtlgDeepIronDist = "strategicCloud"'>
                
                    <Cloud name='mtlgDeepIronBaseCloud' block='Metallurgy:fantasy.ore:1' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x604C5E6C</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.8 * mtlgDeepIronSize * _default_' range=':= 1 * 0.8 * mtlgDeepIronSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * mtlgDeepIronSize * _default_' range=':= 1 * 0.8 * mtlgDeepIronSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 16' range=':= 16' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * 0.8 * mtlgDeepIronSize * _default_' range=':= 1 * 0.8 * 0.8 * mtlgDeepIronSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * mtlgDeepIronFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Deep Iron Strategic Cloud Hint Veins -->
                        <Veins name='mtlgDeepIronBaseHintVeins' block='Metallurgy:fantasy.ore:1' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x604C5E6C</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Deep Iron Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Deep Iron -->
                
                
                <!-- Begin  Vanilla distribution of Deep Iron -->
                <IfCondition condition=':= mtlgDeepIronDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgDeepIronBaseStandard' block='Metallurgy:fantasy.ore:1' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x604C5E6C</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgDeepIronSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 16' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1 * mtlgDeepIronFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Deep Iron -->
                
                <!-- End Deep Iron Generation --> 

                
                <!-- Begin Infuscolium Generation --> 
                
                <!-- Begin Layered Veins distribution of Infuscolium -->
                <IfCondition condition=':= mtlgInfuscoliumDist = "layeredVeins"'>
                
                    <Veins name='mtlgInfuscoliumBaseVeins' block='Metallurgy:fantasy.ore:2' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x608B2656</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgInfuscoliumSize * _default_' range=':= 1 * 0.8 * mtlgInfuscoliumSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgInfuscoliumSize * _default_' range=':= 1 * 0.8 * mtlgInfuscoliumSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgInfuscoliumFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Infuscolium Layered Veins) Settings -->
                    <Veins name='mtlgInfuscoliumPrefersVeins' block='Metallurgy:fantasy.ore:2' inherits='mtlgInfuscoliumBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x608B2656</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Infuscolium Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Infuscolium -->
                
                
                <!-- Begin  Huge Veins distribution of Infuscolium -->
                <IfCondition condition=':= mtlgInfuscoliumDist = "hugeVeins"'>
                
                    <Veins name='mtlgInfuscoliumBaseVeins' block='Metallurgy:fantasy.ore:2' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x608B2656</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgInfuscoliumSize * _default_' range=':= 1 * 0.8 * mtlgInfuscoliumSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgInfuscoliumSize * _default_' range=':= 1 * 0.8 * mtlgInfuscoliumSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgInfuscoliumFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Infuscolium Huge Veins) Settings -->
                    <Veins name='mtlgInfuscoliumPrefersVeins' block='Metallurgy:fantasy.ore:2' inherits='mtlgInfuscoliumBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x608B2656</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Infuscolium Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Infuscolium -->
                
                
                <!-- Begin  Strategic Cloud distribution of Infuscolium -->
                <IfCondition condition=':= mtlgInfuscoliumDist = "strategicCloud"'>
                
                    <Cloud name='mtlgInfuscoliumBaseCloud' block='Metallurgy:fantasy.ore:2' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x608B2656</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.8 * mtlgInfuscoliumSize * _default_' range=':= 1 * 0.8 * mtlgInfuscoliumSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * mtlgInfuscoliumSize * _default_' range=':= 1 * 0.8 * mtlgInfuscoliumSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 16' range=':= 16' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * 0.8 * mtlgInfuscoliumSize * _default_' range=':= 1 * 0.8 * 0.8 * mtlgInfuscoliumSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * mtlgInfuscoliumFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Infuscolium Strategic Cloud Hint Veins -->
                        <Veins name='mtlgInfuscoliumBaseHintVeins' block='Metallurgy:fantasy.ore:2' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x608B2656</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Infuscolium Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Infuscolium -->
                
                
                <!-- Begin  Vanilla distribution of Infuscolium -->
                <IfCondition condition=':= mtlgInfuscoliumDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgInfuscoliumBaseStandard' block='Metallurgy:fantasy.ore:2' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x608B2656</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgInfuscoliumSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 16' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1 * mtlgInfuscoliumFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Infuscolium -->
                
                <!-- End Infuscolium Generation --> 

                
                <!-- Begin Oureclase Generation --> 
                
                <!-- Begin Layered Veins distribution of Oureclase -->
                <IfCondition condition=':= mtlgOureclaseDist = "layeredVeins"'>
                
                    <Veins name='mtlgOureclaseBaseVeins' block='Metallurgy:fantasy.ore:4' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x609A7607</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgOureclaseSize * _default_' range=':= 1 * 0.8 * mtlgOureclaseSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgOureclaseSize * _default_' range=':= 1 * 0.8 * mtlgOureclaseSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgOureclaseFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Oureclase Layered Veins) Settings -->
                    <Veins name='mtlgOureclasePrefersVeins' block='Metallurgy:fantasy.ore:4' inherits='mtlgOureclaseBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x609A7607</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Oureclase Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Oureclase -->
                
                
                <!-- Begin  Huge Veins distribution of Oureclase -->
                <IfCondition condition=':= mtlgOureclaseDist = "hugeVeins"'>
                
                    <Veins name='mtlgOureclaseBaseVeins' block='Metallurgy:fantasy.ore:4' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x609A7607</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgOureclaseSize * _default_' range=':= 1 * 0.8 * mtlgOureclaseSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgOureclaseSize * _default_' range=':= 1 * 0.8 * mtlgOureclaseSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgOureclaseFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Oureclase Huge Veins) Settings -->
                    <Veins name='mtlgOureclasePrefersVeins' block='Metallurgy:fantasy.ore:4' inherits='mtlgOureclaseBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x609A7607</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Oureclase Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Oureclase -->
                
                
                <!-- Begin  Strategic Cloud distribution of Oureclase -->
                <IfCondition condition=':= mtlgOureclaseDist = "strategicCloud"'>
                
                    <Cloud name='mtlgOureclaseBaseCloud' block='Metallurgy:fantasy.ore:4' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x609A7607</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.8 * mtlgOureclaseSize * _default_' range=':= 1 * 0.8 * mtlgOureclaseSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * mtlgOureclaseSize * _default_' range=':= 1 * 0.8 * mtlgOureclaseSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 16' range=':= 16' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * 0.8 * mtlgOureclaseSize * _default_' range=':= 1 * 0.8 * 0.8 * mtlgOureclaseSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * mtlgOureclaseFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Oureclase Strategic Cloud Hint Veins -->
                        <Veins name='mtlgOureclaseBaseHintVeins' block='Metallurgy:fantasy.ore:4' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x609A7607</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Oureclase Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Oureclase -->
                
                
                <!-- Begin  Vanilla distribution of Oureclase -->
                <IfCondition condition=':= mtlgOureclaseDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgOureclaseBaseStandard' block='Metallurgy:fantasy.ore:4' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x609A7607</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgOureclaseSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 16' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1 * mtlgOureclaseFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Oureclase -->
                
                <!-- End Oureclase Generation --> 

                
                <!-- Begin Astral Silver Generation --> 
                
                <!-- Begin Layered Veins distribution of Astral Silver -->
                <IfCondition condition=':= mtlgAstralSilverDist = "layeredVeins"'>
                
                    <Veins name='mtlgAstralSilverBaseVeins' block='Metallurgy:fantasy.ore:5' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60ADC3C3</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgAstralSilverSize * _default_' range=':= 1 * 0.8 * mtlgAstralSilverSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgAstralSilverSize * _default_' range=':= 1 * 0.8 * mtlgAstralSilverSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgAstralSilverFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Astral Silver Layered Veins) Settings -->
                    <Veins name='mtlgAstralSilverPrefersVeins' block='Metallurgy:fantasy.ore:5' inherits='mtlgAstralSilverBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60ADC3C3</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Astral Silver Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Astral Silver -->
                
                
                <!-- Begin  Huge Veins distribution of Astral Silver -->
                <IfCondition condition=':= mtlgAstralSilverDist = "hugeVeins"'>
                
                    <Veins name='mtlgAstralSilverBaseVeins' block='Metallurgy:fantasy.ore:5' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60ADC3C3</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgAstralSilverSize * _default_' range=':= 1 * 0.8 * mtlgAstralSilverSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgAstralSilverSize * _default_' range=':= 1 * 0.8 * mtlgAstralSilverSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgAstralSilverFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Astral Silver Huge Veins) Settings -->
                    <Veins name='mtlgAstralSilverPrefersVeins' block='Metallurgy:fantasy.ore:5' inherits='mtlgAstralSilverBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60ADC3C3</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Astral Silver Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Astral Silver -->
                
                
                <!-- Begin  Strategic Cloud distribution of Astral Silver -->
                <IfCondition condition=':= mtlgAstralSilverDist = "strategicCloud"'>
                
                    <Cloud name='mtlgAstralSilverBaseCloud' block='Metallurgy:fantasy.ore:5' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60ADC3C3</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.8 * mtlgAstralSilverSize * _default_' range=':= 1 * 0.8 * mtlgAstralSilverSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * mtlgAstralSilverSize * _default_' range=':= 1 * 0.8 * mtlgAstralSilverSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 16' range=':= 16' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * 0.8 * mtlgAstralSilverSize * _default_' range=':= 1 * 0.8 * 0.8 * mtlgAstralSilverSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * mtlgAstralSilverFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Astral Silver Strategic Cloud Hint Veins -->
                        <Veins name='mtlgAstralSilverBaseHintVeins' block='Metallurgy:fantasy.ore:5' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60ADC3C3</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Astral Silver Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Astral Silver -->
                
                
                <!-- Begin  Vanilla distribution of Astral Silver -->
                <IfCondition condition=':= mtlgAstralSilverDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgAstralSilverBaseStandard' block='Metallurgy:fantasy.ore:5' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60ADC3C3</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgAstralSilverSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 16' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1 * mtlgAstralSilverFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Astral Silver -->
                
                <!-- End Astral Silver Generation --> 

                
                <!-- Begin Carmot Generation --> 
                
                <!-- Begin Layered Veins distribution of Carmot -->
                <IfCondition condition=':= mtlgCarmotDist = "layeredVeins"'>
                
                    <Veins name='mtlgCarmotBaseVeins' block='Metallurgy:fantasy.ore:6' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60D7C986</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgCarmotSize * _default_' range=':= 1 * 0.8 * mtlgCarmotSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgCarmotSize * _default_' range=':= 1 * 0.8 * mtlgCarmotSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgCarmotFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Carmot Layered Veins) Settings -->
                    <Veins name='mtlgCarmotPrefersVeins' block='Metallurgy:fantasy.ore:6' inherits='mtlgCarmotBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60D7C986</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Carmot Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Carmot -->
                
                
                <!-- Begin  Huge Veins distribution of Carmot -->
                <IfCondition condition=':= mtlgCarmotDist = "hugeVeins"'>
                
                    <Veins name='mtlgCarmotBaseVeins' block='Metallurgy:fantasy.ore:6' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60D7C986</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgCarmotSize * _default_' range=':= 1 * 0.8 * mtlgCarmotSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgCarmotSize * _default_' range=':= 1 * 0.8 * mtlgCarmotSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgCarmotFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Carmot Huge Veins) Settings -->
                    <Veins name='mtlgCarmotPrefersVeins' block='Metallurgy:fantasy.ore:6' inherits='mtlgCarmotBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60D7C986</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Carmot Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Carmot -->
                
                
                <!-- Begin  Strategic Cloud distribution of Carmot -->
                <IfCondition condition=':= mtlgCarmotDist = "strategicCloud"'>
                
                    <Cloud name='mtlgCarmotBaseCloud' block='Metallurgy:fantasy.ore:6' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60D7C986</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.8 * mtlgCarmotSize * _default_' range=':= 1 * 0.8 * mtlgCarmotSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * mtlgCarmotSize * _default_' range=':= 1 * 0.8 * mtlgCarmotSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 16' range=':= 16' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * 0.8 * mtlgCarmotSize * _default_' range=':= 1 * 0.8 * 0.8 * mtlgCarmotSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * mtlgCarmotFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Carmot Strategic Cloud Hint Veins -->
                        <Veins name='mtlgCarmotBaseHintVeins' block='Metallurgy:fantasy.ore:6' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60D7C986</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Carmot Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Carmot -->
                
                
                <!-- Begin  Vanilla distribution of Carmot -->
                <IfCondition condition=':= mtlgCarmotDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgCarmotBaseStandard' block='Metallurgy:fantasy.ore:6' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60D7C986</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgCarmotSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 16' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1 * mtlgCarmotFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Carmot -->
                
                <!-- End Carmot Generation --> 

                
                <!-- Begin Mithril Generation --> 
                
                <!-- Begin Layered Veins distribution of Mithril -->
                <IfCondition condition=':= mtlgMithrilDist = "layeredVeins"'>
                
                    <Veins name='mtlgMithrilBaseVeins' block='Metallurgy:fantasy.ore:7' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x609AF3F7</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgMithrilSize * _default_' range=':= 1 * 0.8 * mtlgMithrilSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgMithrilSize * _default_' range=':= 1 * 0.8 * mtlgMithrilSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgMithrilFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Mithril Layered Veins) Settings -->
                    <Veins name='mtlgMithrilPrefersVeins' block='Metallurgy:fantasy.ore:7' inherits='mtlgMithrilBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x609AF3F7</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Mithril Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Mithril -->
                
                
                <!-- Begin  Huge Veins distribution of Mithril -->
                <IfCondition condition=':= mtlgMithrilDist = "hugeVeins"'>
                
                    <Veins name='mtlgMithrilBaseVeins' block='Metallurgy:fantasy.ore:7' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x609AF3F7</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgMithrilSize * _default_' range=':= 1 * 0.8 * mtlgMithrilSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgMithrilSize * _default_' range=':= 1 * 0.8 * mtlgMithrilSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgMithrilFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Mithril Huge Veins) Settings -->
                    <Veins name='mtlgMithrilPrefersVeins' block='Metallurgy:fantasy.ore:7' inherits='mtlgMithrilBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x609AF3F7</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Mithril Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Mithril -->
                
                
                <!-- Begin  Strategic Cloud distribution of Mithril -->
                <IfCondition condition=':= mtlgMithrilDist = "strategicCloud"'>
                
                    <Cloud name='mtlgMithrilBaseCloud' block='Metallurgy:fantasy.ore:7' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x609AF3F7</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.8 * mtlgMithrilSize * _default_' range=':= 1 * 0.8 * mtlgMithrilSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * mtlgMithrilSize * _default_' range=':= 1 * 0.8 * mtlgMithrilSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 16' range=':= 16' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * 0.8 * mtlgMithrilSize * _default_' range=':= 1 * 0.8 * 0.8 * mtlgMithrilSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * mtlgMithrilFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Mithril Strategic Cloud Hint Veins -->
                        <Veins name='mtlgMithrilBaseHintVeins' block='Metallurgy:fantasy.ore:7' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x609AF3F7</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Mithril Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Mithril -->
                
                
                <!-- Begin  Vanilla distribution of Mithril -->
                <IfCondition condition=':= mtlgMithrilDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgMithrilBaseStandard' block='Metallurgy:fantasy.ore:7' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x609AF3F7</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgMithrilSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 16' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1 * mtlgMithrilFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Mithril -->
                
                <!-- End Mithril Generation --> 

                
                <!-- Begin Rubracium Generation --> 
                
                <!-- Begin Layered Veins distribution of Rubracium -->
                <IfCondition condition=':= mtlgRubraciumDist = "layeredVeins"'>
                
                    <Veins name='mtlgRubraciumBaseVeins' block='Metallurgy:fantasy.ore:8' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60A1363C</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgRubraciumSize * _default_' range=':= 1 * 0.8 * mtlgRubraciumSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgRubraciumSize * _default_' range=':= 1 * 0.8 * mtlgRubraciumSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgRubraciumFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Rubracium Layered Veins) Settings -->
                    <Veins name='mtlgRubraciumPrefersVeins' block='Metallurgy:fantasy.ore:8' inherits='mtlgRubraciumBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60A1363C</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Rubracium Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Rubracium -->
                
                
                <!-- Begin  Huge Veins distribution of Rubracium -->
                <IfCondition condition=':= mtlgRubraciumDist = "hugeVeins"'>
                
                    <Veins name='mtlgRubraciumBaseVeins' block='Metallurgy:fantasy.ore:8' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60A1363C</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgRubraciumSize * _default_' range=':= 1 * 0.8 * mtlgRubraciumSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgRubraciumSize * _default_' range=':= 1 * 0.8 * mtlgRubraciumSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgRubraciumFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Rubracium Huge Veins) Settings -->
                    <Veins name='mtlgRubraciumPrefersVeins' block='Metallurgy:fantasy.ore:8' inherits='mtlgRubraciumBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60A1363C</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Rubracium Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Rubracium -->
                
                
                <!-- Begin  Strategic Cloud distribution of Rubracium -->
                <IfCondition condition=':= mtlgRubraciumDist = "strategicCloud"'>
                
                    <Cloud name='mtlgRubraciumBaseCloud' block='Metallurgy:fantasy.ore:8' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60A1363C</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.8 * mtlgRubraciumSize * _default_' range=':= 1 * 0.8 * mtlgRubraciumSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * mtlgRubraciumSize * _default_' range=':= 1 * 0.8 * mtlgRubraciumSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 16' range=':= 16' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * 0.8 * mtlgRubraciumSize * _default_' range=':= 1 * 0.8 * 0.8 * mtlgRubraciumSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * mtlgRubraciumFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Rubracium Strategic Cloud Hint Veins -->
                        <Veins name='mtlgRubraciumBaseHintVeins' block='Metallurgy:fantasy.ore:8' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60A1363C</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Rubracium Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Rubracium -->
                
                
                <!-- Begin  Vanilla distribution of Rubracium -->
                <IfCondition condition=':= mtlgRubraciumDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgRubraciumBaseStandard' block='Metallurgy:fantasy.ore:8' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60A1363C</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgRubraciumSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 16' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1 * mtlgRubraciumFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Rubracium -->
                
                <!-- End Rubracium Generation --> 

                
                <!-- Begin Orichalcum Generation --> 
                
                <!-- Begin Layered Veins distribution of Orichalcum -->
                <IfCondition condition=':= mtlgOrichalcumDist = "layeredVeins"'>
                
                    <Veins name='mtlgOrichalcumBaseVeins' block='Metallurgy:fantasy.ore:11' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60466432</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgOrichalcumSize * _default_' range=':= 1 * 0.8 * mtlgOrichalcumSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgOrichalcumSize * _default_' range=':= 1 * 0.8 * mtlgOrichalcumSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgOrichalcumFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Orichalcum Layered Veins) Settings -->
                    <Veins name='mtlgOrichalcumPrefersVeins' block='Metallurgy:fantasy.ore:11' inherits='mtlgOrichalcumBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60466432</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Orichalcum Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Orichalcum -->
                
                
                <!-- Begin  Huge Veins distribution of Orichalcum -->
                <IfCondition condition=':= mtlgOrichalcumDist = "hugeVeins"'>
                
                    <Veins name='mtlgOrichalcumBaseVeins' block='Metallurgy:fantasy.ore:11' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60466432</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgOrichalcumSize * _default_' range=':= 1 * 0.8 * mtlgOrichalcumSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgOrichalcumSize * _default_' range=':= 1 * 0.8 * mtlgOrichalcumSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgOrichalcumFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Orichalcum Huge Veins) Settings -->
                    <Veins name='mtlgOrichalcumPrefersVeins' block='Metallurgy:fantasy.ore:11' inherits='mtlgOrichalcumBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60466432</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Orichalcum Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Orichalcum -->
                
                
                <!-- Begin  Strategic Cloud distribution of Orichalcum -->
                <IfCondition condition=':= mtlgOrichalcumDist = "strategicCloud"'>
                
                    <Cloud name='mtlgOrichalcumBaseCloud' block='Metallurgy:fantasy.ore:11' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60466432</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.8 * mtlgOrichalcumSize * _default_' range=':= 1 * 0.8 * mtlgOrichalcumSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * mtlgOrichalcumSize * _default_' range=':= 1 * 0.8 * mtlgOrichalcumSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 16' range=':= 16' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * 0.8 * mtlgOrichalcumSize * _default_' range=':= 1 * 0.8 * 0.8 * mtlgOrichalcumSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * mtlgOrichalcumFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Orichalcum Strategic Cloud Hint Veins -->
                        <Veins name='mtlgOrichalcumBaseHintVeins' block='Metallurgy:fantasy.ore:11' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60466432</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Orichalcum Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Orichalcum -->
                
                
                <!-- Begin  Vanilla distribution of Orichalcum -->
                <IfCondition condition=':= mtlgOrichalcumDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgOrichalcumBaseStandard' block='Metallurgy:fantasy.ore:11' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60466432</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgOrichalcumSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 16' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1 * mtlgOrichalcumFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Orichalcum -->
                
                <!-- End Orichalcum Generation --> 

                
                <!-- Begin Adamantine Generation --> 
                
                <!-- Begin Layered Veins distribution of Adamantine -->
                <IfCondition condition=':= mtlgAdamantineDist = "layeredVeins"'>
                
                    <Veins name='mtlgAdamantineBaseVeins' block='Metallurgy:fantasy.ore:13' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60AC0C0D</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgAdamantineSize * _default_' range=':= 1 * 0.8 * mtlgAdamantineSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgAdamantineSize * _default_' range=':= 1 * 0.8 * mtlgAdamantineSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgAdamantineFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Adamantine Layered Veins) Settings -->
                    <Veins name='mtlgAdamantinePrefersVeins' block='Metallurgy:fantasy.ore:13' inherits='mtlgAdamantineBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60AC0C0D</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Adamantine Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Adamantine -->
                
                
                <!-- Begin  Huge Veins distribution of Adamantine -->
                <IfCondition condition=':= mtlgAdamantineDist = "hugeVeins"'>
                
                    <Veins name='mtlgAdamantineBaseVeins' block='Metallurgy:fantasy.ore:13' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60AC0C0D</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgAdamantineSize * _default_' range=':= 1 * 0.8 * mtlgAdamantineSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgAdamantineSize * _default_' range=':= 1 * 0.8 * mtlgAdamantineSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgAdamantineFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Adamantine Huge Veins) Settings -->
                    <Veins name='mtlgAdamantinePrefersVeins' block='Metallurgy:fantasy.ore:13' inherits='mtlgAdamantineBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60AC0C0D</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Adamantine Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Adamantine -->
                
                
                <!-- Begin  Strategic Cloud distribution of Adamantine -->
                <IfCondition condition=':= mtlgAdamantineDist = "strategicCloud"'>
                
                    <Cloud name='mtlgAdamantineBaseCloud' block='Metallurgy:fantasy.ore:13' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60AC0C0D</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.8 * mtlgAdamantineSize * _default_' range=':= 1 * 0.8 * mtlgAdamantineSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * mtlgAdamantineSize * _default_' range=':= 1 * 0.8 * mtlgAdamantineSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 16' range=':= 16' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * 0.8 * mtlgAdamantineSize * _default_' range=':= 1 * 0.8 * 0.8 * mtlgAdamantineSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * mtlgAdamantineFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Adamantine Strategic Cloud Hint Veins -->
                        <Veins name='mtlgAdamantineBaseHintVeins' block='Metallurgy:fantasy.ore:13' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60AC0C0D</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Adamantine Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Adamantine -->
                
                
                <!-- Begin  Vanilla distribution of Adamantine -->
                <IfCondition condition=':= mtlgAdamantineDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgAdamantineBaseStandard' block='Metallurgy:fantasy.ore:13' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60AC0C0D</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgAdamantineSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 16' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1 * mtlgAdamantineFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Adamantine -->
                
                <!-- End Adamantine Generation --> 

                
                <!-- Begin Atlarus Generation --> 
                
                <!-- Begin Layered Veins distribution of Atlarus -->
                <IfCondition condition=':= mtlgAtlarusDist = "layeredVeins"'>
                
                    <Veins name='mtlgAtlarusBaseVeins' block='Metallurgy:fantasy.ore:14' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60C4B117</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgAtlarusSize * _default_' range=':= 1 * 0.8 * mtlgAtlarusSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgAtlarusSize * _default_' range=':= 1 * 0.8 * mtlgAtlarusSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgAtlarusFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Atlarus Layered Veins) Settings -->
                    <Veins name='mtlgAtlarusPrefersVeins' block='Metallurgy:fantasy.ore:14' inherits='mtlgAtlarusBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60C4B117</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Atlarus Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Atlarus -->
                
                
                <!-- Begin  Huge Veins distribution of Atlarus -->
                <IfCondition condition=':= mtlgAtlarusDist = "hugeVeins"'>
                
                    <Veins name='mtlgAtlarusBaseVeins' block='Metallurgy:fantasy.ore:14' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60C4B117</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * mtlgAtlarusSize * _default_' range=':= 1 * 0.8 * mtlgAtlarusSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 20' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * mtlgAtlarusSize * _default_' range=':= 1 * 0.8 * mtlgAtlarusSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * mtlgAtlarusFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Atlarus Huge Veins) Settings -->
                    <Veins name='mtlgAtlarusPrefersVeins' block='Metallurgy:fantasy.ore:14' inherits='mtlgAtlarusBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60C4B117</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Atlarus Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Atlarus -->
                
                
                <!-- Begin  Strategic Cloud distribution of Atlarus -->
                <IfCondition condition=':= mtlgAtlarusDist = "strategicCloud"'>
                
                    <Cloud name='mtlgAtlarusBaseCloud' block='Metallurgy:fantasy.ore:14' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60C4B117</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.8 * mtlgAtlarusSize * _default_' range=':= 1 * 0.8 * mtlgAtlarusSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * mtlgAtlarusSize * _default_' range=':= 1 * 0.8 * mtlgAtlarusSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 16' range=':= 16' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * 0.8 * mtlgAtlarusSize * _default_' range=':= 1 * 0.8 * 0.8 * mtlgAtlarusSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * mtlgAtlarusFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Atlarus Strategic Cloud Hint Veins -->
                        <Veins name='mtlgAtlarusBaseHintVeins' block='Metallurgy:fantasy.ore:14' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60C4B117</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Atlarus Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Atlarus -->
                
                
                <!-- Begin  Vanilla distribution of Atlarus -->
                <IfCondition condition=':= mtlgAtlarusDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgAtlarusBaseStandard' block='Metallurgy:fantasy.ore:14' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60C4B117</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgAtlarusSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 16' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1 * mtlgAtlarusFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Atlarus -->
                
                <!-- End Atlarus Generation --> 

                <!-- Done adding ores -->
            
            </IfCondition>
            <!-- Overworld Setup Complete -->

            <!-- Setup Nether -->
            <IfCondition condition=':= dimension.generator = "HellRandomLevelSource"'>
                
                <!-- Starting Original Nether Ore Removal -->
                <Substitute name='mtlgNetherOreSubstitute0' block='minecraft:netherrack'>
                    <Description>
                        Replace vanilla-generated ore clusters.
                    </Description>
                    <Comment>
                        The global option deferredPopulationRange must be large enough to catch all ore clusters (>= 32).
                    </Comment>
                    <Replaces block='Metallurgy:nether.ore:0' />
                    <Replaces block='Metallurgy:nether.ore:1' />
                    <Replaces block='Metallurgy:nether.ore:2' />
                    <Replaces block='Metallurgy:nether.ore:3' />
                    <Replaces block='Metallurgy:nether.ore:4' />
                    <Replaces block='Metallurgy:nether.ore:5' />
                    <Replaces block='Metallurgy:nether.ore:6' />
                    <Replaces block='Metallurgy:nether.ore:7' />
                    <Replaces block='Metallurgy:nether.ore:8' />
                    <Replaces block='Metallurgy:nether.ore:9' />
                </Substitute>
                <!-- Original Nether Ore Removal Complete -->
                
                <!-- Adding ores --> 
                
                <!-- Begin Ignatius Generation --> 
                
                <!-- Begin Layered Veins distribution of Ignatius -->
                <IfCondition condition=':= mtlgIgnatiusDist = "layeredVeins"'>
                
                    <Veins name='mtlgIgnatiusBaseVeins' block='Metallurgy:nether.ore' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EE810A</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgIgnatiusSize * _default_' range=':= 1 * 1 * mtlgIgnatiusSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgIgnatiusSize * _default_' range=':= 1 * 1 * mtlgIgnatiusSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgIgnatiusFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Layered Veins distribution of Ignatius -->
                
                
                <!-- Begin  Huge Veins distribution of Ignatius -->
                <IfCondition condition=':= mtlgIgnatiusDist = "hugeVeins"'>
                
                    <Veins name='mtlgIgnatiusBaseVeins' block='Metallurgy:nether.ore' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EE810A</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgIgnatiusSize * _default_' range=':= 1 * 1 * mtlgIgnatiusSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgIgnatiusSize * _default_' range=':= 1 * 1 * mtlgIgnatiusSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgIgnatiusFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Ignatius -->
                
                
                <!-- Begin  Strategic Cloud distribution of Ignatius -->
                <IfCondition condition=':= mtlgIgnatiusDist = "strategicCloud"'>
                
                    <Cloud name='mtlgIgnatiusBaseCloud' block='Metallurgy:nether.ore' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EE810A</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * mtlgIgnatiusSize * _default_' range=':= 1 * 1 * mtlgIgnatiusSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * mtlgIgnatiusSize * _default_' range=':= 1 * 1 * mtlgIgnatiusSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * mtlgIgnatiusSize * _default_' range=':= 1 * 1 * 1 * mtlgIgnatiusSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 3 * 1 * mtlgIgnatiusFreq *_default_'/>
                        <Replaces block='minecraft:netherrack'/>
                        
                        <!-- Begin Ignatius Strategic Cloud Hint Veins -->
                        <Veins name='mtlgIgnatiusBaseHintVeins' block='Metallurgy:nether.ore' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60EE810A</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:netherrack'/>
                        </Veins>
                        <!-- End Ignatius Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Ignatius -->
                
                
                <!-- Begin  Vanilla distribution of Ignatius -->
                <IfCondition condition=':= mtlgIgnatiusDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgIgnatiusBaseStandard' block='Metallurgy:nether.ore' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EE810A</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgIgnatiusSize * _default_'/>
                        <Setting name='Height' avg=':= 120' range=':= 120' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 3 * 1 * mtlgIgnatiusFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Ignatius -->
                
                <!-- End Ignatius Generation --> 

                
                <!-- Begin Shadow Iron Generation --> 
                
                <!-- Begin Layered Veins distribution of Shadow Iron -->
                <IfCondition condition=':= mtlgShadowIronDist = "layeredVeins"'>
                
                    <Veins name='mtlgShadowIronBaseVeins' block='Metallurgy:nether.ore:1' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60634C3F</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgShadowIronSize * _default_' range=':= 1 * 1 * mtlgShadowIronSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgShadowIronSize * _default_' range=':= 1 * 1 * mtlgShadowIronSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgShadowIronFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Layered Veins distribution of Shadow Iron -->
                
                
                <!-- Begin  Huge Veins distribution of Shadow Iron -->
                <IfCondition condition=':= mtlgShadowIronDist = "hugeVeins"'>
                
                    <Veins name='mtlgShadowIronBaseVeins' block='Metallurgy:nether.ore:1' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60634C3F</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgShadowIronSize * _default_' range=':= 1 * 1 * mtlgShadowIronSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgShadowIronSize * _default_' range=':= 1 * 1 * mtlgShadowIronSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgShadowIronFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Shadow Iron -->
                
                
                <!-- Begin  Strategic Cloud distribution of Shadow Iron -->
                <IfCondition condition=':= mtlgShadowIronDist = "strategicCloud"'>
                
                    <Cloud name='mtlgShadowIronBaseCloud' block='Metallurgy:nether.ore:1' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60634C3F</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * mtlgShadowIronSize * _default_' range=':= 1 * 1 * mtlgShadowIronSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * mtlgShadowIronSize * _default_' range=':= 1 * 1 * mtlgShadowIronSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * mtlgShadowIronSize * _default_' range=':= 1 * 1 * 1 * mtlgShadowIronSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 3 * 1 * mtlgShadowIronFreq *_default_'/>
                        <Replaces block='minecraft:netherrack'/>
                        
                        <!-- Begin Shadow Iron Strategic Cloud Hint Veins -->
                        <Veins name='mtlgShadowIronBaseHintVeins' block='Metallurgy:nether.ore:1' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60634C3F</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:netherrack'/>
                        </Veins>
                        <!-- End Shadow Iron Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Shadow Iron -->
                
                
                <!-- Begin  Vanilla distribution of Shadow Iron -->
                <IfCondition condition=':= mtlgShadowIronDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgShadowIronBaseStandard' block='Metallurgy:nether.ore:1' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60634C3F</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgShadowIronSize * _default_'/>
                        <Setting name='Height' avg=':= 120' range=':= 120' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 3 * 1 * mtlgShadowIronFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Shadow Iron -->
                
                <!-- End Shadow Iron Generation --> 

                
                <!-- Begin Lemurite Generation --> 
                
                <!-- Begin Layered Veins distribution of Lemurite -->
                <IfCondition condition=':= mtlgLemuriteDist = "layeredVeins"'>
                
                    <Veins name='mtlgLemuriteBaseVeins' block='Metallurgy:nether.ore:2' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60B1B1B4</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgLemuriteSize * _default_' range=':= 1 * 1 * mtlgLemuriteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgLemuriteSize * _default_' range=':= 1 * 1 * mtlgLemuriteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgLemuriteFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Layered Veins distribution of Lemurite -->
                
                
                <!-- Begin  Huge Veins distribution of Lemurite -->
                <IfCondition condition=':= mtlgLemuriteDist = "hugeVeins"'>
                
                    <Veins name='mtlgLemuriteBaseVeins' block='Metallurgy:nether.ore:2' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60B1B1B4</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgLemuriteSize * _default_' range=':= 1 * 1 * mtlgLemuriteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgLemuriteSize * _default_' range=':= 1 * 1 * mtlgLemuriteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgLemuriteFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Lemurite -->
                
                
                <!-- Begin  Strategic Cloud distribution of Lemurite -->
                <IfCondition condition=':= mtlgLemuriteDist = "strategicCloud"'>
                
                    <Cloud name='mtlgLemuriteBaseCloud' block='Metallurgy:nether.ore:2' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60B1B1B4</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * mtlgLemuriteSize * _default_' range=':= 1 * 1 * mtlgLemuriteSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * mtlgLemuriteSize * _default_' range=':= 1 * 1 * mtlgLemuriteSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * mtlgLemuriteSize * _default_' range=':= 1 * 1 * 1 * mtlgLemuriteSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 3 * 1 * mtlgLemuriteFreq *_default_'/>
                        <Replaces block='minecraft:netherrack'/>
                        
                        <!-- Begin Lemurite Strategic Cloud Hint Veins -->
                        <Veins name='mtlgLemuriteBaseHintVeins' block='Metallurgy:nether.ore:2' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60B1B1B4</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:netherrack'/>
                        </Veins>
                        <!-- End Lemurite Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Lemurite -->
                
                
                <!-- Begin  Vanilla distribution of Lemurite -->
                <IfCondition condition=':= mtlgLemuriteDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgLemuriteBaseStandard' block='Metallurgy:nether.ore:2' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60B1B1B4</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgLemuriteSize * _default_'/>
                        <Setting name='Height' avg=':= 120' range=':= 120' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 3 * 1 * mtlgLemuriteFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Lemurite -->
                
                <!-- End Lemurite Generation --> 

                
                <!-- Begin Midasium Generation --> 
                
                <!-- Begin Layered Veins distribution of Midasium -->
                <IfCondition condition=':= mtlgMidasiumDist = "layeredVeins"'>
                
                    <Veins name='mtlgMidasiumBaseVeins' block='Metallurgy:nether.ore:3' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60F6B237</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgMidasiumSize * _default_' range=':= 1 * 1 * mtlgMidasiumSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgMidasiumSize * _default_' range=':= 1 * 1 * mtlgMidasiumSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgMidasiumFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Layered Veins distribution of Midasium -->
                
                
                <!-- Begin  Huge Veins distribution of Midasium -->
                <IfCondition condition=':= mtlgMidasiumDist = "hugeVeins"'>
                
                    <Veins name='mtlgMidasiumBaseVeins' block='Metallurgy:nether.ore:3' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60F6B237</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgMidasiumSize * _default_' range=':= 1 * 1 * mtlgMidasiumSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgMidasiumSize * _default_' range=':= 1 * 1 * mtlgMidasiumSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgMidasiumFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Midasium -->
                
                
                <!-- Begin  Strategic Cloud distribution of Midasium -->
                <IfCondition condition=':= mtlgMidasiumDist = "strategicCloud"'>
                
                    <Cloud name='mtlgMidasiumBaseCloud' block='Metallurgy:nether.ore:3' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60F6B237</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * mtlgMidasiumSize * _default_' range=':= 1 * 1 * mtlgMidasiumSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * mtlgMidasiumSize * _default_' range=':= 1 * 1 * mtlgMidasiumSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * mtlgMidasiumSize * _default_' range=':= 1 * 1 * 1 * mtlgMidasiumSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 3 * 1 * mtlgMidasiumFreq *_default_'/>
                        <Replaces block='minecraft:netherrack'/>
                        
                        <!-- Begin Midasium Strategic Cloud Hint Veins -->
                        <Veins name='mtlgMidasiumBaseHintVeins' block='Metallurgy:nether.ore:3' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60F6B237</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:netherrack'/>
                        </Veins>
                        <!-- End Midasium Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Midasium -->
                
                
                <!-- Begin  Vanilla distribution of Midasium -->
                <IfCondition condition=':= mtlgMidasiumDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgMidasiumBaseStandard' block='Metallurgy:nether.ore:3' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60F6B237</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgMidasiumSize * _default_'/>
                        <Setting name='Height' avg=':= 120' range=':= 120' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 3 * 1 * mtlgMidasiumFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Midasium -->
                
                <!-- End Midasium Generation --> 

                
                <!-- Begin Vyroxeres Generation --> 
                
                <!-- Begin Layered Veins distribution of Vyroxeres -->
                <IfCondition condition=':= mtlgVyroxeresDist = "layeredVeins"'>
                
                    <Veins name='mtlgVyroxeresBaseVeins' block='Metallurgy:nether.ore:4' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x6057D411</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgVyroxeresSize * _default_' range=':= 1 * 1 * mtlgVyroxeresSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgVyroxeresSize * _default_' range=':= 1 * 1 * mtlgVyroxeresSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgVyroxeresFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Layered Veins distribution of Vyroxeres -->
                
                
                <!-- Begin  Huge Veins distribution of Vyroxeres -->
                <IfCondition condition=':= mtlgVyroxeresDist = "hugeVeins"'>
                
                    <Veins name='mtlgVyroxeresBaseVeins' block='Metallurgy:nether.ore:4' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x6057D411</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgVyroxeresSize * _default_' range=':= 1 * 1 * mtlgVyroxeresSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgVyroxeresSize * _default_' range=':= 1 * 1 * mtlgVyroxeresSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgVyroxeresFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Vyroxeres -->
                
                
                <!-- Begin  Strategic Cloud distribution of Vyroxeres -->
                <IfCondition condition=':= mtlgVyroxeresDist = "strategicCloud"'>
                
                    <Cloud name='mtlgVyroxeresBaseCloud' block='Metallurgy:nether.ore:4' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x6057D411</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * mtlgVyroxeresSize * _default_' range=':= 1 * 1 * mtlgVyroxeresSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * mtlgVyroxeresSize * _default_' range=':= 1 * 1 * mtlgVyroxeresSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * mtlgVyroxeresSize * _default_' range=':= 1 * 1 * 1 * mtlgVyroxeresSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 3 * 1 * mtlgVyroxeresFreq *_default_'/>
                        <Replaces block='minecraft:netherrack'/>
                        
                        <!-- Begin Vyroxeres Strategic Cloud Hint Veins -->
                        <Veins name='mtlgVyroxeresBaseHintVeins' block='Metallurgy:nether.ore:4' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x6057D411</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:netherrack'/>
                        </Veins>
                        <!-- End Vyroxeres Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Vyroxeres -->
                
                
                <!-- Begin  Vanilla distribution of Vyroxeres -->
                <IfCondition condition=':= mtlgVyroxeresDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgVyroxeresBaseStandard' block='Metallurgy:nether.ore:4' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x6057D411</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgVyroxeresSize * _default_'/>
                        <Setting name='Height' avg=':= 120' range=':= 120' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 3 * 1 * mtlgVyroxeresFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Vyroxeres -->
                
                <!-- End Vyroxeres Generation --> 

                
                <!-- Begin Ceruclase Generation --> 
                
                <!-- Begin Layered Veins distribution of Ceruclase -->
                <IfCondition condition=':= mtlgCeruclaseDist = "layeredVeins"'>
                
                    <Veins name='mtlgCeruclaseBaseVeins' block='Metallurgy:nether.ore:5' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x603F869C</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgCeruclaseSize * _default_' range=':= 1 * 1 * mtlgCeruclaseSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgCeruclaseSize * _default_' range=':= 1 * 1 * mtlgCeruclaseSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgCeruclaseFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Layered Veins distribution of Ceruclase -->
                
                
                <!-- Begin  Huge Veins distribution of Ceruclase -->
                <IfCondition condition=':= mtlgCeruclaseDist = "hugeVeins"'>
                
                    <Veins name='mtlgCeruclaseBaseVeins' block='Metallurgy:nether.ore:5' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x603F869C</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgCeruclaseSize * _default_' range=':= 1 * 1 * mtlgCeruclaseSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgCeruclaseSize * _default_' range=':= 1 * 1 * mtlgCeruclaseSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgCeruclaseFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Ceruclase -->
                
                
                <!-- Begin  Strategic Cloud distribution of Ceruclase -->
                <IfCondition condition=':= mtlgCeruclaseDist = "strategicCloud"'>
                
                    <Cloud name='mtlgCeruclaseBaseCloud' block='Metallurgy:nether.ore:5' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x603F869C</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * mtlgCeruclaseSize * _default_' range=':= 1 * 1 * mtlgCeruclaseSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * mtlgCeruclaseSize * _default_' range=':= 1 * 1 * mtlgCeruclaseSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * mtlgCeruclaseSize * _default_' range=':= 1 * 1 * 1 * mtlgCeruclaseSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 3 * 1 * mtlgCeruclaseFreq *_default_'/>
                        <Replaces block='minecraft:netherrack'/>
                        
                        <!-- Begin Ceruclase Strategic Cloud Hint Veins -->
                        <Veins name='mtlgCeruclaseBaseHintVeins' block='Metallurgy:nether.ore:5' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x603F869C</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:netherrack'/>
                        </Veins>
                        <!-- End Ceruclase Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Ceruclase -->
                
                
                <!-- Begin  Vanilla distribution of Ceruclase -->
                <IfCondition condition=':= mtlgCeruclaseDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgCeruclaseBaseStandard' block='Metallurgy:nether.ore:5' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x603F869C</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgCeruclaseSize * _default_'/>
                        <Setting name='Height' avg=':= 120' range=':= 120' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 3 * 1 * mtlgCeruclaseFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Ceruclase -->
                
                <!-- End Ceruclase Generation --> 

                
                <!-- Begin Alduorite Generation --> 
                
                <!-- Begin Layered Veins distribution of Alduorite -->
                <IfCondition condition=':= mtlgAlduoriteDist = "layeredVeins"'>
                
                    <Veins name='mtlgAlduoriteBaseVeins' block='Metallurgy:nether.ore:6' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x609FCED2</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgAlduoriteSize * _default_' range=':= 1 * 1 * mtlgAlduoriteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgAlduoriteSize * _default_' range=':= 1 * 1 * mtlgAlduoriteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgAlduoriteFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Layered Veins distribution of Alduorite -->
                
                
                <!-- Begin  Huge Veins distribution of Alduorite -->
                <IfCondition condition=':= mtlgAlduoriteDist = "hugeVeins"'>
                
                    <Veins name='mtlgAlduoriteBaseVeins' block='Metallurgy:nether.ore:6' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x609FCED2</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgAlduoriteSize * _default_' range=':= 1 * 1 * mtlgAlduoriteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgAlduoriteSize * _default_' range=':= 1 * 1 * mtlgAlduoriteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgAlduoriteFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Alduorite -->
                
                
                <!-- Begin  Strategic Cloud distribution of Alduorite -->
                <IfCondition condition=':= mtlgAlduoriteDist = "strategicCloud"'>
                
                    <Cloud name='mtlgAlduoriteBaseCloud' block='Metallurgy:nether.ore:6' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x609FCED2</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * mtlgAlduoriteSize * _default_' range=':= 1 * 1 * mtlgAlduoriteSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * mtlgAlduoriteSize * _default_' range=':= 1 * 1 * mtlgAlduoriteSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * mtlgAlduoriteSize * _default_' range=':= 1 * 1 * 1 * mtlgAlduoriteSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 3 * 1 * mtlgAlduoriteFreq *_default_'/>
                        <Replaces block='minecraft:netherrack'/>
                        
                        <!-- Begin Alduorite Strategic Cloud Hint Veins -->
                        <Veins name='mtlgAlduoriteBaseHintVeins' block='Metallurgy:nether.ore:6' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x609FCED2</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:netherrack'/>
                        </Veins>
                        <!-- End Alduorite Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Alduorite -->
                
                
                <!-- Begin  Vanilla distribution of Alduorite -->
                <IfCondition condition=':= mtlgAlduoriteDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgAlduoriteBaseStandard' block='Metallurgy:nether.ore:6' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x609FCED2</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgAlduoriteSize * _default_'/>
                        <Setting name='Height' avg=':= 120' range=':= 120' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 3 * 1 * mtlgAlduoriteFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Alduorite -->
                
                <!-- End Alduorite Generation --> 

                
                <!-- Begin Kalendrite Generation --> 
                
                <!-- Begin Layered Veins distribution of Kalendrite -->
                <IfCondition condition=':= mtlgKalendriteDist = "layeredVeins"'>
                
                    <Veins name='mtlgKalendriteBaseVeins' block='Metallurgy:nether.ore:7' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60AB6AB9</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgKalendriteSize * _default_' range=':= 1 * 1 * mtlgKalendriteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgKalendriteSize * _default_' range=':= 1 * 1 * mtlgKalendriteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgKalendriteFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Layered Veins distribution of Kalendrite -->
                
                
                <!-- Begin  Huge Veins distribution of Kalendrite -->
                <IfCondition condition=':= mtlgKalendriteDist = "hugeVeins"'>
                
                    <Veins name='mtlgKalendriteBaseVeins' block='Metallurgy:nether.ore:7' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60AB6AB9</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgKalendriteSize * _default_' range=':= 1 * 1 * mtlgKalendriteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgKalendriteSize * _default_' range=':= 1 * 1 * mtlgKalendriteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgKalendriteFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Kalendrite -->
                
                
                <!-- Begin  Strategic Cloud distribution of Kalendrite -->
                <IfCondition condition=':= mtlgKalendriteDist = "strategicCloud"'>
                
                    <Cloud name='mtlgKalendriteBaseCloud' block='Metallurgy:nether.ore:7' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60AB6AB9</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * mtlgKalendriteSize * _default_' range=':= 1 * 1 * mtlgKalendriteSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * mtlgKalendriteSize * _default_' range=':= 1 * 1 * mtlgKalendriteSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * mtlgKalendriteSize * _default_' range=':= 1 * 1 * 1 * mtlgKalendriteSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 3 * 1 * mtlgKalendriteFreq *_default_'/>
                        <Replaces block='minecraft:netherrack'/>
                        
                        <!-- Begin Kalendrite Strategic Cloud Hint Veins -->
                        <Veins name='mtlgKalendriteBaseHintVeins' block='Metallurgy:nether.ore:7' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60AB6AB9</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:netherrack'/>
                        </Veins>
                        <!-- End Kalendrite Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Kalendrite -->
                
                
                <!-- Begin  Vanilla distribution of Kalendrite -->
                <IfCondition condition=':= mtlgKalendriteDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgKalendriteBaseStandard' block='Metallurgy:nether.ore:7' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60AB6AB9</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgKalendriteSize * _default_'/>
                        <Setting name='Height' avg=':= 120' range=':= 120' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 3 * 1 * mtlgKalendriteFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Kalendrite -->
                
                <!-- End Kalendrite Generation --> 

                
                <!-- Begin Vulcanite Generation --> 
                
                <!-- Begin Layered Veins distribution of Vulcanite -->
                <IfCondition condition=':= mtlgVulcaniteDist = "layeredVeins"'>
                
                    <Veins name='mtlgVulcaniteBaseVeins' block='Metallurgy:nether.ore:8' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60E66922</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgVulcaniteSize * _default_' range=':= 1 * 1 * mtlgVulcaniteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgVulcaniteSize * _default_' range=':= 1 * 1 * mtlgVulcaniteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgVulcaniteFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Layered Veins distribution of Vulcanite -->
                
                
                <!-- Begin  Huge Veins distribution of Vulcanite -->
                <IfCondition condition=':= mtlgVulcaniteDist = "hugeVeins"'>
                
                    <Veins name='mtlgVulcaniteBaseVeins' block='Metallurgy:nether.ore:8' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60E66922</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgVulcaniteSize * _default_' range=':= 1 * 1 * mtlgVulcaniteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgVulcaniteSize * _default_' range=':= 1 * 1 * mtlgVulcaniteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgVulcaniteFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Vulcanite -->
                
                
                <!-- Begin  Strategic Cloud distribution of Vulcanite -->
                <IfCondition condition=':= mtlgVulcaniteDist = "strategicCloud"'>
                
                    <Cloud name='mtlgVulcaniteBaseCloud' block='Metallurgy:nether.ore:8' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60E66922</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * mtlgVulcaniteSize * _default_' range=':= 1 * 1 * mtlgVulcaniteSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * mtlgVulcaniteSize * _default_' range=':= 1 * 1 * mtlgVulcaniteSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * mtlgVulcaniteSize * _default_' range=':= 1 * 1 * 1 * mtlgVulcaniteSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 3 * 1 * mtlgVulcaniteFreq *_default_'/>
                        <Replaces block='minecraft:netherrack'/>
                        
                        <!-- Begin Vulcanite Strategic Cloud Hint Veins -->
                        <Veins name='mtlgVulcaniteBaseHintVeins' block='Metallurgy:nether.ore:8' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60E66922</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:netherrack'/>
                        </Veins>
                        <!-- End Vulcanite Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Vulcanite -->
                
                
                <!-- Begin  Vanilla distribution of Vulcanite -->
                <IfCondition condition=':= mtlgVulcaniteDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgVulcaniteBaseStandard' block='Metallurgy:nether.ore:8' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60E66922</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgVulcaniteSize * _default_'/>
                        <Setting name='Height' avg=':= 120' range=':= 120' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 3 * 1 * mtlgVulcaniteFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Vulcanite -->
                
                <!-- End Vulcanite Generation --> 

                
                <!-- Begin Sanguinite Generation --> 
                
                <!-- Begin Layered Veins distribution of Sanguinite -->
                <IfCondition condition=':= mtlgSanguiniteDist = "layeredVeins"'>
                
                    <Veins name='mtlgSanguiniteBaseVeins' block='Metallurgy:nether.ore:9' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60C30506</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgSanguiniteSize * _default_' range=':= 1 * 1 * mtlgSanguiniteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgSanguiniteSize * _default_' range=':= 1 * 1 * mtlgSanguiniteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgSanguiniteFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Layered Veins distribution of Sanguinite -->
                
                
                <!-- Begin  Huge Veins distribution of Sanguinite -->
                <IfCondition condition=':= mtlgSanguiniteDist = "hugeVeins"'>
                
                    <Veins name='mtlgSanguiniteBaseVeins' block='Metallurgy:nether.ore:9' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60C30506</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgSanguiniteSize * _default_' range=':= 1 * 1 * mtlgSanguiniteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgSanguiniteSize * _default_' range=':= 1 * 1 * mtlgSanguiniteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgSanguiniteFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </Veins>
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Sanguinite -->
                
                
                <!-- Begin  Strategic Cloud distribution of Sanguinite -->
                <IfCondition condition=':= mtlgSanguiniteDist = "strategicCloud"'>
                
                    <Cloud name='mtlgSanguiniteBaseCloud' block='Metallurgy:nether.ore:9' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60C30506</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * mtlgSanguiniteSize * _default_' range=':= 1 * 1 * mtlgSanguiniteSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * mtlgSanguiniteSize * _default_' range=':= 1 * 1 * mtlgSanguiniteSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * mtlgSanguiniteSize * _default_' range=':= 1 * 1 * 1 * mtlgSanguiniteSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 3 * 1 * mtlgSanguiniteFreq *_default_'/>
                        <Replaces block='minecraft:netherrack'/>
                        
                        <!-- Begin Sanguinite Strategic Cloud Hint Veins -->
                        <Veins name='mtlgSanguiniteBaseHintVeins' block='Metallurgy:nether.ore:9' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60C30506</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:netherrack'/>
                        </Veins>
                        <!-- End Sanguinite Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Sanguinite -->
                
                
                <!-- Begin  Vanilla distribution of Sanguinite -->
                <IfCondition condition=':= mtlgSanguiniteDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgSanguiniteBaseStandard' block='Metallurgy:nether.ore:9' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60C30506</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgSanguiniteSize * _default_'/>
                        <Setting name='Height' avg=':= 120' range=':= 120' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 3 * 1 * mtlgSanguiniteFreq * _default_'/>
                        <Replaces block='minecraft:netherrack'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Sanguinite -->
                
                <!-- End Sanguinite Generation --> 

                <!-- Done adding ores -->
            
            </IfCondition>
            <!-- Nether Setup Complete -->

            <!-- Setup End -->
            <IfCondition condition=':= dimension.generator = "EndRandomLevelSource"'>
                
                <!-- Starting Original End Ore Removal -->
                <Substitute name='mtlgEndOreSubstitute0' block='minecraft:end_stone'>
                    <Description>
                        Replace vanilla-generated ore clusters.
                    </Description>
                    <Comment>
                        The global option deferredPopulationRange must be large enough to catch all ore clusters (>= 32).
                    </Comment>
                    <Replaces block='Metallurgy:ender.ore:0' />
                    <Replaces block='Metallurgy:ender.ore:1' />
                </Substitute>
                <!-- Original End Ore Removal Complete -->
                
                <!-- Adding ores --> 
                
                <!-- Begin Eximite Generation --> 
                
                <!-- Begin Layered Veins distribution of Eximite -->
                <IfCondition condition=':= mtlgEximiteDist = "layeredVeins"'>
                
                    <Veins name='mtlgEximiteBaseVeins' block='Metallurgy:ender.ore' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x607B5994</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgEximiteSize * _default_' range=':= 1 * 1 * mtlgEximiteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgEximiteSize * _default_' range=':= 1 * 1 * mtlgEximiteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgEximiteFreq * _default_'/>
                        <Replaces block='minecraft:end_stone'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Layered Veins distribution of Eximite -->
                
                
                <!-- Begin  Huge Veins distribution of Eximite -->
                <IfCondition condition=':= mtlgEximiteDist = "hugeVeins"'>
                
                    <Veins name='mtlgEximiteBaseVeins' block='Metallurgy:ender.ore' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x607B5994</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgEximiteSize * _default_' range=':= 1 * 1 * mtlgEximiteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgEximiteSize * _default_' range=':= 1 * 1 * mtlgEximiteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgEximiteFreq * _default_'/>
                        <Replaces block='minecraft:end_stone'/>
                    </Veins>
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Eximite -->
                
                
                <!-- Begin  Strategic Cloud distribution of Eximite -->
                <IfCondition condition=':= mtlgEximiteDist = "strategicCloud"'>
                
                    <Cloud name='mtlgEximiteBaseCloud' block='Metallurgy:ender.ore' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x607B5994</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * mtlgEximiteSize * _default_' range=':= 1 * 1 * mtlgEximiteSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * mtlgEximiteSize * _default_' range=':= 1 * 1 * mtlgEximiteSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * mtlgEximiteSize * _default_' range=':= 1 * 1 * 1 * mtlgEximiteSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 3 * 1 * mtlgEximiteFreq *_default_'/>
                        <Replaces block='minecraft:end_stone'/>
                        
                        <!-- Begin Eximite Strategic Cloud Hint Veins -->
                        <Veins name='mtlgEximiteBaseHintVeins' block='Metallurgy:ender.ore' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x607B5994</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:end_stone'/>
                        </Veins>
                        <!-- End Eximite Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Eximite -->
                
                
                <!-- Begin  Vanilla distribution of Eximite -->
                <IfCondition condition=':= mtlgEximiteDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgEximiteBaseStandard' block='Metallurgy:ender.ore' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x607B5994</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgEximiteSize * _default_'/>
                        <Setting name='Height' avg=':= 120' range=':= 120' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 3 * 1 * mtlgEximiteFreq * _default_'/>
                        <Replaces block='minecraft:end_stone'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Eximite -->
                
                <!-- End Eximite Generation --> 

                
                <!-- Begin Meutoite Generation --> 
                
                <!-- Begin Layered Veins distribution of Meutoite -->
                <IfCondition condition=':= mtlgMeutoiteDist = "layeredVeins"'>
                
                    <Veins name='mtlgMeutoiteBaseVeins' block='Metallurgy:ender.ore:1' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x605E5168</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgMeutoiteSize * _default_' range=':= 1 * 1 * mtlgMeutoiteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgMeutoiteSize * _default_' range=':= 1 * 1 * mtlgMeutoiteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgMeutoiteFreq * _default_'/>
                        <Replaces block='minecraft:end_stone'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Layered Veins distribution of Meutoite -->
                
                
                <!-- Begin  Huge Veins distribution of Meutoite -->
                <IfCondition condition=':= mtlgMeutoiteDist = "hugeVeins"'>
                
                    <Veins name='mtlgMeutoiteBaseVeins' block='Metallurgy:ender.ore:1' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x605E5168</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * mtlgMeutoiteSize * _default_' range=':= 1 * 1 * mtlgMeutoiteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * mtlgMeutoiteSize * _default_' range=':= 1 * 1 * mtlgMeutoiteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * mtlgMeutoiteFreq * _default_'/>
                        <Replaces block='minecraft:end_stone'/>
                    </Veins>
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Meutoite -->
                
                
                <!-- Begin  Strategic Cloud distribution of Meutoite -->
                <IfCondition condition=':= mtlgMeutoiteDist = "strategicCloud"'>
                
                    <Cloud name='mtlgMeutoiteBaseCloud' block='Metallurgy:ender.ore:1' inherits='PresetStrategicCloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.  These are huge, spanning several 
                            adjacent chunks, and consequently rather rare.  They contain a sizeable amount of 
                            ore, but it takes some time and effort to mine due to low density.
                            The intent for strategic clouds is that the player will need to actively search for
                            one and then set up a semi-permanent mining base and spend some time actually mining
                            the ore.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x605E5168</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * mtlgMeutoiteSize * _default_' range=':= 1 * 1 * mtlgMeutoiteSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * mtlgMeutoiteSize * _default_' range=':= 1 * 1 * mtlgMeutoiteSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 120' range=':= 120' type='uniform' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * mtlgMeutoiteSize * _default_' range=':= 1 * 1 * 1 * mtlgMeutoiteSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 3 * 1 * mtlgMeutoiteFreq *_default_'/>
                        <Replaces block='minecraft:end_stone'/>
                        
                        <!-- Begin Meutoite Strategic Cloud Hint Veins -->
                        <Veins name='mtlgMeutoiteBaseHintVeins' block='Metallurgy:ender.ore:1' inherits='PresetHintVeins'>
                            <Description>
                                Single blocks, generously scattered through all heights (density is about that of vanilla iron ore). 
                                They will replace dirt and sandstone (but not grass or sand), so they can be found nearer  
                                to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic  
                                deposits that would otherwise be very difficult to find. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x605E5168</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:end_stone'/>
                        </Veins>
                        <!-- End Meutoite Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Meutoite -->
                
                
                <!-- Begin  Vanilla distribution of Meutoite -->
                <IfCondition condition=':= mtlgMeutoiteDist = "vanillaStdGen"'>
                
                    <StandardGen name='mtlgMeutoiteBaseStandard' block='Metallurgy:ender.ore:1' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x605E5168</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * mtlgMeutoiteSize * _default_'/>
                        <Setting name='Height' avg=':= 120' range=':= 120' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 3 * 1 * mtlgMeutoiteFreq * _default_'/>
                        <Replaces block='minecraft:end_stone'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Meutoite -->
                
                <!-- End Meutoite Generation --> 

                <!-- Done adding ores -->
            
            </IfCondition>
            <!-- End Setup Complete -->

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


<!-- This file was made using the Sprocket Configuration Generator. -->