<!-- =================================================================
     Custom Ore Generation "Thaumcraft 4" Module: This configuration
     covers amber bearing stone, cinnabar, air infused stone, fire
     infused stone, water infused stone, earth infused stone, order
     infused stone, and entropy infused stone.
     ================================================================= -->






<!-- Is the "Thaumcraft 4" mod on the system?  Let's find out! -->
<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>
            <OptionChoice name='enableThaumcraft4' displayName='Handle Thaumcraft 4 Setup?' default='true' displayState='shown_dynamic' displayGroup='groupThaumcraft4'>
                <Description> Should Custom Ore Generation handle Thaumcraft 4 ore generation? </Description>
                <Choice value=':= ?true' displayValue='Yes' description='Use Custom Ore Generation to handle Thaumcraft 4 ores.'/>
                <Choice value=':= ?false' displayValue='No' description='Thaumcraft 4 ores will be handled by the mod itself.'/>
            </OptionChoice>

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


            <!-- Cinnabar Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='thm4CinnabarDist'  displayState=':= if(?enableThaumcraft4, "shown", "hidden")' displayGroup='groupThaumcraft4'>
                    <Description> Controls how Cinnabar is generated </Description>
                    <DisplayName>Thaumcraft 4 Cinnabar</DisplayName>
                    <Choice value='SparseVeins' displayValue='Sparse Veins'>
                        <Description>
                            Large veins filled very lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Cinnabar is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='thm4CinnabarFreq' default='1'  min='0' max='5' displayState=':= if(?enableThaumcraft4, if(?advOptions, "shown", "hidden"), "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(?enableThaumcraft4, if(?advOptions, "shown", "hidden"), "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=':= if(?enableThaumcraft4, "shown", "hidden")' 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>
                            Large veins filled very lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Air Infused Stone is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='thm4AirInfusedStoneFreq' default='1'  min='0' max='5' displayState=':= if(?enableThaumcraft4, if(?advOptions, "shown", "hidden"), "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(?enableThaumcraft4, if(?advOptions, "shown", "hidden"), "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=':= if(?enableThaumcraft4, "shown", "hidden")' 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>
                            Large veins filled very lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Fire Infused Stone is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='thm4FireInfusedStoneFreq' default='1'  min='0' max='5' displayState=':= if(?enableThaumcraft4, if(?advOptions, "shown", "hidden"), "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(?enableThaumcraft4, if(?advOptions, "shown", "hidden"), "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=':= if(?enableThaumcraft4, "shown", "hidden")' 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>
                            Large veins filled very lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Water Infused Stone is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='thm4WaterInfusedStoneFreq' default='1'  min='0' max='5' displayState=':= if(?enableThaumcraft4, if(?advOptions, "shown", "hidden"), "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(?enableThaumcraft4, if(?advOptions, "shown", "hidden"), "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=':= if(?enableThaumcraft4, "shown", "hidden")' 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>
                            Large veins filled very lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Earth Infused Stone is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='thm4EarthInfusedStoneFreq' default='1'  min='0' max='5' displayState=':= if(?enableThaumcraft4, if(?advOptions, "shown", "hidden"), "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(?enableThaumcraft4, if(?advOptions, "shown", "hidden"), "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=':= if(?enableThaumcraft4, "shown", "hidden")' 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>
                            Large veins filled very lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Order Infused Stone is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='thm4OrderInfusedStoneFreq' default='1'  min='0' max='5' displayState=':= if(?enableThaumcraft4, if(?advOptions, "shown", "hidden"), "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(?enableThaumcraft4, if(?advOptions, "shown", "hidden"), "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=':= if(?enableThaumcraft4, "shown", "hidden")' 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>
                            Large veins filled very lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Entropy Infused Stone is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='thm4EntropyInfusedStoneFreq' default='1'  min='0' max='5' displayState=':= if(?enableThaumcraft4, if(?advOptions, "shown", "hidden"), "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(?enableThaumcraft4, if(?advOptions, "shown", "hidden"), "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 -->

        <IfCondition condition=':= ?enableThaumcraft4'>




            <!-- Overworld Setup Beginning -->

            <IfCondition condition=':= ?COGActive'>

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

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

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

                <!-- Adding blocks -->

                <!-- Begin Amber Bearing Stone Generation -->

                <!-- Starting SparseVeins Preset for Amber Bearing
                     Stone. -->
                <ConfigSection>
                    <IfCondition condition=':= thm4AmberBearingStoneDist = "SparseVeins"'>
                        <Veins name='thm4AmberBearingStoneVeins'  inherits='PresetSparseVeins' drawWireframe='true' wireframeColor='0x60FE9D1B' drawBoundBox='false' boundBoxColor='0x60FE9D1B'>
                            <Description>
                                Large veins filled very lightly  with
                                ore.  Because they contain  less ore
                                per volume, these veins  are
                                relatively wide and long.  Mining the
                                ore from them is time  consuming
                                compared to solid ore  veins.  They
                                are also more  difficult to follow,
                                since it is  harder to get an idea of
                                their  direction while mining.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:7")'> <OreBlock block='Thaumcraft:blockCustomOre:7' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 1.225 * _default_ * thm4AmberBearingStoneFreq ' range=':= 1.225 * _default_ * thm4AmberBearingStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * thm4AmberBearingStoneSize ' range=':= 0 * _default_ * thm4AmberBearingStoneSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 50 ' range=':= 16 ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 1.107 * _default_ ' range=':= 1.107 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * thm4AmberBearingStoneSize ' range=':= _default_ * thm4AmberBearingStoneSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.052 * _default_ * thm4AmberBearingStoneSize ' range=':= 1.052 * _default_ * thm4AmberBearingStoneSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- SparseVeins Preset for Amber Bearing Stone is
                     complete. -->


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


                <!-- Starting Vanilla Preset for Amber Bearing Stone. -->
                <ConfigSection>
                    <IfCondition condition=':= thm4AmberBearingStoneDist = "Vanilla"'>
                        <StandardGen name='thm4AmberBearingStoneStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60FE9D1B' drawBoundBox='false' boundBoxColor='0x60FE9D1B'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:7")'> <OreBlock block='Thaumcraft:blockCustomOre:7' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 1.000 * thm4AmberBearingStoneSize ' range=':= _default_ * thm4AmberBearingStoneSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 8.000 * thm4AmberBearingStoneFreq ' range=':= _default_ * thm4AmberBearingStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 50 ' range=':= 16 ' type='normal' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Amber Bearing Stone is
                     complete. -->

                <!-- End Amber Bearing Stone Generation -->


                <!-- Begin Cinnabar Generation -->

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


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


                <!-- Starting Vanilla Preset for Cinnabar. -->
                <ConfigSection>
                    <IfCondition condition=':= thm4CinnabarDist = "Vanilla"'>
                        <StandardGen name='thm4CinnabarStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60831C20' drawBoundBox='false' boundBoxColor='0x60831C20'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre")'> <OreBlock block='Thaumcraft:blockCustomOre' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 1.000 * thm4CinnabarSize ' range=':= _default_ * thm4CinnabarSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 12.000 * thm4CinnabarFreq ' range=':= _default_ * thm4CinnabarFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Cinnabar is complete. -->

                <!-- End Cinnabar Generation -->


                <!-- Begin Air Infused Stone Generation -->

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

                        <!-- Beginning "Preferred" configuration. -->
                        <Veins name='thm4AirInfusedStonePreferredVeins'  inherits='PresetSparseVeins' drawWireframe='true' wireframeColor='0x60FEFEAB' drawBoundBox='false' boundBoxColor='0x60FEFEAB'>
                            <Description>
                                Ore generation is doubled in
                                preferred biomes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:1")'> <OreBlock block='Thaumcraft:blockCustomOre:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Plains'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.969 * _default_ * thm4AirInfusedStoneFreq ' range=':= 0.969 * _default_ * thm4AirInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * thm4AirInfusedStoneSize ' range=':= 0 * _default_ * thm4AirInfusedStoneSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.984 * _default_ ' range=':= 0.984 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * thm4AirInfusedStoneSize ' range=':= _default_ * thm4AirInfusedStoneSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.992 * _default_ * thm4AirInfusedStoneSize ' range=':= 0.992 * _default_ * thm4AirInfusedStoneSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                        <!-- "Preferred" configuration complete. -->

                    </IfCondition>
                </ConfigSection>
                <!-- SparseVeins Preset for Air Infused Stone is
                     complete. -->


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

                        <!-- Beginning "Preferred" configuration. -->
                        <Cloud name='thm4AirInfusedStonePreferredCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60FEFEAB' drawBoundBox='false' boundBoxColor='0x60FEFEAB'>
                            <Description>
                                Ore generation is doubled in
                                preferred biomes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:1")'> <OreBlock block='Thaumcraft:blockCustomOre:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Plains'  />
                            <Setting name='CloudRadius' avg=':= 0.588 * _default_ * thm4AirInfusedStoneSize ' range=':= 0.588 * _default_ * thm4AirInfusedStoneSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.588 * _default_ * thm4AirInfusedStoneSize ' range=':= 0.588 * _default_ * thm4AirInfusedStoneSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.346 * _default_ * thm4AirInfusedStoneFreq ' range=':= 0.346 * _default_ * thm4AirInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='thm4AirInfusedStonePreferredHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60FEFEAB' drawBoundBox='false' boundBoxColor='0x60FEFEAB'>
                                <Description>
                                    Ore generation is doubled in
                                    preferred biomes.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:1")'> <OreBlock block='Thaumcraft:blockCustomOre:1' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                        <!-- "Preferred" configuration complete. -->

                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Air Infused Stone is complete. -->


                <!-- Starting Vanilla Preset for Air Infused Stone. -->
                <ConfigSection>
                    <IfCondition condition=':= thm4AirInfusedStoneDist = "Vanilla"'>
                        <StandardGen name='thm4AirInfusedStoneStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60FEFEAB' drawBoundBox='false' boundBoxColor='0x60FEFEAB'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:1")'> <OreBlock block='Thaumcraft:blockCustomOre:1' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 5.000 * thm4AirInfusedStoneSize ' range=':= _default_ * thm4AirInfusedStoneSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 1.000 * thm4AirInfusedStoneFreq ' range=':= _default_ * thm4AirInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Air Infused Stone is complete. -->

                <!-- End Air Infused Stone Generation -->


                <!-- Begin Fire Infused Stone Generation -->

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

                        <!-- Beginning "Preferred" configuration. -->
                        <Veins name='thm4FireInfusedStonePreferredVeins'  inherits='PresetSparseVeins' drawWireframe='true' wireframeColor='0x60FC5100' drawBoundBox='false' boundBoxColor='0x60FC5100'>
                            <Description>
                                Ore generation is doubled in
                                preferred biomes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:2")'> <OreBlock block='Thaumcraft:blockCustomOre:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Desert'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.969 * _default_ * thm4FireInfusedStoneFreq ' range=':= 0.969 * _default_ * thm4FireInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * thm4FireInfusedStoneSize ' range=':= 0 * _default_ * thm4FireInfusedStoneSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.984 * _default_ ' range=':= 0.984 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * thm4FireInfusedStoneSize ' range=':= _default_ * thm4FireInfusedStoneSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.992 * _default_ * thm4FireInfusedStoneSize ' range=':= 0.992 * _default_ * thm4FireInfusedStoneSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                        <!-- "Preferred" configuration complete. -->

                    </IfCondition>
                </ConfigSection>
                <!-- SparseVeins Preset for Fire Infused Stone is
                     complete. -->


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

                        <!-- Beginning "Preferred" configuration. -->
                        <Cloud name='thm4FireInfusedStonePreferredCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60FC5100' drawBoundBox='false' boundBoxColor='0x60FC5100'>
                            <Description>
                                Ore generation is doubled in
                                preferred biomes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:2")'> <OreBlock block='Thaumcraft:blockCustomOre:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Desert'  />
                            <Setting name='CloudRadius' avg=':= 0.588 * _default_ * thm4FireInfusedStoneSize ' range=':= 0.588 * _default_ * thm4FireInfusedStoneSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.588 * _default_ * thm4FireInfusedStoneSize ' range=':= 0.588 * _default_ * thm4FireInfusedStoneSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.346 * _default_ * thm4FireInfusedStoneFreq ' range=':= 0.346 * _default_ * thm4FireInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='thm4FireInfusedStonePreferredHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60FC5100' drawBoundBox='false' boundBoxColor='0x60FC5100'>
                                <Description>
                                    Ore generation is doubled in
                                    preferred biomes.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:2")'> <OreBlock block='Thaumcraft:blockCustomOre:2' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                        <!-- "Preferred" configuration complete. -->

                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Fire Infused Stone is complete. -->


                <!-- Starting Vanilla Preset for Fire Infused Stone. -->
                <ConfigSection>
                    <IfCondition condition=':= thm4FireInfusedStoneDist = "Vanilla"'>
                        <StandardGen name='thm4FireInfusedStoneStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60FC5100' drawBoundBox='false' boundBoxColor='0x60FC5100'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:2")'> <OreBlock block='Thaumcraft:blockCustomOre:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 5.000 * thm4FireInfusedStoneSize ' range=':= _default_ * thm4FireInfusedStoneSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 1.000 * thm4FireInfusedStoneFreq ' range=':= _default_ * thm4FireInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Fire Infused Stone is
                     complete. -->

                <!-- End Fire Infused Stone Generation -->


                <!-- Begin Water Infused Stone Generation -->

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

                        <!-- Beginning "Preferred" configuration. -->
                        <Veins name='thm4WaterInfusedStonePreferredVeins'  inherits='PresetSparseVeins' drawWireframe='true' wireframeColor='0x6000C0FA' drawBoundBox='false' boundBoxColor='0x6000C0FA'>
                            <Description>
                                Ore generation is doubled in
                                preferred biomes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:3")'> <OreBlock block='Thaumcraft:blockCustomOre:3' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Water'  />
                            <BiomeType name='Swamp'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.969 * _default_ * thm4WaterInfusedStoneFreq ' range=':= 0.969 * _default_ * thm4WaterInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * thm4WaterInfusedStoneSize ' range=':= 0 * _default_ * thm4WaterInfusedStoneSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.984 * _default_ ' range=':= 0.984 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * thm4WaterInfusedStoneSize ' range=':= _default_ * thm4WaterInfusedStoneSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.992 * _default_ * thm4WaterInfusedStoneSize ' range=':= 0.992 * _default_ * thm4WaterInfusedStoneSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                        <!-- "Preferred" configuration complete. -->

                    </IfCondition>
                </ConfigSection>
                <!-- SparseVeins Preset for Water Infused Stone is
                     complete. -->


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

                        <!-- Beginning "Preferred" configuration. -->
                        <Cloud name='thm4WaterInfusedStonePreferredCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x6000C0FA' drawBoundBox='false' boundBoxColor='0x6000C0FA'>
                            <Description>
                                Ore generation is doubled in
                                preferred biomes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:3")'> <OreBlock block='Thaumcraft:blockCustomOre:3' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Water'  />
                            <BiomeType name='Swamp'  />
                            <Setting name='CloudRadius' avg=':= 0.588 * _default_ * thm4WaterInfusedStoneSize ' range=':= 0.588 * _default_ * thm4WaterInfusedStoneSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.588 * _default_ * thm4WaterInfusedStoneSize ' range=':= 0.588 * _default_ * thm4WaterInfusedStoneSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.346 * _default_ * thm4WaterInfusedStoneFreq ' range=':= 0.346 * _default_ * thm4WaterInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='thm4WaterInfusedStonePreferredHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x6000C0FA' drawBoundBox='false' boundBoxColor='0x6000C0FA'>
                                <Description>
                                    Ore generation is doubled in
                                    preferred biomes.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:3")'> <OreBlock block='Thaumcraft:blockCustomOre:3' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                        <!-- "Preferred" configuration complete. -->

                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Water Infused Stone is complete. -->


                <!-- Starting Vanilla Preset for Water Infused Stone. -->
                <ConfigSection>
                    <IfCondition condition=':= thm4WaterInfusedStoneDist = "Vanilla"'>
                        <StandardGen name='thm4WaterInfusedStoneStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x6000C0FA' drawBoundBox='false' boundBoxColor='0x6000C0FA'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:3")'> <OreBlock block='Thaumcraft:blockCustomOre:3' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 5.000 * thm4WaterInfusedStoneSize ' range=':= _default_ * thm4WaterInfusedStoneSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 1.000 * thm4WaterInfusedStoneFreq ' range=':= _default_ * thm4WaterInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Water Infused Stone is
                     complete. -->

                <!-- End Water Infused Stone Generation -->


                <!-- Begin Earth Infused Stone Generation -->

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

                        <!-- Beginning "Preferred" configuration. -->
                        <Veins name='thm4EarthInfusedStonePreferredVeins'  inherits='PresetSparseVeins' drawWireframe='true' wireframeColor='0x6000D900' drawBoundBox='false' boundBoxColor='0x6000D900'>
                            <Description>
                                Ore generation is doubled in
                                preferred biomes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:4")'> <OreBlock block='Thaumcraft:blockCustomOre:4' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Forest'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.969 * _default_ * thm4EarthInfusedStoneFreq ' range=':= 0.969 * _default_ * thm4EarthInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * thm4EarthInfusedStoneSize ' range=':= 0 * _default_ * thm4EarthInfusedStoneSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.984 * _default_ ' range=':= 0.984 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * thm4EarthInfusedStoneSize ' range=':= _default_ * thm4EarthInfusedStoneSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.992 * _default_ * thm4EarthInfusedStoneSize ' range=':= 0.992 * _default_ * thm4EarthInfusedStoneSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                        <!-- "Preferred" configuration complete. -->

                    </IfCondition>
                </ConfigSection>
                <!-- SparseVeins Preset for Earth Infused Stone is
                     complete. -->


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

                        <!-- Beginning "Preferred" configuration. -->
                        <Cloud name='thm4EarthInfusedStonePreferredCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x6000D900' drawBoundBox='false' boundBoxColor='0x6000D900'>
                            <Description>
                                Ore generation is doubled in
                                preferred biomes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:4")'> <OreBlock block='Thaumcraft:blockCustomOre:4' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Forest'  />
                            <Setting name='CloudRadius' avg=':= 0.588 * _default_ * thm4EarthInfusedStoneSize ' range=':= 0.588 * _default_ * thm4EarthInfusedStoneSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.588 * _default_ * thm4EarthInfusedStoneSize ' range=':= 0.588 * _default_ * thm4EarthInfusedStoneSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.346 * _default_ * thm4EarthInfusedStoneFreq ' range=':= 0.346 * _default_ * thm4EarthInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='thm4EarthInfusedStonePreferredHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x6000D900' drawBoundBox='false' boundBoxColor='0x6000D900'>
                                <Description>
                                    Ore generation is doubled in
                                    preferred biomes.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:4")'> <OreBlock block='Thaumcraft:blockCustomOre:4' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                        <!-- "Preferred" configuration complete. -->

                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Earth Infused Stone is complete. -->


                <!-- Starting Vanilla Preset for Earth Infused Stone. -->
                <ConfigSection>
                    <IfCondition condition=':= thm4EarthInfusedStoneDist = "Vanilla"'>
                        <StandardGen name='thm4EarthInfusedStoneStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x6000D900' drawBoundBox='false' boundBoxColor='0x6000D900'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:4")'> <OreBlock block='Thaumcraft:blockCustomOre:4' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 5.000 * thm4EarthInfusedStoneSize ' range=':= _default_ * thm4EarthInfusedStoneSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 1.000 * thm4EarthInfusedStoneFreq ' range=':= _default_ * thm4EarthInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Earth Infused Stone is
                     complete. -->

                <!-- End Earth Infused Stone Generation -->


                <!-- Begin Order Infused Stone Generation -->

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

                        <!-- Beginning "Preferred" configuration. -->
                        <Veins name='thm4OrderInfusedStonePreferredVeins'  inherits='PresetSparseVeins' drawWireframe='true' wireframeColor='0x60EBEBF9' drawBoundBox='false' boundBoxColor='0x60EBEBF9'>
                            <Description>
                                Ore generation is doubled in
                                preferred biomes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:5")'> <OreBlock block='Thaumcraft:blockCustomOre:5' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Mushroom'  />
                            <BiomeType name='Mountain'  />
                            <BiomeType name='Magical'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.969 * _default_ * thm4OrderInfusedStoneFreq ' range=':= 0.969 * _default_ * thm4OrderInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * thm4OrderInfusedStoneSize ' range=':= 0 * _default_ * thm4OrderInfusedStoneSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.984 * _default_ ' range=':= 0.984 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * thm4OrderInfusedStoneSize ' range=':= _default_ * thm4OrderInfusedStoneSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.992 * _default_ * thm4OrderInfusedStoneSize ' range=':= 0.992 * _default_ * thm4OrderInfusedStoneSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                        <!-- "Preferred" configuration complete. -->

                    </IfCondition>
                </ConfigSection>
                <!-- SparseVeins Preset for Order Infused Stone is
                     complete. -->


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

                        <!-- Beginning "Preferred" configuration. -->
                        <Cloud name='thm4OrderInfusedStonePreferredCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60EBEBF9' drawBoundBox='false' boundBoxColor='0x60EBEBF9'>
                            <Description>
                                Ore generation is doubled in
                                preferred biomes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:5")'> <OreBlock block='Thaumcraft:blockCustomOre:5' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Mushroom'  />
                            <BiomeType name='Mountain'  />
                            <BiomeType name='Magical'  />
                            <Setting name='CloudRadius' avg=':= 0.588 * _default_ * thm4OrderInfusedStoneSize ' range=':= 0.588 * _default_ * thm4OrderInfusedStoneSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.588 * _default_ * thm4OrderInfusedStoneSize ' range=':= 0.588 * _default_ * thm4OrderInfusedStoneSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.346 * _default_ * thm4OrderInfusedStoneFreq ' range=':= 0.346 * _default_ * thm4OrderInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='thm4OrderInfusedStonePreferredHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60EBEBF9' drawBoundBox='false' boundBoxColor='0x60EBEBF9'>
                                <Description>
                                    Ore generation is doubled in
                                    preferred biomes.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:5")'> <OreBlock block='Thaumcraft:blockCustomOre:5' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                        <!-- "Preferred" configuration complete. -->

                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Order Infused Stone is complete. -->


                <!-- Starting Vanilla Preset for Order Infused Stone. -->
                <ConfigSection>
                    <IfCondition condition=':= thm4OrderInfusedStoneDist = "Vanilla"'>
                        <StandardGen name='thm4OrderInfusedStoneStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60EBEBF9' drawBoundBox='false' boundBoxColor='0x60EBEBF9'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:5")'> <OreBlock block='Thaumcraft:blockCustomOre:5' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 5.000 * thm4OrderInfusedStoneSize ' range=':= _default_ * thm4OrderInfusedStoneSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 1.000 * thm4OrderInfusedStoneFreq ' range=':= _default_ * thm4OrderInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Order Infused Stone is
                     complete. -->

                <!-- End Order Infused Stone Generation -->


                <!-- Begin Entropy Infused Stone Generation -->

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

                        <!-- Beginning "Preferred" configuration. -->
                        <Veins name='thm4EntropyInfusedStonePreferredVeins'  inherits='PresetSparseVeins' drawWireframe='true' wireframeColor='0x60260920' drawBoundBox='false' boundBoxColor='0x60260920'>
                            <Description>
                                Ore generation is doubled in
                                preferred biomes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:6")'> <OreBlock block='Thaumcraft:blockCustomOre:6' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Swamp'  />
                            <BiomeType name='Wasteland'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.969 * _default_ * thm4EntropyInfusedStoneFreq ' range=':= 0.969 * _default_ * thm4EntropyInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * thm4EntropyInfusedStoneSize ' range=':= 0 * _default_ * thm4EntropyInfusedStoneSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 0.984 * _default_ ' range=':= 0.984 * _default_ ' type='normal' />
                            <Setting name='BranchHeightLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='SegmentForkFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentForkLengthMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentLength' avg=':= _default_ * thm4EntropyInfusedStoneSize ' range=':= _default_ * thm4EntropyInfusedStoneSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.992 * _default_ * thm4EntropyInfusedStoneSize ' range=':= 0.992 * _default_ * thm4EntropyInfusedStoneSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                        <!-- "Preferred" configuration complete. -->

                    </IfCondition>
                </ConfigSection>
                <!-- SparseVeins Preset for Entropy Infused Stone is
                     complete. -->


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

                        <!-- Beginning "Preferred" configuration. -->
                        <Cloud name='thm4EntropyInfusedStonePreferredCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60260920' drawBoundBox='false' boundBoxColor='0x60260920'>
                            <Description>
                                Ore generation is doubled in
                                preferred biomes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:6")'> <OreBlock block='Thaumcraft:blockCustomOre:6' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Swamp'  />
                            <BiomeType name='Wasteland'  />
                            <Setting name='CloudRadius' avg=':= 0.588 * _default_ * thm4EntropyInfusedStoneSize ' range=':= 0.588 * _default_ * thm4EntropyInfusedStoneSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.588 * _default_ * thm4EntropyInfusedStoneSize ' range=':= 0.588 * _default_ * thm4EntropyInfusedStoneSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.346 * _default_ * thm4EntropyInfusedStoneFreq ' range=':= 0.346 * _default_ * thm4EntropyInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='thm4EntropyInfusedStonePreferredHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60260920' drawBoundBox='false' boundBoxColor='0x60260920'>
                                <Description>
                                    Ore generation is doubled in
                                    preferred biomes.
                                </Description>
                                <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:6")'> <OreBlock block='Thaumcraft:blockCustomOre:6' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                        <!-- "Preferred" configuration complete. -->

                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Entropy Infused Stone is
                     complete. -->


                <!-- Starting Vanilla Preset for Entropy Infused
                     Stone. -->
                <ConfigSection>
                    <IfCondition condition=':= thm4EntropyInfusedStoneDist = "Vanilla"'>
                        <StandardGen name='thm4EntropyInfusedStoneStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60260920' drawBoundBox='false' boundBoxColor='0x60260920'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("Thaumcraft:blockCustomOre:6")'> <OreBlock block='Thaumcraft:blockCustomOre:6' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 5.000 * thm4EntropyInfusedStoneSize ' range=':= _default_ * thm4EntropyInfusedStoneSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 1.000 * thm4EntropyInfusedStoneFreq ' range=':= _default_ * thm4EntropyInfusedStoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 67 ' range=':= 61 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Entropy Infused Stone is
                     complete. -->

                <!-- End Entropy Infused Stone Generation -->

                <!-- Finished adding blocks -->

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



        </IfCondition>

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

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





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