<!-- =================================================================
     Custom Ore Generation "Chisel 2" Module: This configuration
     covers andesite, diorite, granite, limestone, and marble.
     ================================================================= -->


<!-- This mod adds 5 types of stone, and makes them, and many other
     types of material, shapable into a large number of patterns. -->




<!-- Is the "Chisel 2" mod on the system?  Let's find out! -->
<IfModInstalled name="chisel">

    <!-- Starting Configuration for Custom Ore Generation. -->
    <ConfigSection>





        <!-- Setup Screen Configuration -->
        <ConfigSection>
            <OptionDisplayGroup name='groupChisel2' displayName='Chisel 2' displayState='shown'>
                <Description>
                    Distribution options for Chisel 2 Ores.
                </Description>
            </OptionDisplayGroup>
            <OptionChoice name='enableChisel2' displayName='Handle Chisel 2 Setup?' default='true' displayState='shown_dynamic' displayGroup='groupChisel2'>
                <Description> Should Custom Ore Generation handle Chisel 2 ore generation? </Description>
                <Choice value=':= ?true' displayValue='Yes' description='Use Custom Ore Generation to handle Chisel 2 ores.'/>
                <Choice value=':= ?false' displayValue='No' description='Chisel 2 ores will be handled by the mod itself.'/>
            </OptionChoice>

            <!-- Andesite Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='chslAndesiteDist'  displayState=':= if(?enableChisel2, "shown", "hidden")' displayGroup='groupChisel2'>
                    <Description> Controls how Andesite is generated </Description>
                    <DisplayName>Chisel 2 Andesite</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Andesite is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='chslAndesiteFreq' default='1'  min='0' max='5' displayState=':= if(?enableChisel2, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupChisel2'>
                    <Description> Frequency multiplier for Chisel 2 Andesite distributions </Description>
                    <DisplayName>Chisel 2 Andesite Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='chslAndesiteSize' default='1'  min='0' max='5' displayState=':= if(?enableChisel2, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupChisel2'>
                    <Description> Size multiplier for Chisel 2 Andesite distributions </Description>
                    <DisplayName>Chisel 2 Andesite Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Andesite Configuration UI Complete -->


            <!-- Diorite Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='chslDioriteDist'  displayState=':= if(?enableChisel2, "shown", "hidden")' displayGroup='groupChisel2'>
                    <Description> Controls how Diorite is generated </Description>
                    <DisplayName>Chisel 2 Diorite</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Diorite is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='chslDioriteFreq' default='1'  min='0' max='5' displayState=':= if(?enableChisel2, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupChisel2'>
                    <Description> Frequency multiplier for Chisel 2 Diorite distributions </Description>
                    <DisplayName>Chisel 2 Diorite Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='chslDioriteSize' default='1'  min='0' max='5' displayState=':= if(?enableChisel2, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupChisel2'>
                    <Description> Size multiplier for Chisel 2 Diorite distributions </Description>
                    <DisplayName>Chisel 2 Diorite Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Diorite Configuration UI Complete -->


            <!-- Granite Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='chslGraniteDist'  displayState=':= if(?enableChisel2, "shown", "hidden")' displayGroup='groupChisel2'>
                    <Description> Controls how Granite is generated </Description>
                    <DisplayName>Chisel 2 Granite</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Granite is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='chslGraniteFreq' default='1'  min='0' max='5' displayState=':= if(?enableChisel2, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupChisel2'>
                    <Description> Frequency multiplier for Chisel 2 Granite distributions </Description>
                    <DisplayName>Chisel 2 Granite Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='chslGraniteSize' default='1'  min='0' max='5' displayState=':= if(?enableChisel2, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupChisel2'>
                    <Description> Size multiplier for Chisel 2 Granite distributions </Description>
                    <DisplayName>Chisel 2 Granite Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Granite Configuration UI Complete -->


            <!-- Limestone Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='chslLimestoneDist'  displayState=':= if(?enableChisel2, "shown", "hidden")' displayGroup='groupChisel2'>
                    <Description> Controls how Limestone is generated </Description>
                    <DisplayName>Chisel 2 Limestone</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Limestone is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='chslLimestoneFreq' default='1'  min='0' max='5' displayState=':= if(?enableChisel2, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupChisel2'>
                    <Description> Frequency multiplier for Chisel 2 Limestone distributions </Description>
                    <DisplayName>Chisel 2 Limestone Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='chslLimestoneSize' default='1'  min='0' max='5' displayState=':= if(?enableChisel2, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupChisel2'>
                    <Description> Size multiplier for Chisel 2 Limestone distributions </Description>
                    <DisplayName>Chisel 2 Limestone Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Limestone Configuration UI Complete -->


            <!-- Marble Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='chslMarbleDist'  displayState=':= if(?enableChisel2, "shown", "hidden")' displayGroup='groupChisel2'>
                    <Description> Controls how Marble is generated </Description>
                    <DisplayName>Chisel 2 Marble</DisplayName>
                    <Choice value='LayeredVeins' displayValue='Layered Veins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Marble is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='chslMarbleFreq' default='1'  min='0' max='5' displayState=':= if(?enableChisel2, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupChisel2'>
                    <Description> Frequency multiplier for Chisel 2 Marble distributions </Description>
                    <DisplayName>Chisel 2 Marble Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='chslMarbleSize' default='1'  min='0' max='5' displayState=':= if(?enableChisel2, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupChisel2'>
                    <Description> Size multiplier for Chisel 2 Marble distributions </Description>
                    <DisplayName>Chisel 2 Marble Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Marble Configuration UI Complete -->

        </ConfigSection>
        <!-- Setup Screen Complete -->

        <IfCondition condition=':= ?enableChisel2'>




            <!-- Overworld Setup Beginning -->

            <IfCondition condition=':= ?COGActive'>

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

                <IfCondition condition=':= ?blockExists("minecraft:stone")'>
                    <Substitute name='chslOverworldBlockSubstitute0' 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("chisel:andesite")'> <Replaces block='chisel:andesite' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("chisel:diorite")'> <Replaces block='chisel:diorite' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("chisel:granite")'> <Replaces block='chisel:granite' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("chisel:limestone")'> <Replaces block='chisel:limestone' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("chisel:marble")'> <Replaces block='chisel:marble' weight='1.0' /> </IfCondition>
                    </Substitute>
                </IfCondition>

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

                <!-- Adding blocks -->

                <!-- Begin Andesite Generation -->

                <!-- Starting LayeredVeins Preset for Andesite. -->
                <ConfigSection>
                    <IfCondition condition=':= chslAndesiteDist = "LayeredVeins"'>
                        <Veins name='chslAndesiteVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60CECABE' drawBoundBox='false' boundBoxColor='0x60CECABE'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("chisel:andesite")'> <OreBlock block='chisel:andesite' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 2.002 * _default_ * chslAndesiteFreq ' range=':= 2.002 * _default_ * chslAndesiteFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 1.123 * _default_ * chslAndesiteSize ' range=':= 1.123 * _default_ * chslAndesiteSize ' 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.415 * _default_ ' range=':= 1.415 * _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_ * chslAndesiteSize ' range=':= _default_ * chslAndesiteSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.189 * _default_ * chslAndesiteSize ' range=':= 1.189 * _default_ * chslAndesiteSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Andesite is complete. -->


                <!-- Starting Cloud Preset for Andesite. -->
                <ConfigSection>
                    <IfCondition condition=':= chslAndesiteDist = "Cloud"'>
                        <Cloud name='chslAndesiteCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60CECABE' drawBoundBox='false' boundBoxColor='0x60CECABE'>
                            <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("chisel:andesite")'> <OreBlock block='chisel:andesite' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 1.323 * _default_ * chslAndesiteSize ' range=':= 1.323 * _default_ * chslAndesiteSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 1.323 * _default_ * chslAndesiteSize ' range=':= 1.323 * _default_ * chslAndesiteSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 1.752 * _default_ * chslAndesiteFreq ' range=':= 1.752 * _default_ * chslAndesiteFreq ' 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='chslAndesiteHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60CECABE' drawBoundBox='false' boundBoxColor='0x60CECABE'>
                                <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("chisel:andesite")'> <OreBlock block='chisel:andesite' 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 Andesite is complete. -->

                <!-- End Andesite Generation -->


                <!-- Begin Diorite Generation -->

                <!-- Starting LayeredVeins Preset for Diorite. -->
                <ConfigSection>
                    <IfCondition condition=':= chslDioriteDist = "LayeredVeins"'>
                        <Veins name='chslDioriteVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60E6E5D3' drawBoundBox='false' boundBoxColor='0x60E6E5D3'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("chisel:diorite")'> <OreBlock block='chisel:diorite' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 2.002 * _default_ * chslDioriteFreq ' range=':= 2.002 * _default_ * chslDioriteFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 1.123 * _default_ * chslDioriteSize ' range=':= 1.123 * _default_ * chslDioriteSize ' 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.415 * _default_ ' range=':= 1.415 * _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_ * chslDioriteSize ' range=':= _default_ * chslDioriteSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.189 * _default_ * chslDioriteSize ' range=':= 1.189 * _default_ * chslDioriteSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Diorite is complete. -->


                <!-- Starting Cloud Preset for Diorite. -->
                <ConfigSection>
                    <IfCondition condition=':= chslDioriteDist = "Cloud"'>
                        <Cloud name='chslDioriteCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60E6E5D3' drawBoundBox='false' boundBoxColor='0x60E6E5D3'>
                            <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("chisel:diorite")'> <OreBlock block='chisel:diorite' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 1.323 * _default_ * chslDioriteSize ' range=':= 1.323 * _default_ * chslDioriteSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 1.323 * _default_ * chslDioriteSize ' range=':= 1.323 * _default_ * chslDioriteSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 1.752 * _default_ * chslDioriteFreq ' range=':= 1.752 * _default_ * chslDioriteFreq ' 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='chslDioriteHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60E6E5D3' drawBoundBox='false' boundBoxColor='0x60E6E5D3'>
                                <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("chisel:diorite")'> <OreBlock block='chisel:diorite' 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 Diorite is complete. -->

                <!-- End Diorite Generation -->


                <!-- Begin Granite Generation -->

                <!-- Starting LayeredVeins Preset for Granite. -->
                <ConfigSection>
                    <IfCondition condition=':= chslGraniteDist = "LayeredVeins"'>
                        <Veins name='chslGraniteVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60F2D9C3' drawBoundBox='false' boundBoxColor='0x60F2D9C3'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("chisel:granite")'> <OreBlock block='chisel:granite' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 2.002 * _default_ * chslGraniteFreq ' range=':= 2.002 * _default_ * chslGraniteFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 1.123 * _default_ * chslGraniteSize ' range=':= 1.123 * _default_ * chslGraniteSize ' 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.415 * _default_ ' range=':= 1.415 * _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_ * chslGraniteSize ' range=':= _default_ * chslGraniteSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.189 * _default_ * chslGraniteSize ' range=':= 1.189 * _default_ * chslGraniteSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Granite is complete. -->


                <!-- Starting Cloud Preset for Granite. -->
                <ConfigSection>
                    <IfCondition condition=':= chslGraniteDist = "Cloud"'>
                        <Cloud name='chslGraniteCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60F2D9C3' drawBoundBox='false' boundBoxColor='0x60F2D9C3'>
                            <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("chisel:granite")'> <OreBlock block='chisel:granite' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 1.323 * _default_ * chslGraniteSize ' range=':= 1.323 * _default_ * chslGraniteSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 1.323 * _default_ * chslGraniteSize ' range=':= 1.323 * _default_ * chslGraniteSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 1.752 * _default_ * chslGraniteFreq ' range=':= 1.752 * _default_ * chslGraniteFreq ' 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='chslGraniteHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60F2D9C3' drawBoundBox='false' boundBoxColor='0x60F2D9C3'>
                                <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("chisel:granite")'> <OreBlock block='chisel:granite' 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 Granite is complete. -->

                <!-- End Granite Generation -->


                <!-- Begin Limestone Generation -->

                <!-- Starting LayeredVeins Preset for Limestone. -->
                <ConfigSection>
                    <IfCondition condition=':= chslLimestoneDist = "LayeredVeins"'>
                        <Veins name='chslLimestoneVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60A5A28F' drawBoundBox='false' boundBoxColor='0x60A5A28F'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("chisel:limestone")'> <OreBlock block='chisel:limestone' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 2.348 * _default_ * chslLimestoneFreq ' range=':= 2.348 * _default_ * chslLimestoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 1.153 * _default_ * chslLimestoneSize ' range=':= 1.153 * _default_ * chslLimestoneSize ' 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.532 * _default_ ' range=':= 1.532 * _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_ * chslLimestoneSize ' range=':= _default_ * chslLimestoneSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.238 * _default_ * chslLimestoneSize ' range=':= 1.238 * _default_ * chslLimestoneSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Limestone is complete. -->


                <!-- Starting Cloud Preset for Limestone. -->
                <ConfigSection>
                    <IfCondition condition=':= chslLimestoneDist = "Cloud"'>
                        <Cloud name='chslLimestoneCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60A5A28F' drawBoundBox='false' boundBoxColor='0x60A5A28F'>
                            <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("chisel:limestone")'> <OreBlock block='chisel:limestone' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 1.433 * _default_ * chslLimestoneSize ' range=':= 1.433 * _default_ * chslLimestoneSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 1.433 * _default_ * chslLimestoneSize ' range=':= 1.433 * _default_ * chslLimestoneSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 2.054 * _default_ * chslLimestoneFreq ' range=':= 2.054 * _default_ * chslLimestoneFreq ' 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='chslLimestoneHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60A5A28F' drawBoundBox='false' boundBoxColor='0x60A5A28F'>
                                <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("chisel:limestone")'> <OreBlock block='chisel:limestone' 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 Limestone is complete. -->

                <!-- End Limestone Generation -->


                <!-- Begin Marble Generation -->

                <!-- Starting LayeredVeins Preset for Marble. -->
                <ConfigSection>
                    <IfCondition condition=':= chslMarbleDist = "LayeredVeins"'>
                        <Veins name='chslMarbleVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60CECECE' drawBoundBox='false' boundBoxColor='0x60CECECE'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("chisel:marble")'> <OreBlock block='chisel:marble' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 2.196 * _default_ * chslMarbleFreq ' range=':= 2.196 * _default_ * chslMarbleFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 1.140 * _default_ * chslMarbleSize ' range=':= 1.140 * _default_ * chslMarbleSize ' 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.482 * _default_ ' range=':= 1.482 * _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_ * chslMarbleSize ' range=':= _default_ * chslMarbleSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.217 * _default_ * chslMarbleSize ' range=':= 1.217 * _default_ * chslMarbleSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Marble is complete. -->


                <!-- Starting Cloud Preset for Marble. -->
                <ConfigSection>
                    <IfCondition condition=':= chslMarbleDist = "Cloud"'>
                        <Cloud name='chslMarbleCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60CECECE' drawBoundBox='false' boundBoxColor='0x60CECECE'>
                            <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("chisel:marble")'> <OreBlock block='chisel:marble' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 1.386 * _default_ * chslMarbleSize ' range=':= 1.386 * _default_ * chslMarbleSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 1.386 * _default_ * chslMarbleSize ' range=':= 1.386 * _default_ * chslMarbleSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 1.921 * _default_ * chslMarbleFreq ' range=':= 1.921 * _default_ * chslMarbleFreq ' 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='chslMarbleHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60CECECE' drawBoundBox='false' boundBoxColor='0x60CECECE'>
                                <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("chisel:marble")'> <OreBlock block='chisel:marble' 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 Marble is complete. -->

                <!-- End Marble Generation -->

                <!-- Finished adding blocks -->

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



        </IfCondition>

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

</IfModInstalled>
<!-- The "Chisel 2" 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
     ================================================================= -->
