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

Custom Ore Generation:   Thaumcraft 4 Module

Generates: 
Amber, Cinnabar, Air Infused Stone, Fire Infused Stone, Water Infused
Stone, Earth Infused Stone, Order Infused Stone, Entropy Infused Stone

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

    <!-- Mod detection -->
    <IfModInstalled name="Thaumcraft">
    
        <!-- Starting Configuration for Custom Ore Generation. -->
        <ConfigSection>
        
            
            <!-- Setup Screen Configuration -->
            <ConfigSection>
                <OptionDisplayGroup name='groupThaumcraft4' displayName='Thaumcraft 4' displayState='shown'> 
                    <Description>
                        Distribution options for Thaumcraft 4 Ores.
                    </Description>
                </OptionDisplayGroup>
                
                <!-- Amber Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='thm4AmberDist'  displayState='shown' displayGroup='groupThaumcraft4'> 
                        <Description> Controls how Amber is generated </Description> 
                        <DisplayName>Thaumcraft 4 Amber</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='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='Amber is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='thm4AmberFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupThaumcraft4'>
                        <Description> Frequency multiplier for Thaumcraft 4 Amber distributions </Description>
                        <DisplayName>Thaumcraft 4 Amber Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='thm4AmberSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupThaumcraft4'>
                        <Description> Size multiplier for Thaumcraft 4 Amber distributions </Description>
                        <DisplayName>Thaumcraft 4 Amber Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Amber Configuration UI Complete -->
                
                
                <!-- Cinnabar Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='thm4CinnabarDist'  displayState='shown' displayGroup='groupThaumcraft4'> 
                        <Description> Controls how Cinnabar is generated </Description> 
                        <DisplayName>Thaumcraft 4 Cinnabar</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='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='Cinnabar is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='thm4CinnabarFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupThaumcraft4'>
                        <Description> Frequency multiplier for Thaumcraft 4 Cinnabar distributions </Description>
                        <DisplayName>Thaumcraft 4 Cinnabar Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='thm4CinnabarSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupThaumcraft4'>
                        <Description> Size multiplier for Thaumcraft 4 Cinnabar distributions </Description>
                        <DisplayName>Thaumcraft 4 Cinnabar Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Cinnabar Configuration UI Complete -->
                
                
                <!-- Air Infused Stone Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='thm4AirInfusedStoneDist'  displayState='shown' displayGroup='groupThaumcraft4'> 
                        <Description> Controls how Air Infused Stone is generated </Description> 
                        <DisplayName>Thaumcraft 4 Air Infused Stone</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='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='Air Infused Stone is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='thm4AirInfusedStoneFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupThaumcraft4'>
                        <Description> Frequency multiplier for Thaumcraft 4 Air Infused Stone distributions </Description>
                        <DisplayName>Thaumcraft 4 Air Infused Stone Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='thm4AirInfusedStoneSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupThaumcraft4'>
                        <Description> Size multiplier for Thaumcraft 4 Air Infused Stone distributions </Description>
                        <DisplayName>Thaumcraft 4 Air Infused Stone Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Air Infused Stone Configuration UI Complete -->
                
                
                <!-- Fire Infused Stone Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='thm4FireInfusedStoneDist'  displayState='shown' displayGroup='groupThaumcraft4'> 
                        <Description> Controls how Fire Infused Stone is generated </Description> 
                        <DisplayName>Thaumcraft 4 Fire Infused Stone</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='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='Fire Infused Stone is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='thm4FireInfusedStoneFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupThaumcraft4'>
                        <Description> Frequency multiplier for Thaumcraft 4 Fire Infused Stone distributions </Description>
                        <DisplayName>Thaumcraft 4 Fire Infused Stone Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='thm4FireInfusedStoneSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupThaumcraft4'>
                        <Description> Size multiplier for Thaumcraft 4 Fire Infused Stone distributions </Description>
                        <DisplayName>Thaumcraft 4 Fire Infused Stone Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Fire Infused Stone Configuration UI Complete -->
                
                
                <!-- Water Infused Stone Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='thm4WaterInfusedStoneDist'  displayState='shown' displayGroup='groupThaumcraft4'> 
                        <Description> Controls how Water Infused Stone is generated </Description> 
                        <DisplayName>Thaumcraft 4 Water Infused Stone</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='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='Water Infused Stone is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='thm4WaterInfusedStoneFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupThaumcraft4'>
                        <Description> Frequency multiplier for Thaumcraft 4 Water Infused Stone distributions </Description>
                        <DisplayName>Thaumcraft 4 Water Infused Stone Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='thm4WaterInfusedStoneSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupThaumcraft4'>
                        <Description> Size multiplier for Thaumcraft 4 Water Infused Stone distributions </Description>
                        <DisplayName>Thaumcraft 4 Water Infused Stone Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Water Infused Stone Configuration UI Complete -->
                
                
                <!-- Earth Infused Stone Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='thm4EarthInfusedStoneDist'  displayState='shown' displayGroup='groupThaumcraft4'> 
                        <Description> Controls how Earth Infused Stone is generated </Description> 
                        <DisplayName>Thaumcraft 4 Earth Infused Stone</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='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='Earth Infused Stone is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='thm4EarthInfusedStoneFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupThaumcraft4'>
                        <Description> Frequency multiplier for Thaumcraft 4 Earth Infused Stone distributions </Description>
                        <DisplayName>Thaumcraft 4 Earth Infused Stone Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='thm4EarthInfusedStoneSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupThaumcraft4'>
                        <Description> Size multiplier for Thaumcraft 4 Earth Infused Stone distributions </Description>
                        <DisplayName>Thaumcraft 4 Earth Infused Stone Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Earth Infused Stone Configuration UI Complete -->
                
                
                <!-- Order Infused Stone Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='thm4OrderInfusedStoneDist'  displayState='shown' displayGroup='groupThaumcraft4'> 
                        <Description> Controls how Order Infused Stone is generated </Description> 
                        <DisplayName>Thaumcraft 4 Order Infused Stone</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='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='Order Infused Stone is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='thm4OrderInfusedStoneFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupThaumcraft4'>
                        <Description> Frequency multiplier for Thaumcraft 4 Order Infused Stone distributions </Description>
                        <DisplayName>Thaumcraft 4 Order Infused Stone Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='thm4OrderInfusedStoneSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupThaumcraft4'>
                        <Description> Size multiplier for Thaumcraft 4 Order Infused Stone distributions </Description>
                        <DisplayName>Thaumcraft 4 Order Infused Stone Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Order Infused Stone Configuration UI Complete -->
                
                
                <!-- Entropy Infused Stone Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='thm4EntropyInfusedStoneDist'  displayState='shown' displayGroup='groupThaumcraft4'> 
                        <Description> Controls how Entropy Infused Stone is generated </Description> 
                        <DisplayName>Thaumcraft 4 Entropy Infused Stone</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='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='Entropy Infused Stone is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='thm4EntropyInfusedStoneFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupThaumcraft4'>
                        <Description> Frequency multiplier for Thaumcraft 4 Entropy Infused Stone distributions </Description>
                        <DisplayName>Thaumcraft 4 Entropy Infused Stone Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='thm4EntropyInfusedStoneSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupThaumcraft4'>
                        <Description> Size multiplier for Thaumcraft 4 Entropy Infused Stone distributions </Description>
                        <DisplayName>Thaumcraft 4 Entropy Infused Stone Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Entropy Infused Stone Configuration UI Complete -->
                
            </ConfigSection>
            <!-- Setup Screen Complete -->


            <!-- Setup Overworld -->
            <IfCondition condition=':= ?COGActive'>
                
                <!-- Starting Original Overworld Ore Removal -->
                <Substitute name='thm4OverworldOreSubstitute0' 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='Thaumcraft:blockCustomOre:7' />
                    <Replaces block='Thaumcraft:blockCustomOre:0' />
                    <Replaces block='Thaumcraft:blockCustomOre:1' />
                    <Replaces block='Thaumcraft:blockCustomOre:2' />
                    <Replaces block='Thaumcraft:blockCustomOre:3' />
                    <Replaces block='Thaumcraft:blockCustomOre:4' />
                    <Replaces block='Thaumcraft:blockCustomOre:5' />
                    <Replaces block='Thaumcraft:blockCustomOre:6' />
                </Substitute>
                <!-- Original Overworld Ore Removal Complete -->
                
                <!-- Adding ores --> 
                
                <!-- Begin Amber Generation --> 
                
                <!-- Begin SparseVeins distribution of Amber -->
                <IfCondition condition=':= thm4AmberDist = "sparseVeins"'>
                
                    <Veins name='thm4AmberBaseVeins' block='Thaumcraft:blockCustomOre:7' 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>0x60FE9D1B</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * thm4AmberSize * _default_' range=':= 1 * 1 * thm4AmberSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 80' range=':= 20' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * thm4AmberSize * _default_' range=':= 1 * 1 * thm4AmberSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 3 * thm4AmberFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Amber Sparse Veins) Settings -->
                    <Veins name='thm4AmberPrefersVeins' block='Thaumcraft:blockCustomOre:7' inherits='thm4AmberBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FE9D1B</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Mountain'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Amber Sparse Veins) Settings -->
                
                </IfCondition>
                <!-- End SparseVeins distribution of Amber -->
                
                
                <!-- Begin  Small Deposits distribution of Amber -->
                <IfCondition condition=':= thm4AmberDist = "smallDeposits"'>
                
                    <Veins name='thm4AmberBaseVeins' block='Thaumcraft:blockCustomOre:7' inherits='PresetSmallDeposits'>
                        <Description>
                            Small motherlodes without any branches.
                            Similar to the deposits produced by StandardGen distributions.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FE9D1B</WireframeColor>
                        <Setting name='MotherlodeHeight' avg=':= 80' range=':= 20' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * thm4AmberSize * _default_' range=':= 1 * 1 * thm4AmberSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 3 * thm4AmberFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Amber Small Deposits) Settings -->
                    <Veins name='thm4AmberPrefersVeins' block='Thaumcraft:blockCustomOre:7' inherits='thm4AmberBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FE9D1B</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Mountain'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Amber Small Deposits) Settings -->
                
                </IfCondition>
                <!-- End  Small Deposits distribution of Amber -->
                
                
                <!-- Begin  Huge Veins distribution of Amber -->
                <IfCondition condition=':= thm4AmberDist = "hugeVeins"'>
                
                    <Veins name='thm4AmberBaseVeins' block='Thaumcraft:blockCustomOre: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>0x60FE9D1B</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * thm4AmberSize * _default_' range=':= 1 * 1 * thm4AmberSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 80' range=':= 20' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * thm4AmberSize * _default_' range=':= 1 * 1 * thm4AmberSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 3 * thm4AmberFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Amber Huge Veins) Settings -->
                    <Veins name='thm4AmberPrefersVeins' block='Thaumcraft:blockCustomOre:7' inherits='thm4AmberBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FE9D1B</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Mountain'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Amber Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Amber -->
                
                
                <!-- Begin  StrategicCloud distribution of Amber -->
                <IfCondition condition=':= thm4AmberDist = "strategicCloud"'>
                
                    <Cloud name='thm4AmberBaseCloud' block='Thaumcraft:blockCustomOre: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>0x60FE9D1B</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * thm4AmberSize * _default_' range=':= 1 * 1 * thm4AmberSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * thm4AmberSize * _default_' range=':= 1 * 1 * thm4AmberSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 80' range=':= 20' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * thm4AmberSize * _default_' range=':= 1 * 1 * 1 * thm4AmberSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 2.5 * thm4AmberFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Amber Strategic Cloud Hint Veins -->
                        <Veins name='thm4AmberBaseHintVeins' block='Thaumcraft:blockCustomOre: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>0x60FE9D1B</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Amber Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  StrategicCloud distribution of Amber -->
                
                
                <!-- Begin  Vanilla distribution of Amber -->
                <IfCondition condition=':= thm4AmberDist = "vanillaStdGen"'>
                
                    <StandardGen name='thm4AmberBaseStandard' block='Thaumcraft:blockCustomOre:7' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FE9D1B</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * thm4AmberSize * _default_'/>
                        <Setting name='Height' avg=':= 80' range=':= 20' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1 * thm4AmberFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Amber -->
                
                <!-- End Amber Generation --> 

                
                <!-- Begin Cinnabar Generation --> 
                
                <!-- Begin SparseVeins distribution of Cinnabar -->
                <IfCondition condition=':= thm4CinnabarDist = "sparseVeins"'>
                
                    <Veins name='thm4CinnabarBaseVeins' block='Thaumcraft:blockCustomOre' 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>0x60831C20</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * thm4CinnabarSize * _default_' range=':= 1 * 0.8 * thm4CinnabarSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 50' range=':= 10' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * thm4CinnabarSize * _default_' range=':= 1 * 0.8 * thm4CinnabarSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 3 * thm4CinnabarFreq * _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 (Cinnabar Sparse Veins) Settings -->
                    <Veins name='thm4CinnabarPrefersVeins' block='Thaumcraft:blockCustomOre' inherits='thm4CinnabarBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60831C20</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Ocean'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Cinnabar Sparse Veins) Settings -->
                
                </IfCondition>
                <!-- End SparseVeins distribution of Cinnabar -->
                
                
                <!-- Begin  Small Deposits distribution of Cinnabar -->
                <IfCondition condition=':= thm4CinnabarDist = "smallDeposits"'>
                
                    <Veins name='thm4CinnabarBaseVeins' block='Thaumcraft:blockCustomOre' inherits='PresetSmallDeposits'>
                        <Description>
                            Small motherlodes without any branches.
                            Similar to the deposits produced by StandardGen distributions.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60831C20</WireframeColor>
                        <Setting name='MotherlodeHeight' avg=':= 50' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * thm4CinnabarSize * _default_' range=':= 1 * 0.8 * thm4CinnabarSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 3 * thm4CinnabarFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Cinnabar Small Deposits) Settings -->
                    <Veins name='thm4CinnabarPrefersVeins' block='Thaumcraft:blockCustomOre' inherits='thm4CinnabarBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60831C20</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Ocean'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Cinnabar Small Deposits) Settings -->
                
                </IfCondition>
                <!-- End  Small Deposits distribution of Cinnabar -->
                
                
                <!-- Begin  Huge Veins distribution of Cinnabar -->
                <IfCondition condition=':= thm4CinnabarDist = "hugeVeins"'>
                
                    <Veins name='thm4CinnabarBaseVeins' block='Thaumcraft:blockCustomOre' 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>0x60831C20</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.8 * thm4CinnabarSize * _default_' range=':= 1 * 0.8 * thm4CinnabarSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 50' range=':= 10' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.8 * thm4CinnabarSize * _default_' range=':= 1 * 0.8 * thm4CinnabarSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 3 * thm4CinnabarFreq * _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 (Cinnabar Huge Veins) Settings -->
                    <Veins name='thm4CinnabarPrefersVeins' block='Thaumcraft:blockCustomOre' inherits='thm4CinnabarBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60831C20</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Ocean'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Cinnabar Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Cinnabar -->
                
                
                <!-- Begin  StrategicCloud distribution of Cinnabar -->
                <IfCondition condition=':= thm4CinnabarDist = "strategicCloud"'>
                
                    <Cloud name='thm4CinnabarBaseCloud' block='Thaumcraft:blockCustomOre' 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>0x60831C20</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.5 * thm4CinnabarSize * _default_' range=':= 1 * 0.5 * thm4CinnabarSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.5 * thm4CinnabarSize * _default_' range=':= 1 * 0.5 * thm4CinnabarSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= _default_' range=':= _default_' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.5 * 0.5 * thm4CinnabarSize * _default_' range=':= 1 * 0.5 * 0.5 * thm4CinnabarSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * thm4CinnabarFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Cinnabar Strategic Cloud Hint Veins -->
                        <Veins name='thm4CinnabarBaseHintVeins' block='Thaumcraft:blockCustomOre' 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>0x60831C20</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Cinnabar Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  StrategicCloud distribution of Cinnabar -->
                
                
                <!-- Begin  Vanilla distribution of Cinnabar -->
                <IfCondition condition=':= thm4CinnabarDist = "vanillaStdGen"'>
                
                    <StandardGen name='thm4CinnabarBaseStandard' block='Thaumcraft:blockCustomOre' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60831C20</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1/6 * thm4CinnabarSize * _default_'/>
                        <Setting name='Height' avg=':= 52' range=':= 20' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1/10 * thm4CinnabarFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Cinnabar -->
                
                <!-- End Cinnabar Generation --> 

                
                <!-- Begin Air Infused Stone Generation --> 
                
                <!-- Begin SparseVeins distribution of Air Infused Stone -->
                <IfCondition condition=':= thm4AirInfusedStoneDist = "sparseVeins"'>
                
                    <Veins name='thm4AirInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre: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>0x60FEFEAB</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4AirInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4AirInfusedStoneSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 0.75 * thm4AirInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4AirInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4AirInfusedStoneFreq * _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'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Plains'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Air Infused Stone Sparse Veins) Settings -->
                    <Veins name='thm4AirInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:1' inherits='thm4AirInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FEFEAB</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Plains'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Air Infused Stone Sparse Veins) Settings -->
                
                </IfCondition>
                <!-- End SparseVeins distribution of Air Infused Stone -->
                
                
                <!-- Begin  Small Deposits distribution of Air Infused Stone -->
                <IfCondition condition=':= thm4AirInfusedStoneDist = "smallDeposits"'>
                
                    <Veins name='thm4AirInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre:1' inherits='PresetSmallDeposits'>
                        <Description>
                            Small motherlodes without any branches.
                            Similar to the deposits produced by StandardGen distributions.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FEFEAB</WireframeColor>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4AirInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4AirInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4AirInfusedStoneFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Plains'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Air Infused Stone Small Deposits) Settings -->
                    <Veins name='thm4AirInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:1' inherits='thm4AirInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FEFEAB</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Plains'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Air Infused Stone Small Deposits) Settings -->
                
                </IfCondition>
                <!-- End  Small Deposits distribution of Air Infused Stone -->
                
                
                <!-- Begin  Huge Veins distribution of Air Infused Stone -->
                <IfCondition condition=':= thm4AirInfusedStoneDist = "hugeVeins"'>
                
                    <Veins name='thm4AirInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre: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>0x60FEFEAB</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4AirInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4AirInfusedStoneSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.75 * thm4AirInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4AirInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4AirInfusedStoneFreq * _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'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Plains'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Air Infused Stone Huge Veins) Settings -->
                    <Veins name='thm4AirInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:1' inherits='thm4AirInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FEFEAB</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Plains'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Air Infused Stone Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Air Infused Stone -->
                
                
                <!-- Begin  StrategicCloud distribution of Air Infused Stone -->
                <IfCondition condition=':= thm4AirInfusedStoneDist = "strategicCloud"'>
                
                    <Cloud name='thm4AirInfusedStoneBaseCloud' block='Thaumcraft:blockCustomOre: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>0x60FEFEAB</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * thm4AirInfusedStoneSize * _default_' range=':= 1 * 1 * thm4AirInfusedStoneSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * thm4AirInfusedStoneSize * _default_' range=':= 1 * 1 * thm4AirInfusedStoneSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * thm4AirInfusedStoneSize * _default_' range=':= 1 * 1 * 1 * thm4AirInfusedStoneSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 1 * thm4AirInfusedStoneFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Plains'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                        
                        <!-- Begin Air Infused Stone Strategic Cloud Hint Veins -->
                        <Veins name='thm4AirInfusedStoneBaseHintVeins' block='Thaumcraft:blockCustomOre: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>0x60FEFEAB</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                            <BiomeType name='Forest'/>
                            <BiomeType name='Plains'/>
                            <BiomeType name='Hills'/>
                            <BiomeType name='Jungle'/>
                            <BiomeType name='Beach'/>
                            <BiomeType name='Mushroom'/>
                            <BiomeType name='Magical'/>
                        </Veins>
                        <!-- End Air Infused Stone Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  StrategicCloud distribution of Air Infused Stone -->
                
                
                <!-- Begin  Vanilla distribution of Air Infused Stone -->
                <IfCondition condition=':= thm4AirInfusedStoneDist = "vanillaStdGen"'>
                
                    <StandardGen name='thm4AirInfusedStoneBaseStandard' block='Thaumcraft:blockCustomOre:1' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FEFEAB</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1/6 * thm4AirInfusedStoneSize * _default_'/>
                        <Setting name='Height' avg=':= 35' range=':= 20' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1/10 * thm4AirInfusedStoneFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Plains'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Air Infused Stone -->
                
                <!-- End Air Infused Stone Generation --> 

                
                <!-- Begin Fire Infused Stone Generation --> 
                
                <!-- Begin SparseVeins distribution of Fire Infused Stone -->
                <IfCondition condition=':= thm4FireInfusedStoneDist = "sparseVeins"'>
                
                    <Veins name='thm4FireInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre: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>0x60FC5100</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4FireInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4FireInfusedStoneSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 0.75 * thm4FireInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4FireInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4FireInfusedStoneFreq * _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'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Fire Infused Stone Sparse Veins) Settings -->
                    <Veins name='thm4FireInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:2' inherits='thm4FireInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FC5100</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Fire Infused Stone Sparse Veins) Settings -->
                
                </IfCondition>
                <!-- End SparseVeins distribution of Fire Infused Stone -->
                
                
                <!-- Begin  Small Deposits distribution of Fire Infused Stone -->
                <IfCondition condition=':= thm4FireInfusedStoneDist = "smallDeposits"'>
                
                    <Veins name='thm4FireInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre:2' inherits='PresetSmallDeposits'>
                        <Description>
                            Small motherlodes without any branches.
                            Similar to the deposits produced by StandardGen distributions.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FC5100</WireframeColor>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4FireInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4FireInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4FireInfusedStoneFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Fire Infused Stone Small Deposits) Settings -->
                    <Veins name='thm4FireInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:2' inherits='thm4FireInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FC5100</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Fire Infused Stone Small Deposits) Settings -->
                
                </IfCondition>
                <!-- End  Small Deposits distribution of Fire Infused Stone -->
                
                
                <!-- Begin  Huge Veins distribution of Fire Infused Stone -->
                <IfCondition condition=':= thm4FireInfusedStoneDist = "hugeVeins"'>
                
                    <Veins name='thm4FireInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre: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>0x60FC5100</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4FireInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4FireInfusedStoneSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.75 * thm4FireInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4FireInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4FireInfusedStoneFreq * _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'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Fire Infused Stone Huge Veins) Settings -->
                    <Veins name='thm4FireInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:2' inherits='thm4FireInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FC5100</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Fire Infused Stone Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Fire Infused Stone -->
                
                
                <!-- Begin  StrategicCloud distribution of Fire Infused Stone -->
                <IfCondition condition=':= thm4FireInfusedStoneDist = "strategicCloud"'>
                
                    <Cloud name='thm4FireInfusedStoneBaseCloud' block='Thaumcraft:blockCustomOre: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>0x60FC5100</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * thm4FireInfusedStoneSize * _default_' range=':= 1 * 1 * thm4FireInfusedStoneSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * thm4FireInfusedStoneSize * _default_' range=':= 1 * 1 * thm4FireInfusedStoneSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * thm4FireInfusedStoneSize * _default_' range=':= 1 * 1 * 1 * thm4FireInfusedStoneSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 1 * thm4FireInfusedStoneFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Magical'/>
                        
                        <!-- Begin Fire Infused Stone Strategic Cloud Hint Veins -->
                        <Veins name='thm4FireInfusedStoneBaseHintVeins' block='Thaumcraft:blockCustomOre: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>0x60FC5100</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                            <BiomeType name='Mountain'/>
                            <BiomeType name='Desert'/>
                            <BiomeType name='Wasteland'/>
                            <BiomeType name='Beach'/>
                            <BiomeType name='Magical'/>
                        </Veins>
                        <!-- End Fire Infused Stone Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  StrategicCloud distribution of Fire Infused Stone -->
                
                
                <!-- Begin  Vanilla distribution of Fire Infused Stone -->
                <IfCondition condition=':= thm4FireInfusedStoneDist = "vanillaStdGen"'>
                
                    <StandardGen name='thm4FireInfusedStoneBaseStandard' block='Thaumcraft:blockCustomOre:2' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60FC5100</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1/6 * thm4FireInfusedStoneSize * _default_'/>
                        <Setting name='Height' avg=':= 35' range=':= 20' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1/10 * thm4FireInfusedStoneFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Magical'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Fire Infused Stone -->
                
                <!-- End Fire Infused Stone Generation --> 

                
                <!-- Begin Water Infused Stone Generation --> 
                
                <!-- Begin SparseVeins distribution of Water Infused Stone -->
                <IfCondition condition=':= thm4WaterInfusedStoneDist = "sparseVeins"'>
                
                    <Veins name='thm4WaterInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre: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>0x6000C0FA</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4WaterInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4WaterInfusedStoneSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 0.75 * thm4WaterInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4WaterInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4WaterInfusedStoneFreq * _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'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Swamp'/>
                        <BiomeType name='Water'/>
                        <BiomeType name='Frozen'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Water Infused Stone Sparse Veins) Settings -->
                    <Veins name='thm4WaterInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:3' inherits='thm4WaterInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x6000C0FA</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Swamp'/>
                        <BiomeType name='Water'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Water Infused Stone Sparse Veins) Settings -->
                
                </IfCondition>
                <!-- End SparseVeins distribution of Water Infused Stone -->
                
                
                <!-- Begin  Small Deposits distribution of Water Infused Stone -->
                <IfCondition condition=':= thm4WaterInfusedStoneDist = "smallDeposits"'>
                
                    <Veins name='thm4WaterInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre:3' inherits='PresetSmallDeposits'>
                        <Description>
                            Small motherlodes without any branches.
                            Similar to the deposits produced by StandardGen distributions.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x6000C0FA</WireframeColor>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4WaterInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4WaterInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4WaterInfusedStoneFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Swamp'/>
                        <BiomeType name='Water'/>
                        <BiomeType name='Frozen'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Water Infused Stone Small Deposits) Settings -->
                    <Veins name='thm4WaterInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:3' inherits='thm4WaterInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x6000C0FA</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Swamp'/>
                        <BiomeType name='Water'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Water Infused Stone Small Deposits) Settings -->
                
                </IfCondition>
                <!-- End  Small Deposits distribution of Water Infused Stone -->
                
                
                <!-- Begin  Huge Veins distribution of Water Infused Stone -->
                <IfCondition condition=':= thm4WaterInfusedStoneDist = "hugeVeins"'>
                
                    <Veins name='thm4WaterInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre: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>0x6000C0FA</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4WaterInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4WaterInfusedStoneSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.75 * thm4WaterInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4WaterInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4WaterInfusedStoneFreq * _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'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Swamp'/>
                        <BiomeType name='Water'/>
                        <BiomeType name='Frozen'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Water Infused Stone Huge Veins) Settings -->
                    <Veins name='thm4WaterInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:3' inherits='thm4WaterInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x6000C0FA</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Swamp'/>
                        <BiomeType name='Water'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Water Infused Stone Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Water Infused Stone -->
                
                
                <!-- Begin  StrategicCloud distribution of Water Infused Stone -->
                <IfCondition condition=':= thm4WaterInfusedStoneDist = "strategicCloud"'>
                
                    <Cloud name='thm4WaterInfusedStoneBaseCloud' block='Thaumcraft:blockCustomOre: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>0x6000C0FA</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * thm4WaterInfusedStoneSize * _default_' range=':= 1 * 1 * thm4WaterInfusedStoneSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * thm4WaterInfusedStoneSize * _default_' range=':= 1 * 1 * thm4WaterInfusedStoneSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * thm4WaterInfusedStoneSize * _default_' range=':= 1 * 1 * 1 * thm4WaterInfusedStoneSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 1 * thm4WaterInfusedStoneFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Swamp'/>
                        <BiomeType name='Water'/>
                        <BiomeType name='Frozen'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                        
                        <!-- Begin Water Infused Stone Strategic Cloud Hint Veins -->
                        <Veins name='thm4WaterInfusedStoneBaseHintVeins' block='Thaumcraft:blockCustomOre: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>0x6000C0FA</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                            <BiomeType name='Forest'/>
                            <BiomeType name='Swamp'/>
                            <BiomeType name='Water'/>
                            <BiomeType name='Frozen'/>
                            <BiomeType name='Jungle'/>
                            <BiomeType name='Beach'/>
                            <BiomeType name='Mushroom'/>
                            <BiomeType name='Magical'/>
                        </Veins>
                        <!-- End Water Infused Stone Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  StrategicCloud distribution of Water Infused Stone -->
                
                
                <!-- Begin  Vanilla distribution of Water Infused Stone -->
                <IfCondition condition=':= thm4WaterInfusedStoneDist = "vanillaStdGen"'>
                
                    <StandardGen name='thm4WaterInfusedStoneBaseStandard' block='Thaumcraft:blockCustomOre:3' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x6000C0FA</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1/6 * thm4WaterInfusedStoneSize * _default_'/>
                        <Setting name='Height' avg=':= 35' range=':= 20' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1/10 * thm4WaterInfusedStoneFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Swamp'/>
                        <BiomeType name='Water'/>
                        <BiomeType name='Frozen'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Water Infused Stone -->
                
                <!-- End Water Infused Stone Generation --> 

                
                <!-- Begin Earth Infused Stone Generation --> 
                
                <!-- Begin SparseVeins distribution of Earth Infused Stone -->
                <IfCondition condition=':= thm4EarthInfusedStoneDist = "sparseVeins"'>
                
                    <Veins name='thm4EarthInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre: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>0x6000D900</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4EarthInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4EarthInfusedStoneSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 0.75 * thm4EarthInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4EarthInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4EarthInfusedStoneFreq * _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'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Earth Infused Stone Sparse Veins) Settings -->
                    <Veins name='thm4EarthInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:4' inherits='thm4EarthInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x6000D900</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Earth Infused Stone Sparse Veins) Settings -->
                
                </IfCondition>
                <!-- End SparseVeins distribution of Earth Infused Stone -->
                
                
                <!-- Begin  Small Deposits distribution of Earth Infused Stone -->
                <IfCondition condition=':= thm4EarthInfusedStoneDist = "smallDeposits"'>
                
                    <Veins name='thm4EarthInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre:4' inherits='PresetSmallDeposits'>
                        <Description>
                            Small motherlodes without any branches.
                            Similar to the deposits produced by StandardGen distributions.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x6000D900</WireframeColor>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4EarthInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4EarthInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4EarthInfusedStoneFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Earth Infused Stone Small Deposits) Settings -->
                    <Veins name='thm4EarthInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:4' inherits='thm4EarthInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x6000D900</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Earth Infused Stone Small Deposits) Settings -->
                
                </IfCondition>
                <!-- End  Small Deposits distribution of Earth Infused Stone -->
                
                
                <!-- Begin  Huge Veins distribution of Earth Infused Stone -->
                <IfCondition condition=':= thm4EarthInfusedStoneDist = "hugeVeins"'>
                
                    <Veins name='thm4EarthInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre: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>0x6000D900</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4EarthInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4EarthInfusedStoneSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.75 * thm4EarthInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4EarthInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4EarthInfusedStoneFreq * _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'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Earth Infused Stone Huge Veins) Settings -->
                    <Veins name='thm4EarthInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:4' inherits='thm4EarthInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x6000D900</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Earth Infused Stone Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Earth Infused Stone -->
                
                
                <!-- Begin  StrategicCloud distribution of Earth Infused Stone -->
                <IfCondition condition=':= thm4EarthInfusedStoneDist = "strategicCloud"'>
                
                    <Cloud name='thm4EarthInfusedStoneBaseCloud' block='Thaumcraft:blockCustomOre: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>0x6000D900</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * thm4EarthInfusedStoneSize * _default_' range=':= 1 * 1 * thm4EarthInfusedStoneSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * thm4EarthInfusedStoneSize * _default_' range=':= 1 * 1 * thm4EarthInfusedStoneSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * thm4EarthInfusedStoneSize * _default_' range=':= 1 * 1 * 1 * thm4EarthInfusedStoneSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 1 * thm4EarthInfusedStoneFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                        
                        <!-- Begin Earth Infused Stone Strategic Cloud Hint Veins -->
                        <Veins name='thm4EarthInfusedStoneBaseHintVeins' block='Thaumcraft:blockCustomOre: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>0x6000D900</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                            <BiomeType name='Mountain'/>
                            <BiomeType name='Hills'/>
                            <BiomeType name='Desert'/>
                            <BiomeType name='Jungle'/>
                            <BiomeType name='Wasteland'/>
                            <BiomeType name='Beach'/>
                            <BiomeType name='Mushroom'/>
                            <BiomeType name='Magical'/>
                        </Veins>
                        <!-- End Earth Infused Stone Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  StrategicCloud distribution of Earth Infused Stone -->
                
                
                <!-- Begin  Vanilla distribution of Earth Infused Stone -->
                <IfCondition condition=':= thm4EarthInfusedStoneDist = "vanillaStdGen"'>
                
                    <StandardGen name='thm4EarthInfusedStoneBaseStandard' block='Thaumcraft:blockCustomOre:4' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x6000D900</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1/6 * thm4EarthInfusedStoneSize * _default_'/>
                        <Setting name='Height' avg=':= 35' range=':= 20' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1/10 * thm4EarthInfusedStoneFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Earth Infused Stone -->
                
                <!-- End Earth Infused Stone Generation --> 

                
                <!-- Begin Order Infused Stone Generation --> 
                
                <!-- Begin SparseVeins distribution of Order Infused Stone -->
                <IfCondition condition=':= thm4OrderInfusedStoneDist = "sparseVeins"'>
                
                    <Veins name='thm4OrderInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre: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>0x60EBEBF9</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4OrderInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4OrderInfusedStoneSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 0.75 * thm4OrderInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4OrderInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4OrderInfusedStoneFreq * _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'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Plains'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Order Infused Stone Sparse Veins) Settings -->
                    <Veins name='thm4OrderInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:5' inherits='thm4OrderInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EBEBF9</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Order Infused Stone Sparse Veins) Settings -->
                
                </IfCondition>
                <!-- End SparseVeins distribution of Order Infused Stone -->
                
                
                <!-- Begin  Small Deposits distribution of Order Infused Stone -->
                <IfCondition condition=':= thm4OrderInfusedStoneDist = "smallDeposits"'>
                
                    <Veins name='thm4OrderInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre:5' inherits='PresetSmallDeposits'>
                        <Description>
                            Small motherlodes without any branches.
                            Similar to the deposits produced by StandardGen distributions.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EBEBF9</WireframeColor>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4OrderInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4OrderInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4OrderInfusedStoneFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Plains'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Order Infused Stone Small Deposits) Settings -->
                    <Veins name='thm4OrderInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:5' inherits='thm4OrderInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EBEBF9</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Order Infused Stone Small Deposits) Settings -->
                
                </IfCondition>
                <!-- End  Small Deposits distribution of Order Infused Stone -->
                
                
                <!-- Begin  Huge Veins distribution of Order Infused Stone -->
                <IfCondition condition=':= thm4OrderInfusedStoneDist = "hugeVeins"'>
                
                    <Veins name='thm4OrderInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre: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>0x60EBEBF9</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4OrderInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4OrderInfusedStoneSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.75 * thm4OrderInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4OrderInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4OrderInfusedStoneFreq * _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'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Plains'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Order Infused Stone Huge Veins) Settings -->
                    <Veins name='thm4OrderInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:5' inherits='thm4OrderInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EBEBF9</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Order Infused Stone Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Order Infused Stone -->
                
                
                <!-- Begin  StrategicCloud distribution of Order Infused Stone -->
                <IfCondition condition=':= thm4OrderInfusedStoneDist = "strategicCloud"'>
                
                    <Cloud name='thm4OrderInfusedStoneBaseCloud' block='Thaumcraft:blockCustomOre: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>0x60EBEBF9</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * thm4OrderInfusedStoneSize * _default_' range=':= 1 * 1 * thm4OrderInfusedStoneSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * thm4OrderInfusedStoneSize * _default_' range=':= 1 * 1 * thm4OrderInfusedStoneSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * thm4OrderInfusedStoneSize * _default_' range=':= 1 * 1 * 1 * thm4OrderInfusedStoneSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 1 * thm4OrderInfusedStoneFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Plains'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Magical'/>
                        
                        <!-- Begin Order Infused Stone Strategic Cloud Hint Veins -->
                        <Veins name='thm4OrderInfusedStoneBaseHintVeins' block='Thaumcraft:blockCustomOre: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>0x60EBEBF9</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                            <BiomeType name='Forest'/>
                            <BiomeType name='Plains'/>
                            <BiomeType name='Mountain'/>
                            <BiomeType name='Hills'/>
                            <BiomeType name='Jungle'/>
                            <BiomeType name='Magical'/>
                        </Veins>
                        <!-- End Order Infused Stone Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  StrategicCloud distribution of Order Infused Stone -->
                
                
                <!-- Begin  Vanilla distribution of Order Infused Stone -->
                <IfCondition condition=':= thm4OrderInfusedStoneDist = "vanillaStdGen"'>
                
                    <StandardGen name='thm4OrderInfusedStoneBaseStandard' block='Thaumcraft:blockCustomOre:5' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60EBEBF9</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1/6 * thm4OrderInfusedStoneSize * _default_'/>
                        <Setting name='Height' avg=':= 35' range=':= 20' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1/10 * thm4OrderInfusedStoneFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Forest'/>
                        <BiomeType name='Plains'/>
                        <BiomeType name='Mountain'/>
                        <BiomeType name='Hills'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Magical'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Order Infused Stone -->
                
                <!-- End Order Infused Stone Generation --> 

                
                <!-- Begin Entropy Infused Stone Generation --> 
                
                <!-- Begin SparseVeins distribution of Entropy Infused Stone -->
                <IfCondition condition=':= thm4EntropyInfusedStoneDist = "sparseVeins"'>
                
                    <Veins name='thm4EntropyInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre:6' 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>0x60260920</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4EntropyInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4EntropyInfusedStoneSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 0.75 * thm4EntropyInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4EntropyInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4EntropyInfusedStoneFreq * _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'/>
                        <BiomeType name='Swamp'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Entropy Infused Stone Sparse Veins) Settings -->
                    <Veins name='thm4EntropyInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:6' inherits='thm4EntropyInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60260920</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Entropy Infused Stone Sparse Veins) Settings -->
                
                </IfCondition>
                <!-- End SparseVeins distribution of Entropy Infused Stone -->
                
                
                <!-- Begin  Small Deposits distribution of Entropy Infused Stone -->
                <IfCondition condition=':= thm4EntropyInfusedStoneDist = "smallDeposits"'>
                
                    <Veins name='thm4EntropyInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre:6' inherits='PresetSmallDeposits'>
                        <Description>
                            Small motherlodes without any branches.
                            Similar to the deposits produced by StandardGen distributions.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60260920</WireframeColor>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4EntropyInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4EntropyInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4EntropyInfusedStoneFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Swamp'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Entropy Infused Stone Small Deposits) Settings -->
                    <Veins name='thm4EntropyInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:6' inherits='thm4EntropyInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60260920</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Entropy Infused Stone Small Deposits) Settings -->
                
                </IfCondition>
                <!-- End  Small Deposits distribution of Entropy Infused Stone -->
                
                
                <!-- Begin  Huge Veins distribution of Entropy Infused Stone -->
                <IfCondition condition=':= thm4EntropyInfusedStoneDist = "hugeVeins"'>
                
                    <Veins name='thm4EntropyInfusedStoneBaseVeins' block='Thaumcraft:blockCustomOre: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>0x60260920</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.75 * thm4EntropyInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4EntropyInfusedStoneSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 0.75 * thm4EntropyInfusedStoneSize * _default_' range=':= 1 * 0.75 * thm4EntropyInfusedStoneSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1.85 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1 * thm4EntropyInfusedStoneFreq * _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'/>
                        <BiomeType name='Swamp'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Entropy Infused Stone Huge Veins) Settings -->
                    <Veins name='thm4EntropyInfusedStonePrefersVeins' block='Thaumcraft:blockCustomOre:6' inherits='thm4EntropyInfusedStoneBaseVeins'>
                        <Description>
                            Spawns 4 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60260920</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 4 * _default_'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Entropy Infused Stone Huge Veins) Settings -->
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Entropy Infused Stone -->
                
                
                <!-- Begin  StrategicCloud distribution of Entropy Infused Stone -->
                <IfCondition condition=':= thm4EntropyInfusedStoneDist = "strategicCloud"'>
                
                    <Cloud name='thm4EntropyInfusedStoneBaseCloud' block='Thaumcraft:blockCustomOre: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>0x60260920</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * thm4EntropyInfusedStoneSize * _default_' range=':= 1 * 1 * thm4EntropyInfusedStoneSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * thm4EntropyInfusedStoneSize * _default_' range=':= 1 * 1 * thm4EntropyInfusedStoneSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 35' range=':= 20' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * thm4EntropyInfusedStoneSize * _default_' range=':= 1 * 1 * 1 * thm4EntropyInfusedStoneSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 1 * thm4EntropyInfusedStoneFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Swamp'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                        
                        <!-- Begin Entropy Infused Stone Strategic Cloud Hint Veins -->
                        <Veins name='thm4EntropyInfusedStoneBaseHintVeins' block='Thaumcraft:blockCustomOre: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>0x60260920</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                            <BiomeType name='Swamp'/>
                            <BiomeType name='Desert'/>
                            <BiomeType name='Wasteland'/>
                            <BiomeType name='Beach'/>
                            <BiomeType name='Mushroom'/>
                            <BiomeType name='Magical'/>
                        </Veins>
                        <!-- End Entropy Infused Stone Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  StrategicCloud distribution of Entropy Infused Stone -->
                
                
                <!-- Begin  Vanilla distribution of Entropy Infused Stone -->
                <IfCondition condition=':= thm4EntropyInfusedStoneDist = "vanillaStdGen"'>
                
                    <StandardGen name='thm4EntropyInfusedStoneBaseStandard' block='Thaumcraft:blockCustomOre:6' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60260920</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1/6 * thm4EntropyInfusedStoneSize * _default_'/>
                        <Setting name='Height' avg=':= 35' range=':= 20' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1/10 * thm4EntropyInfusedStoneFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Swamp'/>
                        <BiomeType name='Desert'/>
                        <BiomeType name='Wasteland'/>
                        <BiomeType name='Beach'/>
                        <BiomeType name='Mushroom'/>
                        <BiomeType name='Magical'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Entropy Infused Stone -->
                
                <!-- End Entropy Infused Stone 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. -->