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

Custom Ore Generation:   Ars Magicka 2 Module

Generates: 
Vinteum, Chimerite, Blue Topaz

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

    <!-- Mod detection -->
    <IfModInstalled name="arsmagica2">
    
        <!-- Starting Configuration for Custom Ore Generation. -->
        <ConfigSection>
        
            
            <!-- Setup Screen Configuration -->
            <ConfigSection>
                <OptionDisplayGroup name='groupArsMagicka2' displayName='Ars Magicka 2' displayState='shown'> 
                    <Description>
                        Distribution options for Ars Magicka 2 Ores.
                    </Description>
                </OptionDisplayGroup>
                
                <!-- Vinteum Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='arsmVinteumDist'  displayState='shown' displayGroup='groupArsMagicka2'> 
                        <Description> Controls how Vinteum is generated </Description> 
                        <DisplayName>Ars Magicka 2 Vinteum</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='Vinteum is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='arsmVinteumFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupArsMagicka2'>
                        <Description> Frequency multiplier for Ars Magicka 2 Vinteum distributions </Description>
                        <DisplayName>Ars Magicka 2 Vinteum Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='arsmVinteumSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupArsMagicka2'>
                        <Description> Size multiplier for Ars Magicka 2 Vinteum distributions </Description>
                        <DisplayName>Ars Magicka 2 Vinteum Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Vinteum Configuration UI Complete -->
                
                
                <!-- Chimerite Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='arsmChimeriteDist'  displayState='shown' displayGroup='groupArsMagicka2'> 
                        <Description> Controls how Chimerite is generated </Description> 
                        <DisplayName>Ars Magicka 2 Chimerite</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='Chimerite is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='arsmChimeriteFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupArsMagicka2'>
                        <Description> Frequency multiplier for Ars Magicka 2 Chimerite distributions </Description>
                        <DisplayName>Ars Magicka 2 Chimerite Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='arsmChimeriteSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupArsMagicka2'>
                        <Description> Size multiplier for Ars Magicka 2 Chimerite distributions </Description>
                        <DisplayName>Ars Magicka 2 Chimerite Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Chimerite Configuration UI Complete -->
                
                
                <!-- Blue Topaz Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='arsmBlueTopazDist'  displayState='shown' displayGroup='groupArsMagicka2'> 
                        <Description> Controls how Blue Topaz is generated </Description> 
                        <DisplayName>Ars Magicka 2 Blue Topaz</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='Blue Topaz is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='arsmBlueTopazFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupArsMagicka2'>
                        <Description> Frequency multiplier for Ars Magicka 2 Blue Topaz distributions </Description>
                        <DisplayName>Ars Magicka 2 Blue Topaz Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='arsmBlueTopazSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupArsMagicka2'>
                        <Description> Size multiplier for Ars Magicka 2 Blue Topaz distributions </Description>
                        <DisplayName>Ars Magicka 2 Blue Topaz Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Blue Topaz Configuration UI Complete -->
                
            </ConfigSection>
            <!-- Setup Screen Complete -->


            <!-- Setup Overworld -->
            <IfCondition condition=':= ?COGActive'>
                
                <!-- Starting Original Overworld Ore Removal -->
                <Substitute name='arsmOverworldOreSubstitute0' 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='arsmagica2:vinteumOre:0' />
                    <Replaces block='arsmagica2:vinteumOre:1' />
                    <Replaces block='arsmagica2:vinteumOre:2' />
                </Substitute>
                <!-- Original Overworld Ore Removal Complete -->
                
                <!-- Adding ores --> 
                
                <!-- Begin Vinteum Generation --> 
                
                <!-- Begin Layered Veins distribution of Vinteum -->
                <IfCondition condition=':= arsmVinteumDist = "layeredVeins"'>
                
                    <Veins name='arsmVinteumBaseVeins' block='arsmagica2:vinteumOre' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x605364EE</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * arsmVinteumSize * _default_' range=':= 1 * 0.8 * arsmVinteumSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 30' range=':= 8' type='normal' scaleTo='Biome'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * arsmVinteumSize * _default_' range=':= 1 * 0.8 * arsmVinteumSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * arsmVinteumFreq * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.75 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 12'/>
                        <Setting name='BranchInclination' avg=':= 0' range=':= 0.35'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Vinteum Layered Veins) Settings -->
                    <Veins name='arsmVinteumPrefersVeins' block='arsmagica2:vinteumOre' inherits='arsmVinteumBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x605364EE</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Vinteum Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Vinteum -->
                
                
                <!-- Begin  Huge Veins distribution of Vinteum -->
                <IfCondition condition=':= arsmVinteumDist = "hugeVeins"'>
                
                    <Veins name='arsmVinteumBaseVeins' block='arsmagica2:vinteumOre' 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>0x605364EE</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * arsmVinteumSize * _default_' range=':= 1 * 0.8 * arsmVinteumSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 30' range=':= 8' type='normal' scaleTo='Biome' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * arsmVinteumSize * _default_' range=':= 1 * 0.8 * arsmVinteumSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * arsmVinteumFreq * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.75 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 12'/>
                        <Setting name='BranchInclination' avg=':= 0' range=':= 0.35'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Vinteum Huge Veins) Settings -->
                    <Veins name='arsmVinteumPrefersVeins' block='arsmagica2:vinteumOre' inherits='arsmVinteumBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x605364EE</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Vinteum Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Vinteum -->
                
                
                <!-- Begin  Strategic Cloud distribution of Vinteum -->
                <IfCondition condition=':= arsmVinteumDist = "strategicCloud"'>
                
                    <Cloud name='arsmVinteumBaseCloud' block='arsmagica2:vinteumOre' 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>0x605364EE</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.8 * arsmVinteumSize * _default_' range=':= 1 * 0.8 * arsmVinteumSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * arsmVinteumSize * _default_' range=':= 1 * 0.8 * arsmVinteumSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 30' range=':= 8' type='normal' scaleTo='Biome'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 0.8 * arsmVinteumSize * _default_' range=':= 1 * 1 * 0.8 * arsmVinteumSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * arsmVinteumFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Vinteum Strategic Cloud Hint Veins -->
                        <Veins name='arsmVinteumBaseHintVeins' block='arsmagica2:vinteumOre' 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>0x605364EE</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Vinteum Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Vinteum -->
                
                
                <!-- Begin  Vanilla distribution of Vinteum -->
                <IfCondition condition=':= arsmVinteumDist = "vanillaStdGen"'>
                
                    <StandardGen name='arsmVinteumBaseStandard' block='arsmagica2:vinteumOre' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x605364EE</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * arsmVinteumSize * _default_'/>
                        <Setting name='Height' avg=':= 30' range=':= 8' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * .8 * arsmVinteumFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Vinteum -->
                
                <!-- End Vinteum Generation --> 

                
                <!-- Begin Chimerite Generation --> 
                
                <!-- Begin Layered Veins distribution of Chimerite -->
                <IfCondition condition=':= arsmChimeriteDist = "layeredVeins"'>
                
                    <Veins name='arsmChimeriteBaseVeins' block='arsmagica2:vinteumOre:1' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60B8E6C6</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * arsmChimeriteSize * _default_' range=':= 1 * 0.8 * arsmChimeriteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 64' range=':= 64' type='normal' scaleTo='Biome'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * arsmChimeriteSize * _default_' range=':= 1 * 0.8 * arsmChimeriteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * arsmChimeriteFreq * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10.5'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Chimerite Layered Veins) Settings -->
                    <Veins name='arsmChimeritePrefersVeins' block='arsmagica2:vinteumOre:1' inherits='arsmChimeriteBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60B8E6C6</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Chimerite Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Chimerite -->
                
                
                <!-- Begin  Huge Veins distribution of Chimerite -->
                <IfCondition condition=':= arsmChimeriteDist = "hugeVeins"'>
                
                    <Veins name='arsmChimeriteBaseVeins' block='arsmagica2:vinteumOre: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>0x60B8E6C6</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * arsmChimeriteSize * _default_' range=':= 1 * 0.8 * arsmChimeriteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 64' range=':= 64' type='normal' scaleTo='Biome' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * arsmChimeriteSize * _default_' range=':= 1 * 0.8 * arsmChimeriteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * arsmChimeriteFreq * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10.5'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Chimerite Huge Veins) Settings -->
                    <Veins name='arsmChimeritePrefersVeins' block='arsmagica2:vinteumOre:1' inherits='arsmChimeriteBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60B8E6C6</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Chimerite Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Chimerite -->
                
                
                <!-- Begin  Strategic Cloud distribution of Chimerite -->
                <IfCondition condition=':= arsmChimeriteDist = "strategicCloud"'>
                
                    <Cloud name='arsmChimeriteBaseCloud' block='arsmagica2:vinteumOre: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>0x60B8E6C6</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.8 * arsmChimeriteSize * _default_' range=':= 1 * 0.8 * arsmChimeriteSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * arsmChimeriteSize * _default_' range=':= 1 * 0.8 * arsmChimeriteSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 64' range=':= 64' type='normal' scaleTo='Biome'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 0.8 * arsmChimeriteSize * _default_' range=':= 1 * 1 * 0.8 * arsmChimeriteSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4 * arsmChimeriteFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Chimerite Strategic Cloud Hint Veins -->
                        <Veins name='arsmChimeriteBaseHintVeins' block='arsmagica2:vinteumOre: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>0x60B8E6C6</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Chimerite Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Chimerite -->
                
                
                <!-- Begin  Vanilla distribution of Chimerite -->
                <IfCondition condition=':= arsmChimeriteDist = "vanillaStdGen"'>
                
                    <StandardGen name='arsmChimeriteBaseStandard' block='arsmagica2:vinteumOre:1' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60B8E6C6</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * arsmChimeriteSize * _default_'/>
                        <Setting name='Height' avg=':= 64' range=':= 64' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 0.1 * arsmChimeriteFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Chimerite -->
                
                <!-- End Chimerite Generation --> 

                
                <!-- Begin Blue Topaz Generation --> 
                
                <!-- Begin Layered Veins distribution of Blue Topaz -->
                <IfCondition condition=':= arsmBlueTopazDist = "layeredVeins"'>
                
                    <Veins name='arsmBlueTopazBaseVeins' block='arsmagica2:vinteumOre:2' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x607EE5F4</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * arsmBlueTopazSize * _default_' range=':= 1 * 0.8 * arsmBlueTopazSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 64' range=':= 64' type='normal' scaleTo='Biome'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * arsmBlueTopazSize * _default_' range=':= 1 * 0.8 * arsmBlueTopazSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * arsmBlueTopazFreq * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10.5'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Blue Topaz Layered Veins) Settings -->
                    <Veins name='arsmBlueTopazPrefersVeins' block='arsmagica2:vinteumOre:2' inherits='arsmBlueTopazBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x607EE5F4</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Blue Topaz Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End Layered Veins distribution of Blue Topaz -->
                
                
                <!-- Begin  Huge Veins distribution of Blue Topaz -->
                <IfCondition condition=':= arsmBlueTopazDist = "hugeVeins"'>
                
                    <Veins name='arsmBlueTopazBaseVeins' block='arsmagica2:vinteumOre: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>0x607EE5F4</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * arsmBlueTopazSize * _default_' range=':= 1 * 0.8 * arsmBlueTopazSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 64' range=':= 64' type='normal' scaleTo='Biome' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * arsmBlueTopazSize * _default_' range=':= 1 * 0.8 * arsmBlueTopazSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.85 * arsmBlueTopazFreq * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10.5'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Blue Topaz Huge Veins) Settings -->
                    <Veins name='arsmBlueTopazPrefersVeins' block='arsmagica2:vinteumOre:2' inherits='arsmBlueTopazBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x607EE5F4</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Blue Topaz Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Blue Topaz -->
                
                
                <!-- Begin  Strategic Cloud distribution of Blue Topaz -->
                <IfCondition condition=':= arsmBlueTopazDist = "strategicCloud"'>
                
                    <Cloud name='arsmBlueTopazBaseCloud' block='arsmagica2:vinteumOre: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>0x607EE5F4</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.8 * arsmBlueTopazSize * _default_' range=':= 1 * 0.8 * arsmBlueTopazSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.8 * arsmBlueTopazSize * _default_' range=':= 1 * 0.8 * arsmBlueTopazSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 64' range=':= 64' type='normal' scaleTo='Biome'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 0.8 * arsmBlueTopazSize * _default_' range=':= 1 * 1 * 0.8 * arsmBlueTopazSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4 * arsmBlueTopazFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Blue Topaz Strategic Cloud Hint Veins -->
                        <Veins name='arsmBlueTopazBaseHintVeins' block='arsmagica2:vinteumOre: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>0x607EE5F4</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Blue Topaz Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Blue Topaz -->
                
                
                <!-- Begin  Vanilla distribution of Blue Topaz -->
                <IfCondition condition=':= arsmBlueTopazDist = "vanillaStdGen"'>
                
                    <StandardGen name='arsmBlueTopazBaseStandard' block='arsmagica2:vinteumOre:2' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x607EE5F4</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * arsmBlueTopazSize * _default_'/>
                        <Setting name='Height' avg=':= 64' range=':= 64' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 0.1 * arsmBlueTopazFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Blue Topaz -->
                
                <!-- End Blue Topaz Generation --> 

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

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


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