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


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




<!-- 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 Gen?' 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 Minecraft directly.'/>
      </OptionChoice>
      <OptionChoice name='cleanUpChisel2' displayName='Use Chisel 2 Cleanup?' default='true' displayState=':= if(?enableChisel2, "shown", "hidden")' displayGroup='groupChisel2'>
        <Description> Should Custom Ore Generation use the Substitution Pass to remove all instances of Chisel 2 ore from the world?  If the mod's oregen can be turned off in its configuration, then it's recommended to do so, as the substitution pass can slow the game significantly.  If this option is disabled without disabling the mod's own ore generation, you'll end up with two oregens working at once, flooding the world with ore.  Enabled by default to ensure the ores are completely removed. </Description>
        <Choice value=':= ?true' displayValue='Yes' description='Use the substitution pass to clean up Chisel 2 ores.'/>
        <Choice value=':= ?false' displayValue='No' description='Chisel 2 ores do not need to be cleaned up by a substitution pass.'/>
      </OptionChoice>

      <!-- 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>
          <IfCondition condition=':= (?blockExists("chisel:limestoneextra:7")) '>

          <Choice value='StratumClouds' displayValue='Strata'>
            <Description>
              Wide, thin, and flat disks of ore.
            </Description>
          </Choice>
          </IfCondition>

          <IfCondition condition=':= (?blockExists("chisel:limestoneextra:7")) '>

          <Choice value='LayeredVeins' displayValue='Layered Veins'>
            <Description>
              Small, fairly rare motherlodes with 2-4 horizontal veins each.
            </Description>
          </Choice>
          </IfCondition>

          <IfCondition condition=':= (?blockExists("chisel:limestoneextra:7")) '>

          <Choice value='Vanilla' displayValue='Vanilla'>
            <Description>
              Simulates Vanilla Minecraft.
            </Description>
          </Choice>
          </IfCondition>

          <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>
          <IfCondition condition=':= (?blockExists("chisel:marbleextra:7")) '>

          <Choice value='StratumClouds' displayValue='Strata'>
            <Description>
              Wide, thin, and flat disks of ore.
            </Description>
          </Choice>
          </IfCondition>

          <IfCondition condition=':= (?blockExists("chisel:marbleextra:7")) '>

          <Choice value='LayeredVeins' displayValue='Layered Veins'>
            <Description>
              Small, fairly rare motherlodes with 2-4 horizontal veins each.
            </Description>
          </Choice>
          </IfCondition>

          <IfCondition condition=':= (?blockExists("chisel:marbleextra:7")) '>

          <Choice value='Vanilla' displayValue='Vanilla'>
            <Description>
              Simulates Vanilla Minecraft.
            </Description>
          </Choice>
          </IfCondition>

          <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 -->


      <!-- Basalt Configuration UI Starting -->
      <ConfigSection>
        <OptionChoice name='chslBasaltDist' default='none'  displayState=':= if(?enableChisel2, "shown", "hidden")' displayGroup='groupChisel2'>
          <Description> Controls how Basalt is generated </Description>
          <DisplayName>Chisel 2 Basalt</DisplayName>
          <IfCondition condition=':= (?blockExists("chisel:basaltextra:7")) '>

          <Choice value='StratumClouds' displayValue='Strata'>
            <Description>
              Wide, thin, and flat disks of ore.
            </Description>
          </Choice>
          </IfCondition>

          <IfCondition condition=':= (?blockExists("chisel:basaltextra:7")) '>

          <Choice value='LayeredVeins' displayValue='Layered Veins'>
            <Description>
              Small, fairly rare motherlodes with 2-4 horizontal veins each.
            </Description>
          </Choice>
          </IfCondition>

          <IfCondition condition=':= (?blockExists("chisel:basaltextra:7")) '>

          <Choice value='Vanilla' displayValue='Vanilla'>
            <Description>
              Simulates Vanilla Minecraft.
            </Description>
          </Choice>
          </IfCondition>

          <Choice value='none' displayValue='None' description='Basalt is not generated in the world.'/>
        </OptionChoice>
        <OptionNumeric name='chslBasaltFreq' default='1'  min='0' max='5' displayState=':= if(?enableChisel2, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupChisel2'>
          <Description> Frequency multiplier for Chisel 2 Basalt distributions </Description>
          <DisplayName>Chisel 2 Basalt Freq.</DisplayName>
        </OptionNumeric>
        <OptionNumeric name='chslBasaltSize' default='1'  min='0' max='5' displayState=':= if(?enableChisel2, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupChisel2'>
          <Description> Size multiplier for Chisel 2 Basalt distributions </Description>
          <DisplayName>Chisel 2 Basalt Size</DisplayName>
        </OptionNumeric>
      </ConfigSection>
      <!-- Basalt Configuration UI Complete -->

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

    <IfCondition condition=':= ?enableChisel2'>




      <!-- Overworld Setup Beginning -->

      <IfCondition condition=':= ?COGActive'>

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

        <IfCondition condition=':= ?cleanUpChisel2'>
          <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>
              <Replaces block='chisel:basaltextra:7' weight='1.0' />
              <Replaces block='chisel:limestoneextra:7' weight='1.0' />
              <Replaces block='chisel:marbleextra:7' weight='1.0' />
            </Substitute>
          </IfCondition>
        </IfCondition>

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

        <!-- Adding blocks -->

        <!-- Begin Limestone Generation -->

        <!-- Starting StratumClouds Preset for Limestone. -->
        <ConfigSection>
          <IfCondition condition=':= chslLimestoneDist = "StratumClouds"'>
            <Cloud name='chslLimestoneCloud'  inherits='PresetStratum' drawWireframe=':= drawWireframes' wireframeColor='0x60A5A28F' drawBoundBox='false' boundBoxColor='0x60A5A28F'>
              <Description>
                Wide, thin, and flat disks of  ore.  Primarily, this
                distribution is meant to provide  realistic
                distribution of stone  in a strata formation.
              </Description>
              <OreBlock block='chisel:limestoneextra:7' weight='1.0' />
              <ReplacesOre block='stone' weight='1.0' />
              <Biome name='.*'  />
              <Setting name='CloudRadius' avg=':= 1.252 * _default_ * chslLimestoneSize ' range=':= 1.252 * _default_ * chslLimestoneSize ' type='normal' />
              <Setting name='CloudThickness' avg=':= 1.252 * _default_ * chslLimestoneSize ' range=':= 1.252 * _default_ * chslLimestoneSize ' type='normal' scaleTo='base' />
              <Setting name='DistributionFrequency' avg=':= 1.567 * _default_ * chslLimestoneFreq ' range=':= 1.567 * _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' />
            </Cloud>
          </IfCondition>
        </ConfigSection>
        <!-- StratumClouds Preset for Limestone is complete. -->


        <!-- Starting LayeredVeins Preset for Limestone. -->
        <ConfigSection>
          <IfCondition condition=':= chslLimestoneDist = "LayeredVeins"'>
            <Veins name='chslLimestoneVeins'  inherits='PresetLayeredVeins' branchType='Bezier' drawWireframe=':= drawWireframes' wireframeColor='0x60A5A28F' drawBoundBox='false' boundBoxColor='0x60A5A28F'>
              <Description>
                Small, fairly rare motherlodes  with 2-4 horizontal
                veins each.
              </Description>
              <OreBlock block='chisel:limestoneextra:7' weight='1.0' />
              <ReplacesOre block='stone' weight='1.0' />
              <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='SegmentPitch' 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 Vanilla Preset for Limestone. -->
        <ConfigSection>
          <IfCondition condition=':= chslLimestoneDist = "Vanilla"'>
            <StandardGen name='chslLimestoneStandard'  inherits='PresetStandardGen' drawWireframe=':= drawWireframes' wireframeColor='0x60A5A28F' drawBoundBox='false' boundBoxColor='0x60A5A28F'>
              <Description>
                A master preset for standardgen  ore distributions.
              </Description>
              <OreBlock block='chisel:limestoneextra:7' weight='1.0' />
              <ReplacesOre block='stone' weight='1.0' />
              <Biome name='.*'  />
              <Setting name='Size' avg=':= 14.667 * oreSize * chslLimestoneSize ' range=':= 7.33 * oreSize * chslLimestoneSize ' type='normal' />
              <Setting name='Frequency' avg=':= 5.333 * oreFreq * chslLimestoneFreq ' range=':= 2.67 * oreFreq * chslLimestoneFreq ' 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 Limestone is complete. -->

        <!-- End Limestone Generation -->


        <!-- Begin Marble Generation -->

        <!-- Starting StratumClouds Preset for Marble. -->
        <ConfigSection>
          <IfCondition condition=':= chslMarbleDist = "StratumClouds"'>
            <Cloud name='chslMarbleCloud'  inherits='PresetStratum' drawWireframe=':= drawWireframes' wireframeColor='0x60CECECE' drawBoundBox='false' boundBoxColor='0x60CECECE'>
              <Description>
                Wide, thin, and flat disks of  ore.  Primarily, this
                distribution is meant to provide  realistic
                distribution of stone  in a strata formation.
              </Description>
              <OreBlock block='chisel:marbleextra:7' weight='1.0' />
              <ReplacesOre block='stone' weight='1.0' />
              <Biome name='.*'  />
              <Setting name='CloudRadius' avg=':= 1.211 * _default_ * chslMarbleSize ' range=':= 1.211 * _default_ * chslMarbleSize ' type='normal' />
              <Setting name='CloudThickness' avg=':= 1.211 * _default_ * chslMarbleSize ' range=':= 1.211 * _default_ * chslMarbleSize ' type='normal' scaleTo='base' />
              <Setting name='DistributionFrequency' avg=':= 1.466 * _default_ * chslMarbleFreq ' range=':= 1.466 * _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' />
            </Cloud>
          </IfCondition>
        </ConfigSection>
        <!-- StratumClouds Preset for Marble is complete. -->


        <!-- Starting LayeredVeins Preset for Marble. -->
        <ConfigSection>
          <IfCondition condition=':= chslMarbleDist = "LayeredVeins"'>
            <Veins name='chslMarbleVeins'  inherits='PresetLayeredVeins' branchType='Bezier' drawWireframe=':= drawWireframes' wireframeColor='0x60CECECE' drawBoundBox='false' boundBoxColor='0x60CECECE'>
              <Description>
                Small, fairly rare motherlodes  with 2-4 horizontal
                veins each.
              </Description>
              <OreBlock block='chisel:marbleextra:7' weight='1.0' />
              <ReplacesOre block='stone' weight='1.0' />
              <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='SegmentPitch' 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 Vanilla Preset for Marble. -->
        <ConfigSection>
          <IfCondition condition=':= chslMarbleDist = "Vanilla"'>
            <StandardGen name='chslMarbleStandard'  inherits='PresetStandardGen' drawWireframe=':= drawWireframes' wireframeColor='0x60CECECE' drawBoundBox='false' boundBoxColor='0x60CECECE'>
              <Description>
                A master preset for standardgen  ore distributions.
              </Description>
              <OreBlock block='chisel:marbleextra:7' weight='1.0' />
              <ReplacesOre block='stone' weight='1.0' />
              <Biome name='.*'  />
              <Setting name='Size' avg=':= 14.667 * oreSize * chslMarbleSize ' range=':= 7.33 * oreSize * chslMarbleSize ' type='normal' />
              <Setting name='Frequency' avg=':= 4.667 * oreFreq * chslMarbleFreq ' range=':= 2.33 * oreFreq * chslMarbleFreq ' 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 Marble is complete. -->

        <!-- End Marble Generation -->


        <!-- Begin Basalt Generation -->

        <!-- Starting StratumClouds Preset for Basalt. -->
        <ConfigSection>
          <IfCondition condition=':= chslBasaltDist = "StratumClouds"'>
            <Cloud name='chslBasaltCloud'  inherits='PresetStratum' drawWireframe=':= drawWireframes' wireframeColor='0x60310402' drawBoundBox='false' boundBoxColor='0x60310402'>
              <Description>
                Wide, thin, and flat disks of  ore.  Primarily, this
                distribution is meant to provide  realistic
                distribution of stone  in a strata formation.
              </Description>
              <OreBlock block='chisel:basaltextra:7' weight='1.0' />
              <ReplacesOre block='stone' weight='1.0' />
              <Biome name='.*'  />
              <Setting name='CloudRadius' avg=':= 1.17 * _default_ * chslBasaltSize ' range=':= 1.17 * _default_ * chslBasaltSize ' type='normal' />
              <Setting name='CloudThickness' avg=':= 1.17 * _default_ * chslBasaltSize ' range=':= 1.17 * _default_ * chslBasaltSize ' type='normal' scaleTo='base' />
              <Setting name='DistributionFrequency' avg=':= 1.367 * _default_ * chslBasaltFreq ' range=':= 1.367 * _default_ * chslBasaltFreq ' 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' />
            </Cloud>
          </IfCondition>
        </ConfigSection>
        <!-- StratumClouds Preset for Basalt is complete. -->


        <!-- Starting LayeredVeins Preset for Basalt. -->
        <ConfigSection>
          <IfCondition condition=':= chslBasaltDist = "LayeredVeins"'>
            <Veins name='chslBasaltVeins'  inherits='PresetLayeredVeins' branchType='Bezier' drawWireframe=':= drawWireframes' wireframeColor='0x60310402' drawBoundBox='false' boundBoxColor='0x60310402'>
              <Description>
                Small, fairly rare motherlodes  with 2-4 horizontal
                veins each.
              </Description>
              <OreBlock block='chisel:basaltextra:7' weight='1.0' />
              <ReplacesOre block='stone' weight='1.0' />
              <Biome name='.*'  />
              <Setting name='MotherlodeFrequency' avg=':= 2 * _default_ * chslBasaltFreq ' range=':= 2 * _default_ * chslBasaltFreq ' type='normal' scaleTo='base' />
              <Setting name='MotherlodeSize' avg=':= 1.133 * _default_ * chslBasaltSize ' range=':= 1.133 * _default_ * chslBasaltSize ' 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.42 * _default_ ' range=':= 1.42 * _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_ * chslBasaltSize ' range=':= _default_ * chslBasaltSize ' type='normal' />
              <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
              <Setting name='SegmentPitch' avg=':= _default_ ' range=':= _default_ ' type='normal' />
              <Setting name='SegmentRadius' avg=':= 1.19 * _default_ * chslBasaltSize ' range=':= 1.19 * _default_ * chslBasaltSize ' 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 Basalt is complete. -->


        <!-- Starting Vanilla Preset for Basalt. -->
        <ConfigSection>
          <IfCondition condition=':= chslBasaltDist = "Vanilla"'>
            <StandardGen name='chslBasaltStandard'  inherits='PresetStandardGen' drawWireframe=':= drawWireframes' wireframeColor='0x60310402' drawBoundBox='false' boundBoxColor='0x60310402'>
              <Description>
                A master preset for standardgen  ore distributions.
              </Description>
              <OreBlock block='chisel:basaltextra:7' weight='1.0' />
              <ReplacesOre block='stone' weight='1.0' />
              <Biome name='.*'  />
              <Setting name='Size' avg=':= 14.667 * oreSize * chslBasaltSize ' range=':= 7.33 * oreSize * chslBasaltSize ' type='normal' />
              <Setting name='Frequency' avg=':= 4 * oreFreq * chslBasaltFreq ' range=':= 2 * oreFreq * chslBasaltFreq ' 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 Basalt is complete. -->

        <!-- End Basalt 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 Advanced 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
     ================================================================= -->
