<!-- =================================================================
     Custom Ore Generation "Biomes O Plenty" Module: This
     configuration covers enderamathyst, ruby, peridot, topaz,
     tanzanite, malachite, sapphire, and amber.
     ================================================================= -->






<!-- Is the "Biomes O Plenty" mod on the system?  Let's find out! -->
<IfModInstalled name="BiomesOPlenty">

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





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

            <!-- EnderAmathyst Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='boplEnderAmathystDist'  displayState=':= if(?enableBiomesOPlenty, "shown", "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Controls how EnderAmathyst is generated </Description>
                    <DisplayName>Biomes O Plenty EnderAmathyst</DisplayName>
                    <Choice value='PipeVeins' displayValue='Pipe Veins'>
                        <Description>
                            Short and sparsely filled compound veins containing one material inside another.
                        </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='EnderAmathyst is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='boplEnderAmathystFreq' default='1'  min='0' max='5' displayState=':= if(?enableBiomesOPlenty, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Frequency multiplier for Biomes O Plenty EnderAmathyst distributions </Description>
                    <DisplayName>Biomes O Plenty EnderAmathyst Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='boplEnderAmathystSize' default='1'  min='0' max='5' displayState=':= if(?enableBiomesOPlenty, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Size multiplier for Biomes O Plenty EnderAmathyst distributions </Description>
                    <DisplayName>Biomes O Plenty EnderAmathyst Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- EnderAmathyst Configuration UI Complete -->


            <!-- Ruby Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='boplRubyDist'  displayState=':= if(?enableBiomesOPlenty, "shown", "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Controls how Ruby is generated </Description>
                    <DisplayName>Biomes O Plenty Ruby</DisplayName>
                    <Choice value='PipeVeins' displayValue='Pipe Veins'>
                        <Description>
                            Short and sparsely filled compound veins containing one material inside another.
                        </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='Ruby is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='boplRubyFreq' default='1'  min='0' max='5' displayState=':= if(?enableBiomesOPlenty, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Frequency multiplier for Biomes O Plenty Ruby distributions </Description>
                    <DisplayName>Biomes O Plenty Ruby Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='boplRubySize' default='1'  min='0' max='5' displayState=':= if(?enableBiomesOPlenty, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Size multiplier for Biomes O Plenty Ruby distributions </Description>
                    <DisplayName>Biomes O Plenty Ruby Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Ruby Configuration UI Complete -->


            <!-- Peridot Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='boplPeridotDist'  displayState=':= if(?enableBiomesOPlenty, "shown", "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Controls how Peridot is generated </Description>
                    <DisplayName>Biomes O Plenty Peridot</DisplayName>
                    <Choice value='PipeVeins' displayValue='Pipe Veins'>
                        <Description>
                            Short and sparsely filled compound veins containing one material inside another.
                        </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='Peridot is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='boplPeridotFreq' default='1'  min='0' max='5' displayState=':= if(?enableBiomesOPlenty, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Frequency multiplier for Biomes O Plenty Peridot distributions </Description>
                    <DisplayName>Biomes O Plenty Peridot Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='boplPeridotSize' default='1'  min='0' max='5' displayState=':= if(?enableBiomesOPlenty, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Size multiplier for Biomes O Plenty Peridot distributions </Description>
                    <DisplayName>Biomes O Plenty Peridot Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Peridot Configuration UI Complete -->


            <!-- Topaz Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='boplTopazDist'  displayState=':= if(?enableBiomesOPlenty, "shown", "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Controls how Topaz is generated </Description>
                    <DisplayName>Biomes O Plenty Topaz</DisplayName>
                    <Choice value='PipeVeins' displayValue='Pipe Veins'>
                        <Description>
                            Short and sparsely filled compound veins containing one material inside another.
                        </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='Topaz is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='boplTopazFreq' default='1'  min='0' max='5' displayState=':= if(?enableBiomesOPlenty, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Frequency multiplier for Biomes O Plenty Topaz distributions </Description>
                    <DisplayName>Biomes O Plenty Topaz Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='boplTopazSize' default='1'  min='0' max='5' displayState=':= if(?enableBiomesOPlenty, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Size multiplier for Biomes O Plenty Topaz distributions </Description>
                    <DisplayName>Biomes O Plenty Topaz Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Topaz Configuration UI Complete -->


            <!-- Tanzanite Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='boplTanzaniteDist'  displayState=':= if(?enableBiomesOPlenty, "shown", "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Controls how Tanzanite is generated </Description>
                    <DisplayName>Biomes O Plenty Tanzanite</DisplayName>
                    <Choice value='PipeVeins' displayValue='Pipe Veins'>
                        <Description>
                            Short and sparsely filled compound veins containing one material inside another.
                        </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='Tanzanite is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='boplTanzaniteFreq' default='1'  min='0' max='5' displayState=':= if(?enableBiomesOPlenty, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Frequency multiplier for Biomes O Plenty Tanzanite distributions </Description>
                    <DisplayName>Biomes O Plenty Tanzanite Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='boplTanzaniteSize' default='1'  min='0' max='5' displayState=':= if(?enableBiomesOPlenty, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Size multiplier for Biomes O Plenty Tanzanite distributions </Description>
                    <DisplayName>Biomes O Plenty Tanzanite Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Tanzanite Configuration UI Complete -->


            <!-- Malachite Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='boplMalachiteDist'  displayState=':= if(?enableBiomesOPlenty, "shown", "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Controls how Malachite is generated </Description>
                    <DisplayName>Biomes O Plenty Malachite</DisplayName>
                    <Choice value='PipeVeins' displayValue='Pipe Veins'>
                        <Description>
                            Short and sparsely filled compound veins containing one material inside another.
                        </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='Malachite is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='boplMalachiteFreq' default='1'  min='0' max='5' displayState=':= if(?enableBiomesOPlenty, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Frequency multiplier for Biomes O Plenty Malachite distributions </Description>
                    <DisplayName>Biomes O Plenty Malachite Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='boplMalachiteSize' default='1'  min='0' max='5' displayState=':= if(?enableBiomesOPlenty, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Size multiplier for Biomes O Plenty Malachite distributions </Description>
                    <DisplayName>Biomes O Plenty Malachite Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Malachite Configuration UI Complete -->


            <!-- Sapphire Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='boplSapphireDist'  displayState=':= if(?enableBiomesOPlenty, "shown", "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Controls how Sapphire is generated </Description>
                    <DisplayName>Biomes O Plenty Sapphire</DisplayName>
                    <Choice value='PipeVeins' displayValue='Pipe Veins'>
                        <Description>
                            Short and sparsely filled compound veins containing one material inside another.
                        </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='Sapphire is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='boplSapphireFreq' default='1'  min='0' max='5' displayState=':= if(?enableBiomesOPlenty, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Frequency multiplier for Biomes O Plenty Sapphire distributions </Description>
                    <DisplayName>Biomes O Plenty Sapphire Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='boplSapphireSize' default='1'  min='0' max='5' displayState=':= if(?enableBiomesOPlenty, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Size multiplier for Biomes O Plenty Sapphire distributions </Description>
                    <DisplayName>Biomes O Plenty Sapphire Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Sapphire Configuration UI Complete -->


            <!-- Amber Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='boplAmberDist'  displayState=':= if(?enableBiomesOPlenty, "shown", "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Controls how Amber is generated </Description>
                    <DisplayName>Biomes O Plenty Amber</DisplayName>
                    <Choice value='PipeVeins' displayValue='Pipe Veins'>
                        <Description>
                            Short and sparsely filled compound veins containing one material inside another.
                        </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 is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='boplAmberFreq' default='1'  min='0' max='5' displayState=':= if(?enableBiomesOPlenty, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Frequency multiplier for Biomes O Plenty Amber distributions </Description>
                    <DisplayName>Biomes O Plenty Amber Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='boplAmberSize' default='1'  min='0' max='5' displayState=':= if(?enableBiomesOPlenty, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupBiomesOPlenty'>
                    <Description> Size multiplier for Biomes O Plenty Amber distributions </Description>
                    <DisplayName>Biomes O Plenty Amber Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Amber Configuration UI Complete -->

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

        <IfCondition condition=':= ?enableBiomesOPlenty'>




            <!-- Overworld Setup Beginning -->

            <IfCondition condition=':= ?COGActive'>

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

                <IfCondition condition=':= ?blockExists("minecraft:stone")'>
                    <Substitute name='boplOverworldBlockSubstitute0' 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("BiomesOPlenty:gemOre:10")'> <Replaces block='BiomesOPlenty:gemOre:10' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:12")'> <Replaces block='BiomesOPlenty:gemOre:12' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:14")'> <Replaces block='BiomesOPlenty:gemOre:14' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:2")'> <Replaces block='BiomesOPlenty:gemOre:2' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:4")'> <Replaces block='BiomesOPlenty:gemOre:4' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:6")'> <Replaces block='BiomesOPlenty:gemOre:6' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:8")'> <Replaces block='BiomesOPlenty:gemOre:8' weight='1.0' /> </IfCondition>
                    </Substitute>
                </IfCondition>

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

                <!-- Adding blocks -->

                <!-- Begin Ruby Generation -->

                <!-- Starting PipeVeins Preset for Ruby. -->
                <ConfigSection>
                    <IfCondition condition=':= boplRubyDist = "PipeVeins"'>
                        <Veins name='boplRubyVeins'  inherits='PresetPipeVeins' seed='0x706D' drawWireframe='true' wireframeColor='0x60C60031' drawBoundBox='false' boundBoxColor='0x60C60031'>
                            <Description>
                                Short sparsely filled veins  sloping
                                up from near the bottom  of the map.
                            </Description>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:2")'> <OreBlock block='BiomesOPlenty:gemOre: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.270 * _default_ * boplRubyFreq ' range=':= 0.270 * _default_ * boplRubyFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * boplRubySize ' range=':= 0 * _default_ * boplRubySize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 19 ' range=':= 13 ' 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=':= 0.520 * _default_ ' range=':= 0.520 * _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_ * boplRubySize ' range=':= _default_ * boplRubySize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.721 * _default_ * boplRubySize ' range=':= 0.721 * _default_ * boplRubySize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>

                        <!-- Configuring contained material. -->
                        <Veins name='boplRubyVeinsPipe'  inherits='boplRubyVeins' seed='0x706D' drawWireframe='true' wireframeColor='0x60C60031' drawBoundBox='false' boundBoxColor='0x60C60031'>
                            <IfCondition condition=':= ?blockExists("minecraft:lava")'> <OreBlock block='minecraft:lava' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:2")'> <Replaces block='BiomesOPlenty:gemOre:2' weight='1.0' /> </IfCondition>
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * boplRubySize  * 0.5 ' range=':= 0 * _default_ * boplRubySize  * 0.5 ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.721 * _default_ * boplRubySize  * 0.5 ' range=':= 0.721 * _default_ * boplRubySize  * 0.5 ' type='normal' />
                            <Setting name='OreDensity' avg=':= 1.0 ' range=':= 0 ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- PipeVeins Preset for Ruby is complete. -->


                <!-- Starting Cloud Preset for Ruby. -->
                <ConfigSection>
                    <IfCondition condition=':= boplRubyDist = "Cloud"'>
                        <Cloud name='boplRubyCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60C60031' drawBoundBox='false' boundBoxColor='0x60C60031'>
                            <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("BiomesOPlenty:gemOre:2")'> <OreBlock block='BiomesOPlenty:gemOre: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.393 * _default_ * boplRubySize ' range=':= 0.393 * _default_ * boplRubySize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.393 * _default_ * boplRubySize ' range=':= 0.393 * _default_ * boplRubySize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.155 * _default_ * boplRubyFreq ' range=':= 0.155 * _default_ * boplRubyFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 19 ' range=':= 13 ' 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='boplRubyHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60C60031' drawBoundBox='false' boundBoxColor='0x60C60031'>
                                <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("BiomesOPlenty:gemOre:2")'> <OreBlock block='BiomesOPlenty:gemOre: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>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Ruby is complete. -->


                <!-- Starting Vanilla Preset for Ruby. -->
                <ConfigSection>
                    <IfCondition condition=':= boplRubyDist = "Vanilla"'>
                        <StandardGen name='boplRubyStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60C60031' drawBoundBox='false' boundBoxColor='0x60C60031'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:2")'> <OreBlock block='BiomesOPlenty:gemOre:2' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Desert'  />
                            <Setting name='Size' avg=':= 1 * boplRubySize ' range=':= _default_ * boplRubySize ' type='normal' />
                            <Setting name='Frequency' avg=':= 1 * boplRubyFreq ' range=':= _default_ * boplRubyFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 19 ' range=':= 13 ' type='normal' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Ruby is complete. -->

                <!-- End Ruby Generation -->


                <!-- Begin Peridot Generation -->

                <!-- Starting PipeVeins Preset for Peridot. -->
                <ConfigSection>
                    <IfCondition condition=':= boplPeridotDist = "PipeVeins"'>
                        <Veins name='boplPeridotVeins'  inherits='PresetPipeVeins' seed='0xA6AC' drawWireframe='true' wireframeColor='0x60076855' drawBoundBox='false' boundBoxColor='0x60076855'>
                            <Description>
                                Short sparsely filled veins  sloping
                                up from near the bottom  of the map.
                            </Description>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:4")'> <OreBlock block='BiomesOPlenty:gemOre:4' 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.270 * _default_ * boplPeridotFreq ' range=':= 0.270 * _default_ * boplPeridotFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * boplPeridotSize ' range=':= 0 * _default_ * boplPeridotSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 19 ' range=':= 13 ' 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=':= 0.520 * _default_ ' range=':= 0.520 * _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_ * boplPeridotSize ' range=':= _default_ * boplPeridotSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.721 * _default_ * boplPeridotSize ' range=':= 0.721 * _default_ * boplPeridotSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>

                        <!-- Configuring contained material. -->
                        <Veins name='boplPeridotVeinsPipe'  inherits='boplPeridotVeins' seed='0xA6AC' drawWireframe='true' wireframeColor='0x60076855' drawBoundBox='false' boundBoxColor='0x60076855'>
                            <IfCondition condition=':= ?blockExists("minecraft:lava")'> <OreBlock block='minecraft:lava' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:4")'> <Replaces block='BiomesOPlenty:gemOre:4' weight='1.0' /> </IfCondition>
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * boplPeridotSize  * 0.5 ' range=':= 0 * _default_ * boplPeridotSize  * 0.5 ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.721 * _default_ * boplPeridotSize  * 0.5 ' range=':= 0.721 * _default_ * boplPeridotSize  * 0.5 ' type='normal' />
                            <Setting name='OreDensity' avg=':= 1.0 ' range=':= 0 ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- PipeVeins Preset for Peridot is complete. -->


                <!-- Starting Cloud Preset for Peridot. -->
                <ConfigSection>
                    <IfCondition condition=':= boplPeridotDist = "Cloud"'>
                        <Cloud name='boplPeridotCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60076855' drawBoundBox='false' boundBoxColor='0x60076855'>
                            <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("BiomesOPlenty:gemOre:4")'> <OreBlock block='BiomesOPlenty:gemOre:4' 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.393 * _default_ * boplPeridotSize ' range=':= 0.393 * _default_ * boplPeridotSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.393 * _default_ * boplPeridotSize ' range=':= 0.393 * _default_ * boplPeridotSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.155 * _default_ * boplPeridotFreq ' range=':= 0.155 * _default_ * boplPeridotFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 19 ' range=':= 13 ' 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='boplPeridotHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60076855' drawBoundBox='false' boundBoxColor='0x60076855'>
                                <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("BiomesOPlenty:gemOre:4")'> <OreBlock block='BiomesOPlenty:gemOre: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>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Peridot is complete. -->


                <!-- Starting Vanilla Preset for Peridot. -->
                <ConfigSection>
                    <IfCondition condition=':= boplPeridotDist = "Vanilla"'>
                        <StandardGen name='boplPeridotStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60076855' drawBoundBox='false' boundBoxColor='0x60076855'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:4")'> <OreBlock block='BiomesOPlenty:gemOre:4' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Plains'  />
                            <Setting name='Size' avg=':= 1 * boplPeridotSize ' range=':= _default_ * boplPeridotSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 1 * boplPeridotFreq ' range=':= _default_ * boplPeridotFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 19 ' range=':= 13 ' type='normal' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Peridot is complete. -->

                <!-- End Peridot Generation -->


                <!-- Begin Topaz Generation -->

                <!-- Starting PipeVeins Preset for Topaz. -->
                <ConfigSection>
                    <IfCondition condition=':= boplTopazDist = "PipeVeins"'>
                        <Veins name='boplTopazVeins'  inherits='PresetPipeVeins' seed='0xB7E1' drawWireframe='true' wireframeColor='0x60D95A03' drawBoundBox='false' boundBoxColor='0x60D95A03'>
                            <Description>
                                Short sparsely filled veins  sloping
                                up from near the bottom  of the map.
                            </Description>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:6")'> <OreBlock block='BiomesOPlenty:gemOre:6' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Jungle'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.270 * _default_ * boplTopazFreq ' range=':= 0.270 * _default_ * boplTopazFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * boplTopazSize ' range=':= 0 * _default_ * boplTopazSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 19 ' range=':= 13 ' 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=':= 0.520 * _default_ ' range=':= 0.520 * _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_ * boplTopazSize ' range=':= _default_ * boplTopazSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.721 * _default_ * boplTopazSize ' range=':= 0.721 * _default_ * boplTopazSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>

                        <!-- Configuring contained material. -->
                        <Veins name='boplTopazVeinsPipe'  inherits='boplTopazVeins' seed='0xB7E1' drawWireframe='true' wireframeColor='0x60D95A03' drawBoundBox='false' boundBoxColor='0x60D95A03'>
                            <IfCondition condition=':= ?blockExists("minecraft:lava")'> <OreBlock block='minecraft:lava' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:6")'> <Replaces block='BiomesOPlenty:gemOre:6' weight='1.0' /> </IfCondition>
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * boplTopazSize  * 0.5 ' range=':= 0 * _default_ * boplTopazSize  * 0.5 ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.721 * _default_ * boplTopazSize  * 0.5 ' range=':= 0.721 * _default_ * boplTopazSize  * 0.5 ' type='normal' />
                            <Setting name='OreDensity' avg=':= 1.0 ' range=':= 0 ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- PipeVeins Preset for Topaz is complete. -->


                <!-- Starting Cloud Preset for Topaz. -->
                <ConfigSection>
                    <IfCondition condition=':= boplTopazDist = "Cloud"'>
                        <Cloud name='boplTopazCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60D95A03' drawBoundBox='false' boundBoxColor='0x60D95A03'>
                            <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("BiomesOPlenty:gemOre:6")'> <OreBlock block='BiomesOPlenty:gemOre:6' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Jungle'  />
                            <Setting name='CloudRadius' avg=':= 0.393 * _default_ * boplTopazSize ' range=':= 0.393 * _default_ * boplTopazSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.393 * _default_ * boplTopazSize ' range=':= 0.393 * _default_ * boplTopazSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.155 * _default_ * boplTopazFreq ' range=':= 0.155 * _default_ * boplTopazFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 19 ' range=':= 13 ' 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='boplTopazHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60D95A03' drawBoundBox='false' boundBoxColor='0x60D95A03'>
                                <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("BiomesOPlenty:gemOre:6")'> <OreBlock block='BiomesOPlenty:gemOre: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>
                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Topaz is complete. -->


                <!-- Starting Vanilla Preset for Topaz. -->
                <ConfigSection>
                    <IfCondition condition=':= boplTopazDist = "Vanilla"'>
                        <StandardGen name='boplTopazStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60D95A03' drawBoundBox='false' boundBoxColor='0x60D95A03'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:6")'> <OreBlock block='BiomesOPlenty:gemOre:6' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Jungle'  />
                            <Setting name='Size' avg=':= 1 * boplTopazSize ' range=':= _default_ * boplTopazSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 1 * boplTopazFreq ' range=':= _default_ * boplTopazFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 19 ' range=':= 13 ' type='normal' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Topaz is complete. -->

                <!-- End Topaz Generation -->


                <!-- Begin Tanzanite Generation -->

                <!-- Starting PipeVeins Preset for Tanzanite. -->
                <ConfigSection>
                    <IfCondition condition=':= boplTanzaniteDist = "PipeVeins"'>
                        <Veins name='boplTanzaniteVeins'  inherits='PresetPipeVeins' seed='0xA51A' drawWireframe='true' wireframeColor='0x607701B9' drawBoundBox='false' boundBoxColor='0x607701B9'>
                            <Description>
                                Short sparsely filled veins  sloping
                                up from near the bottom  of the map.
                            </Description>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:8")'> <OreBlock block='BiomesOPlenty:gemOre:8' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Frozen'  />
                            <Biome name='Alps'  weight='-1' />
                            <Biome name='Alps Forest'  weight='-1' />
                            <Setting name='MotherlodeFrequency' avg=':= 0.270 * _default_ * boplTanzaniteFreq ' range=':= 0.270 * _default_ * boplTanzaniteFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * boplTanzaniteSize ' range=':= 0 * _default_ * boplTanzaniteSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 19 ' range=':= 13 ' 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=':= 0.520 * _default_ ' range=':= 0.520 * _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_ * boplTanzaniteSize ' range=':= _default_ * boplTanzaniteSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.721 * _default_ * boplTanzaniteSize ' range=':= 0.721 * _default_ * boplTanzaniteSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>

                        <!-- Configuring contained material. -->
                        <Veins name='boplTanzaniteVeinsPipe'  inherits='boplTanzaniteVeins' seed='0xA51A' drawWireframe='true' wireframeColor='0x607701B9' drawBoundBox='false' boundBoxColor='0x607701B9'>
                            <IfCondition condition=':= ?blockExists("minecraft:lava")'> <OreBlock block='minecraft:lava' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:8")'> <Replaces block='BiomesOPlenty:gemOre:8' weight='1.0' /> </IfCondition>
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * boplTanzaniteSize  * 0.5 ' range=':= 0 * _default_ * boplTanzaniteSize  * 0.5 ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.721 * _default_ * boplTanzaniteSize  * 0.5 ' range=':= 0.721 * _default_ * boplTanzaniteSize  * 0.5 ' type='normal' />
                            <Setting name='OreDensity' avg=':= 1.0 ' range=':= 0 ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- PipeVeins Preset for Tanzanite is complete. -->


                <!-- Starting Cloud Preset for Tanzanite. -->
                <ConfigSection>
                    <IfCondition condition=':= boplTanzaniteDist = "Cloud"'>
                        <Cloud name='boplTanzaniteCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x607701B9' drawBoundBox='false' boundBoxColor='0x607701B9'>
                            <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("BiomesOPlenty:gemOre:8")'> <OreBlock block='BiomesOPlenty:gemOre:8' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Frozen'  />
                            <Biome name='Alps'  weight='-1' />
                            <Biome name='Alps Forest'  weight='-1' />
                            <Setting name='CloudRadius' avg=':= 0.393 * _default_ * boplTanzaniteSize ' range=':= 0.393 * _default_ * boplTanzaniteSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.393 * _default_ * boplTanzaniteSize ' range=':= 0.393 * _default_ * boplTanzaniteSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.155 * _default_ * boplTanzaniteFreq ' range=':= 0.155 * _default_ * boplTanzaniteFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 19 ' range=':= 13 ' 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='boplTanzaniteHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x607701B9' drawBoundBox='false' boundBoxColor='0x607701B9'>
                                <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("BiomesOPlenty:gemOre:8")'> <OreBlock block='BiomesOPlenty:gemOre:8' 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 Tanzanite is complete. -->


                <!-- Starting Vanilla Preset for Tanzanite. -->
                <ConfigSection>
                    <IfCondition condition=':= boplTanzaniteDist = "Vanilla"'>
                        <StandardGen name='boplTanzaniteStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x607701B9' drawBoundBox='false' boundBoxColor='0x607701B9'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:8")'> <OreBlock block='BiomesOPlenty:gemOre:8' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Frozen'  />
                            <Biome name='Alps'  weight='-1' />
                            <Biome name='Alps Forest'  weight='-1' />
                            <Setting name='Size' avg=':= 1 * boplTanzaniteSize ' range=':= _default_ * boplTanzaniteSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 1 * boplTanzaniteFreq ' range=':= _default_ * boplTanzaniteFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 19 ' range=':= 13 ' type='normal' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Tanzanite is complete. -->

                <!-- End Tanzanite Generation -->


                <!-- Begin Malachite Generation -->

                <!-- Starting PipeVeins Preset for Malachite. -->
                <ConfigSection>
                    <IfCondition condition=':= boplMalachiteDist = "PipeVeins"'>
                        <Veins name='boplMalachiteVeins'  inherits='PresetPipeVeins' seed='0x5A38' drawWireframe='true' wireframeColor='0x60109D81' drawBoundBox='false' boundBoxColor='0x60109D81'>
                            <Description>
                                Short sparsely filled veins  sloping
                                up from near the bottom  of the map.
                            </Description>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:10")'> <OreBlock block='BiomesOPlenty:gemOre:10' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Swamp'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.270 * _default_ * boplMalachiteFreq ' range=':= 0.270 * _default_ * boplMalachiteFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * boplMalachiteSize ' range=':= 0 * _default_ * boplMalachiteSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 19 ' range=':= 13 ' 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=':= 0.520 * _default_ ' range=':= 0.520 * _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_ * boplMalachiteSize ' range=':= _default_ * boplMalachiteSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.721 * _default_ * boplMalachiteSize ' range=':= 0.721 * _default_ * boplMalachiteSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>

                        <!-- Configuring contained material. -->
                        <Veins name='boplMalachiteVeinsPipe'  inherits='boplMalachiteVeins' seed='0x5A38' drawWireframe='true' wireframeColor='0x60109D81' drawBoundBox='false' boundBoxColor='0x60109D81'>
                            <IfCondition condition=':= ?blockExists("minecraft:lava")'> <OreBlock block='minecraft:lava' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:10")'> <Replaces block='BiomesOPlenty:gemOre:10' weight='1.0' /> </IfCondition>
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * boplMalachiteSize  * 0.5 ' range=':= 0 * _default_ * boplMalachiteSize  * 0.5 ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.721 * _default_ * boplMalachiteSize  * 0.5 ' range=':= 0.721 * _default_ * boplMalachiteSize  * 0.5 ' type='normal' />
                            <Setting name='OreDensity' avg=':= 1.0 ' range=':= 0 ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- PipeVeins Preset for Malachite is complete. -->


                <!-- Starting Cloud Preset for Malachite. -->
                <ConfigSection>
                    <IfCondition condition=':= boplMalachiteDist = "Cloud"'>
                        <Cloud name='boplMalachiteCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60109D81' drawBoundBox='false' boundBoxColor='0x60109D81'>
                            <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("BiomesOPlenty:gemOre:10")'> <OreBlock block='BiomesOPlenty:gemOre:10' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Swamp'  />
                            <Setting name='CloudRadius' avg=':= 0.393 * _default_ * boplMalachiteSize ' range=':= 0.393 * _default_ * boplMalachiteSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.393 * _default_ * boplMalachiteSize ' range=':= 0.393 * _default_ * boplMalachiteSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.155 * _default_ * boplMalachiteFreq ' range=':= 0.155 * _default_ * boplMalachiteFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 19 ' range=':= 13 ' 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='boplMalachiteHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60109D81' drawBoundBox='false' boundBoxColor='0x60109D81'>
                                <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("BiomesOPlenty:gemOre:10")'> <OreBlock block='BiomesOPlenty:gemOre:10' 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 Malachite is complete. -->


                <!-- Starting Vanilla Preset for Malachite. -->
                <ConfigSection>
                    <IfCondition condition=':= boplMalachiteDist = "Vanilla"'>
                        <StandardGen name='boplMalachiteStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60109D81' drawBoundBox='false' boundBoxColor='0x60109D81'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:10")'> <OreBlock block='BiomesOPlenty:gemOre:10' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Swamp'  />
                            <Setting name='Size' avg=':= 1 * boplMalachiteSize ' range=':= _default_ * boplMalachiteSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 1 * boplMalachiteFreq ' range=':= _default_ * boplMalachiteFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 19 ' range=':= 13 ' type='normal' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Malachite is complete. -->

                <!-- End Malachite Generation -->


                <!-- Begin Sapphire Generation -->

                <!-- Starting PipeVeins Preset for Sapphire. -->
                <ConfigSection>
                    <IfCondition condition=':= boplSapphireDist = "PipeVeins"'>
                        <Veins name='boplSapphireVeins'  inherits='PresetPipeVeins' seed='0x7474' drawWireframe='true' wireframeColor='0x603494C3' drawBoundBox='false' boundBoxColor='0x603494C3'>
                            <Description>
                                Short sparsely filled veins  sloping
                                up from near the bottom  of the map.
                            </Description>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:12")'> <OreBlock block='BiomesOPlenty:gemOre:12' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='Coral Reef'  />
                            <Biome name='Crag'  />
                            <Biome name='Hot Springs'  />
                            <Biome name='Kelp Forest'  />
                            <Biome name='Mangrove'  />
                            <Biome name='Sacred Springs'  />
                            <Biome name='Tropics'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.270 * _default_ * boplSapphireFreq ' range=':= 0.270 * _default_ * boplSapphireFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * boplSapphireSize ' range=':= 0 * _default_ * boplSapphireSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 19 ' range=':= 13 ' 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=':= 0.520 * _default_ ' range=':= 0.520 * _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_ * boplSapphireSize ' range=':= _default_ * boplSapphireSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.721 * _default_ * boplSapphireSize ' range=':= 0.721 * _default_ * boplSapphireSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>

                        <!-- Configuring contained material. -->
                        <Veins name='boplSapphireVeinsPipe'  inherits='boplSapphireVeins' seed='0x7474' drawWireframe='true' wireframeColor='0x603494C3' drawBoundBox='false' boundBoxColor='0x603494C3'>
                            <IfCondition condition=':= ?blockExists("minecraft:lava")'> <OreBlock block='minecraft:lava' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:12")'> <Replaces block='BiomesOPlenty:gemOre:12' weight='1.0' /> </IfCondition>
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * boplSapphireSize  * 0.5 ' range=':= 0 * _default_ * boplSapphireSize  * 0.5 ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.721 * _default_ * boplSapphireSize  * 0.5 ' range=':= 0.721 * _default_ * boplSapphireSize  * 0.5 ' type='normal' />
                            <Setting name='OreDensity' avg=':= 1.0 ' range=':= 0 ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- PipeVeins Preset for Sapphire is complete. -->


                <!-- Starting Cloud Preset for Sapphire. -->
                <ConfigSection>
                    <IfCondition condition=':= boplSapphireDist = "Cloud"'>
                        <Cloud name='boplSapphireCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x603494C3' drawBoundBox='false' boundBoxColor='0x603494C3'>
                            <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("BiomesOPlenty:gemOre:12")'> <OreBlock block='BiomesOPlenty:gemOre:12' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='Coral Reef'  />
                            <Biome name='Crag'  />
                            <Biome name='Hot Springs'  />
                            <Biome name='Kelp Forest'  />
                            <Biome name='Mangrove'  />
                            <Biome name='Sacred Springs'  />
                            <Biome name='Tropics'  />
                            <Setting name='CloudRadius' avg=':= 0.393 * _default_ * boplSapphireSize ' range=':= 0.393 * _default_ * boplSapphireSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.393 * _default_ * boplSapphireSize ' range=':= 0.393 * _default_ * boplSapphireSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.155 * _default_ * boplSapphireFreq ' range=':= 0.155 * _default_ * boplSapphireFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 19 ' range=':= 13 ' 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='boplSapphireHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x603494C3' drawBoundBox='false' boundBoxColor='0x603494C3'>
                                <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("BiomesOPlenty:gemOre:12")'> <OreBlock block='BiomesOPlenty:gemOre:12' 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 Sapphire is complete. -->


                <!-- Starting Vanilla Preset for Sapphire. -->
                <ConfigSection>
                    <IfCondition condition=':= boplSapphireDist = "Vanilla"'>
                        <StandardGen name='boplSapphireStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x603494C3' drawBoundBox='false' boundBoxColor='0x603494C3'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:12")'> <OreBlock block='BiomesOPlenty:gemOre:12' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='Coral Reef'  />
                            <Biome name='Crag'  />
                            <Biome name='Hot Springs'  />
                            <Biome name='Kelp Forest'  />
                            <Biome name='Mangrove'  />
                            <Biome name='Sacred Springs'  />
                            <Biome name='Tropics'  />
                            <Setting name='Size' avg=':= 1 * boplSapphireSize ' range=':= _default_ * boplSapphireSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 1 * boplSapphireFreq ' range=':= _default_ * boplSapphireFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 19 ' range=':= 13 ' type='normal' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Sapphire is complete. -->

                <!-- End Sapphire Generation -->


                <!-- Begin Amber Generation -->

                <!-- Starting PipeVeins Preset for Amber. -->
                <ConfigSection>
                    <IfCondition condition=':= boplAmberDist = "PipeVeins"'>
                        <Veins name='boplAmberVeins'  inherits='PresetPipeVeins' seed='0x1FEF' drawWireframe='true' wireframeColor='0x60FE9D1B' drawBoundBox='false' boundBoxColor='0x60FE9D1B'>
                            <Description>
                                Short sparsely filled veins  sloping
                                up from near the bottom  of the map.
                            </Description>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:14")'> <OreBlock block='BiomesOPlenty:gemOre:14' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='River'  />
                            <Biome name='Grove'  />
                            <Biome name='Shield'  />
                            <Biome name='Thicket'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.270 * _default_ * boplAmberFreq ' range=':= 0.270 * _default_ * boplAmberFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * boplAmberSize ' range=':= 0 * _default_ * boplAmberSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 19 ' range=':= 13 ' 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=':= 0.520 * _default_ ' range=':= 0.520 * _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_ * boplAmberSize ' range=':= _default_ * boplAmberSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.721 * _default_ * boplAmberSize ' range=':= 0.721 * _default_ * boplAmberSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>

                        <!-- Configuring contained material. -->
                        <Veins name='boplAmberVeinsPipe'  inherits='boplAmberVeins' seed='0x1FEF' drawWireframe='true' wireframeColor='0x60FE9D1B' drawBoundBox='false' boundBoxColor='0x60FE9D1B'>
                            <IfCondition condition=':= ?blockExists("minecraft:lava")'> <OreBlock block='minecraft:lava' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:14")'> <Replaces block='BiomesOPlenty:gemOre:14' weight='1.0' /> </IfCondition>
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * boplAmberSize  * 0.5 ' range=':= 0 * _default_ * boplAmberSize  * 0.5 ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.721 * _default_ * boplAmberSize  * 0.5 ' range=':= 0.721 * _default_ * boplAmberSize  * 0.5 ' type='normal' />
                            <Setting name='OreDensity' avg=':= 1.0 ' range=':= 0 ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- PipeVeins Preset for Amber is complete. -->


                <!-- Starting Cloud Preset for Amber. -->
                <ConfigSection>
                    <IfCondition condition=':= boplAmberDist = "Cloud"'>
                        <Cloud name='boplAmberCloud'  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("BiomesOPlenty:gemOre:14")'> <OreBlock block='BiomesOPlenty:gemOre:14' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='River'  />
                            <Biome name='Grove'  />
                            <Biome name='Shield'  />
                            <Biome name='Thicket'  />
                            <Setting name='CloudRadius' avg=':= 0.393 * _default_ * boplAmberSize ' range=':= 0.393 * _default_ * boplAmberSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.393 * _default_ * boplAmberSize ' range=':= 0.393 * _default_ * boplAmberSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.155 * _default_ * boplAmberFreq ' range=':= 0.155 * _default_ * boplAmberFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 19 ' range=':= 13 ' 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='boplAmberHintVeins'  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("BiomesOPlenty:gemOre:14")'> <OreBlock block='BiomesOPlenty:gemOre:14' 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 is complete. -->


                <!-- Starting Vanilla Preset for Amber. -->
                <ConfigSection>
                    <IfCondition condition=':= boplAmberDist = "Vanilla"'>
                        <StandardGen name='boplAmberStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60FE9D1B' drawBoundBox='false' boundBoxColor='0x60FE9D1B'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre:14")'> <OreBlock block='BiomesOPlenty:gemOre:14' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='River'  />
                            <Biome name='Grove'  />
                            <Biome name='Shield'  />
                            <Biome name='Thicket'  />
                            <Setting name='Size' avg=':= 1 * boplAmberSize ' range=':= _default_ * boplAmberSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 1 * boplAmberFreq ' range=':= _default_ * boplAmberFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 19 ' range=':= 13 ' type='normal' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Amber is complete. -->

                <!-- End Amber Generation -->

                <!-- Finished adding blocks -->

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






            <!-- End Setup Beginning -->

            <IfCondition condition=':= dimension.generator = "EndRandomLevelSource"'>

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

                <IfCondition condition=':= ?blockExists("minecraft:stone")'>
                    <Substitute name='boplEndBlockSubstitute0' 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("BiomesOPlenty:gemOre")'> <Replaces block='BiomesOPlenty:gemOre' weight='1.0' /> </IfCondition>
                    </Substitute>
                </IfCondition>

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

                <!-- Adding blocks -->

                <!-- Begin EnderAmathyst Generation -->

                <!-- Starting PipeVeins Preset for EnderAmathyst. -->
                <ConfigSection>
                    <IfCondition condition=':= boplEnderAmathystDist = "PipeVeins"'>
                        <Veins name='boplEnderAmathystVeins'  inherits='PresetPipeVeins' seed='0x58D8' drawWireframe='true' wireframeColor='0x60DD4EEA' drawBoundBox='false' boundBoxColor='0x60DD4EEA'>
                            <Description>
                                Short sparsely filled veins  sloping
                                up from near the bottom  of the map.
                            </Description>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre")'> <OreBlock block='BiomesOPlenty:gemOre' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.270 * _default_ * boplEnderAmathystFreq ' range=':= 0.270 * _default_ * boplEnderAmathystFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * boplEnderAmathystSize ' range=':= 0 * _default_ * boplEnderAmathystSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 19 ' range=':= 13 ' 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=':= 0.520 * _default_ ' range=':= 0.520 * _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_ * boplEnderAmathystSize ' range=':= _default_ * boplEnderAmathystSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.721 * _default_ * boplEnderAmathystSize ' range=':= 0.721 * _default_ * boplEnderAmathystSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>

                        <!-- Configuring contained material. -->
                        <Veins name='boplEnderAmathystVeinsPipe'  inherits='boplEnderAmathystVeins' seed='0x58D8' drawWireframe='true' wireframeColor='0x60DD4EEA' drawBoundBox='false' boundBoxColor='0x60DD4EEA'>
                            <IfCondition condition=':= ?blockExists("minecraft:lava")'> <OreBlock block='minecraft:lava' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre")'> <Replaces block='BiomesOPlenty:gemOre' weight='1.0' /> </IfCondition>
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * boplEnderAmathystSize  * 0.5 ' range=':= 0 * _default_ * boplEnderAmathystSize  * 0.5 ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.721 * _default_ * boplEnderAmathystSize  * 0.5 ' range=':= 0.721 * _default_ * boplEnderAmathystSize  * 0.5 ' type='normal' />
                            <Setting name='OreDensity' avg=':= 1.0 ' range=':= 0 ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- PipeVeins Preset for EnderAmathyst is complete. -->


                <!-- Starting Cloud Preset for EnderAmathyst. -->
                <ConfigSection>
                    <IfCondition condition=':= boplEnderAmathystDist = "Cloud"'>
                        <Cloud name='boplEnderAmathystCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60DD4EEA' drawBoundBox='false' boundBoxColor='0x60DD4EEA'>
                            <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("BiomesOPlenty:gemOre")'> <OreBlock block='BiomesOPlenty:gemOre' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.393 * _default_ * boplEnderAmathystSize ' range=':= 0.393 * _default_ * boplEnderAmathystSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.393 * _default_ * boplEnderAmathystSize ' range=':= 0.393 * _default_ * boplEnderAmathystSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.155 * _default_ * boplEnderAmathystFreq ' range=':= 0.155 * _default_ * boplEnderAmathystFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 19 ' range=':= 13 ' 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='boplEnderAmathystHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60DD4EEA' drawBoundBox='false' boundBoxColor='0x60DD4EEA'>
                                <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("BiomesOPlenty:gemOre")'> <OreBlock block='BiomesOPlenty:gemOre' 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 EnderAmathyst is complete. -->


                <!-- Starting Vanilla Preset for EnderAmathyst. -->
                <ConfigSection>
                    <IfCondition condition=':= boplEnderAmathystDist = "Vanilla"'>
                        <StandardGen name='boplEnderAmathystStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60DD4EEA' drawBoundBox='false' boundBoxColor='0x60DD4EEA'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("BiomesOPlenty:gemOre")'> <OreBlock block='BiomesOPlenty:gemOre' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 1 * boplEnderAmathystSize ' range=':= _default_ * boplEnderAmathystSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 1 * boplEnderAmathystFreq ' range=':= _default_ * boplEnderAmathystFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 19 ' range=':= 13 ' type='normal' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for EnderAmathyst is complete. -->

                <!-- End EnderAmathyst Generation -->

                <!-- Finished adding blocks -->

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

        </IfCondition>

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

</IfModInstalled>
<!-- The "Biomes O Plenty" 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
     ================================================================= -->
