<!-- =================================================================
     Custom Ore Generation "Dense Ores" Module: This configuration
     covers iron, gold, lapis, diamond, emerald, redstone, coal, and
     nether quartz.
     ================================================================= -->






<!-- Is the "Dense Ores" mod on the system?  Let's find out! -->
<IfModInstalled name="denseores">

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





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

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


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


            <!-- Lapis Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='dnsoLapisDist'  displayState=':= if(?enableDenseOres, "shown", "hidden")' displayGroup='groupDenseOres'>
                    <Description> Controls how Lapis is generated </Description>
                    <DisplayName>Dense Ores Lapis</DisplayName>
                    <Choice value='VerticalVeins' displayValue='Vertical Veins'>
                        <Description>
                            Single vertical veins that occur with no motherlodes.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Lapis is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='dnsoLapisFreq' default='1'  min='0' max='5' displayState=':= if(?enableDenseOres, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupDenseOres'>
                    <Description> Frequency multiplier for Dense Ores Lapis distributions </Description>
                    <DisplayName>Dense Ores Lapis Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='dnsoLapisSize' default='1'  min='0' max='5' displayState=':= if(?enableDenseOres, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupDenseOres'>
                    <Description> Size multiplier for Dense Ores Lapis distributions </Description>
                    <DisplayName>Dense Ores Lapis Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Lapis Configuration UI Complete -->


            <!-- Diamond Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='dnsoDiamondDist'  displayState=':= if(?enableDenseOres, "shown", "hidden")' displayGroup='groupDenseOres'>
                    <Description> Controls how Diamond is generated </Description>
                    <DisplayName>Dense Ores Diamond</DisplayName>
                    <Choice value='PipeVeins' displayValue='Pipe Veins'>
                        <Description>
                            Short and sparsely filled compound veins containing one material inside another.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Diamond is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='dnsoDiamondFreq' default='1'  min='0' max='5' displayState=':= if(?enableDenseOres, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupDenseOres'>
                    <Description> Frequency multiplier for Dense Ores Diamond distributions </Description>
                    <DisplayName>Dense Ores Diamond Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='dnsoDiamondSize' default='1'  min='0' max='5' displayState=':= if(?enableDenseOres, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupDenseOres'>
                    <Description> Size multiplier for Dense Ores Diamond distributions </Description>
                    <DisplayName>Dense Ores Diamond Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Diamond Configuration UI Complete -->


            <!-- Emerald Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='dnsoEmeraldDist'  displayState=':= if(?enableDenseOres, "shown", "hidden")' displayGroup='groupDenseOres'>
                    <Description> Controls how Emerald is generated </Description>
                    <DisplayName>Dense Ores Emerald</DisplayName>
                    <Choice value='PipeVeins' displayValue='Pipe Veins'>
                        <Description>
                            Short and sparsely filled compound veins containing one material inside another.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Emerald is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='dnsoEmeraldFreq' default='1'  min='0' max='5' displayState=':= if(?enableDenseOres, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupDenseOres'>
                    <Description> Frequency multiplier for Dense Ores Emerald distributions </Description>
                    <DisplayName>Dense Ores Emerald Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='dnsoEmeraldSize' default='1'  min='0' max='5' displayState=':= if(?enableDenseOres, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupDenseOres'>
                    <Description> Size multiplier for Dense Ores Emerald distributions </Description>
                    <DisplayName>Dense Ores Emerald Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Emerald Configuration UI Complete -->


            <!-- Redstone Configuration UI Starting -->
            <ConfigSection>
                <OptionChoice name='dnsoRedstoneDist'  displayState=':= if(?enableDenseOres, "shown", "hidden")' displayGroup='groupDenseOres'>
                    <Description> Controls how Redstone is generated </Description>
                    <DisplayName>Dense Ores Redstone</DisplayName>
                    <Choice value='VerticalVeins' displayValue='Vertical Veins'>
                        <Description>
                            Single vertical veins that occur with no motherlodes.
                        </Description>
                    </Choice>
                    <Choice value='Vanilla' displayValue='Vanilla'>
                        <Description>
                            Simulates Vanilla Minecraft.
                        </Description>
                    </Choice>
                    <Choice value='Cloud' displayValue='Strategic Cloud'>
                        <Description>
                            Large irregular clouds filled lightly with ore.
                        </Description>
                    </Choice>
                    <Choice value='none' displayValue='None' description='Redstone is not generated in the world.'/>
                </OptionChoice>
                <OptionNumeric name='dnsoRedstoneFreq' default='1'  min='0' max='5' displayState=':= if(?enableDenseOres, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupDenseOres'>
                    <Description> Frequency multiplier for Dense Ores Redstone distributions </Description>
                    <DisplayName>Dense Ores Redstone Freq.</DisplayName>
                </OptionNumeric>
                <OptionNumeric name='dnsoRedstoneSize' default='1'  min='0' max='5' displayState=':= if(?enableDenseOres, if(?advOptions, "shown", "hidden"), "hidden")' displayGroup='groupDenseOres'>
                    <Description> Size multiplier for Dense Ores Redstone distributions </Description>
                    <DisplayName>Dense Ores Redstone Size</DisplayName>
                </OptionNumeric>
            </ConfigSection>
            <!-- Redstone Configuration UI Complete -->


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


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

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

        <IfCondition condition=':= ?enableDenseOres'>




            <!-- Overworld Setup Beginning -->

            <IfCondition condition=':= ?COGActive'>

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

                <IfCondition condition=':= ?blockExists("minecraft:stone")'>
                    <Substitute name='dnsoOverworldBlockSubstitute0' 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("denseores:block0")'> <Replaces block='denseores:block0' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("denseores:block0:1")'> <Replaces block='denseores:block0:1' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("denseores:block0:2")'> <Replaces block='denseores:block0:2' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("denseores:block0:3")'> <Replaces block='denseores:block0:3' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("denseores:block0:4")'> <Replaces block='denseores:block0:4' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("denseores:block0:5")'> <Replaces block='denseores:block0:5' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("denseores:block0:6")'> <Replaces block='denseores:block0:6' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:coal_ore")'> <Replaces block='minecraft:coal_ore' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:diamond_ore")'> <Replaces block='minecraft:diamond_ore' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:emerald_ore")'> <Replaces block='minecraft:emerald_ore' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:gold_ore")'> <Replaces block='minecraft:gold_ore' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:iron_ore")'> <Replaces block='minecraft:iron_ore' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:lapis_ore")'> <Replaces block='minecraft:lapis_ore' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:redstone_ore")'> <Replaces block='minecraft:redstone_ore' weight='1.0' /> </IfCondition>
                    </Substitute>
                </IfCondition>

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

                <!-- Adding blocks -->

                <!-- Begin Iron Generation -->

                <!-- Starting LayeredVeins Preset for Iron. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoIronDist = "LayeredVeins"'>
                        <Veins name='dnsoIronVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60DDC2AF' drawBoundBox='false' boundBoxColor='0x60DDC2AF'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:iron_ore")'> <OreBlock block='minecraft:iron_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0")'> <OreBlock block='denseores:block0' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 1.583 * _default_ * dnsoIronFreq ' range=':= 1.583 * _default_ * dnsoIronFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 1.080 * _default_ * dnsoIronSize ' range=':= 1.080 * _default_ * dnsoIronSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 36 ' range=':= 31 ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 1.258 * _default_ ' range=':= 1.258 * _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_ * dnsoIronSize ' range=':= _default_ * dnsoIronSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.122 * _default_ * dnsoIronSize ' range=':= 1.122 * _default_ * dnsoIronSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Iron is complete. -->


                <!-- Starting Vanilla Preset for Iron. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoIronDist = "Vanilla"'>
                        <StandardGen name='dnsoIronStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60DDC2AF' drawBoundBox='false' boundBoxColor='0x60DDC2AF'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:iron_ore")'> <OreBlock block='minecraft:iron_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0")'> <OreBlock block='denseores:block0' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 8.000 * dnsoIronSize ' range=':= _default_ * dnsoIronSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 10.000 * dnsoIronFreq ' range=':= _default_ * dnsoIronFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 36 ' range=':= 31 ' type='normal' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Iron is complete. -->


                <!-- Starting Cloud Preset for Iron. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoIronDist = "Cloud"'>
                        <Cloud name='dnsoIronCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60DDC2AF' drawBoundBox='false' boundBoxColor='0x60DDC2AF'>
                            <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("minecraft:iron_ore")'> <OreBlock block='minecraft:iron_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0")'> <OreBlock block='denseores:block0' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 1.177 * _default_ * dnsoIronSize ' range=':= 1.177 * _default_ * dnsoIronSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 1.177 * _default_ * dnsoIronSize ' range=':= 1.177 * _default_ * dnsoIronSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 1.385 * _default_ * dnsoIronFreq ' range=':= 1.385 * _default_ * dnsoIronFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 36 ' range=':= 31 ' 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='dnsoIronHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60DDC2AF' drawBoundBox='false' boundBoxColor='0x60DDC2AF'>
                                <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("minecraft:iron_ore")'> <OreBlock block='minecraft:iron_ore' weight='0.9' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("denseores:block0")'> <OreBlock block='denseores:block0' weight='0.1' /> </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 Iron is complete. -->

                <!-- End Iron Generation -->


                <!-- Begin Gold Generation -->

                <!-- Starting LayeredVeins Preset for Gold. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoGoldDist = "LayeredVeins"'>
                        <Veins name='dnsoGoldVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60EAEF57' drawBoundBox='false' boundBoxColor='0x60EAEF57'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:gold_ore")'> <OreBlock block='minecraft:gold_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:1")'> <OreBlock block='denseores:block0:1' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.500 * _default_ * dnsoGoldFreq ' range=':= 0.500 * _default_ * dnsoGoldFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0.891 * _default_ * dnsoGoldSize ' range=':= 0.891 * _default_ * dnsoGoldSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 19 ' range=':= 14 ' 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.707 * _default_ ' range=':= 0.707 * _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_ * dnsoGoldSize ' range=':= _default_ * dnsoGoldSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.841 * _default_ * dnsoGoldSize ' range=':= 0.841 * _default_ * dnsoGoldSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Gold is complete. -->


                <!-- Starting Vanilla Preset for Gold. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoGoldDist = "Vanilla"'>
                        <StandardGen name='dnsoGoldStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60EAEF57' drawBoundBox='false' boundBoxColor='0x60EAEF57'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:gold_ore")'> <OreBlock block='minecraft:gold_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:1")'> <OreBlock block='denseores:block0:1' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 8.000 * dnsoGoldSize ' range=':= _default_ * dnsoGoldSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 1.000 * dnsoGoldFreq ' range=':= _default_ * dnsoGoldFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 19 ' range=':= 14 ' type='normal' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Gold is complete. -->


                <!-- Starting Cloud Preset for Gold. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoGoldDist = "Cloud"'>
                        <Cloud name='dnsoGoldCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60EAEF57' drawBoundBox='false' boundBoxColor='0x60EAEF57'>
                            <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("minecraft:gold_ore")'> <OreBlock block='minecraft:gold_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:1")'> <OreBlock block='denseores:block0:1' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.662 * _default_ * dnsoGoldSize ' range=':= 0.662 * _default_ * dnsoGoldSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.662 * _default_ * dnsoGoldSize ' range=':= 0.662 * _default_ * dnsoGoldSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.438 * _default_ * dnsoGoldFreq ' range=':= 0.438 * _default_ * dnsoGoldFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 19 ' range=':= 14 ' 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='dnsoGoldHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60EAEF57' drawBoundBox='false' boundBoxColor='0x60EAEF57'>
                                <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("minecraft:gold_ore")'> <OreBlock block='minecraft:gold_ore' weight='0.9' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("denseores:block0:1")'> <OreBlock block='denseores:block0:1' weight='0.1' /> </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 Gold is complete. -->

                <!-- End Gold Generation -->


                <!-- Begin Lapis Generation -->

                <!-- Starting VerticalVeins Preset for Lapis. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoLapisDist = "VerticalVeins"'>
                        <Veins name='dnsoLapisVeins'  inherits='PresetVerticalVeins' drawWireframe='true' wireframeColor='0x601442BA' drawBoundBox='false' boundBoxColor='0x601442BA'>
                            <Description>
                                Single vertical veins that occur  with
                                no motherlodes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:lapis_ore")'> <OreBlock block='minecraft:lapis_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:2")'> <OreBlock block='denseores:block0:2' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.787 * _default_ * dnsoLapisFreq ' range=':= 0.787 * _default_ * dnsoLapisFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * dnsoLapisSize ' range=':= 0 * _default_ * dnsoLapisSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 19 ' range=':= 14 ' 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=':= _default_ ' range=':= _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_ * dnsoLapisSize ' range=':= _default_ * dnsoLapisSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.887 * _default_ * dnsoLapisSize ' range=':= 0.887 * _default_ * dnsoLapisSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>

                        <!-- Beginning "Preferred" configuration. -->
                        <Veins name='dnsoLapisPreferredVeins'  inherits='PresetVerticalVeins' drawWireframe='true' wireframeColor='0x601442BA' drawBoundBox='false' boundBoxColor='0x601442BA'>
                            <Description>
                                Ore generation is doubled in
                                preferred biomes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:lapis_ore")'> <OreBlock block='minecraft:lapis_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:2")'> <OreBlock block='denseores:block0:2' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Ocean'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.787 * _default_ * dnsoLapisFreq ' range=':= 0.787 * _default_ * dnsoLapisFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * dnsoLapisSize ' range=':= 0 * _default_ * dnsoLapisSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 19 ' range=':= 14 ' 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=':= _default_ ' range=':= _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_ * dnsoLapisSize ' range=':= _default_ * dnsoLapisSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.887 * _default_ * dnsoLapisSize ' range=':= 0.887 * _default_ * dnsoLapisSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                        <!-- "Preferred" configuration complete. -->

                    </IfCondition>
                </ConfigSection>
                <!-- VerticalVeins Preset for Lapis is complete. -->


                <!-- Starting Vanilla Preset for Lapis. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoLapisDist = "Vanilla"'>
                        <StandardGen name='dnsoLapisStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x601442BA' drawBoundBox='false' boundBoxColor='0x601442BA'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:lapis_ore")'> <OreBlock block='minecraft:lapis_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:2")'> <OreBlock block='denseores:block0:2' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 6.000 * dnsoLapisSize ' range=':= _default_ * dnsoLapisSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 1.000 * dnsoLapisFreq ' range=':= _default_ * dnsoLapisFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 19 ' range=':= 14 ' type='normal' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Lapis is complete. -->


                <!-- Starting Cloud Preset for Lapis. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoLapisDist = "Cloud"'>
                        <Cloud name='dnsoLapisCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x601442BA' drawBoundBox='false' boundBoxColor='0x601442BA'>
                            <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("minecraft:lapis_ore")'> <OreBlock block='minecraft:lapis_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:2")'> <OreBlock block='denseores:block0:2' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.616 * _default_ * dnsoLapisSize ' range=':= 0.616 * _default_ * dnsoLapisSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.616 * _default_ * dnsoLapisSize ' range=':= 0.616 * _default_ * dnsoLapisSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.379 * _default_ * dnsoLapisFreq ' range=':= 0.379 * _default_ * dnsoLapisFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 19 ' range=':= 14 ' 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='dnsoLapisHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x601442BA' drawBoundBox='false' boundBoxColor='0x601442BA'>
                                <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("minecraft:lapis_ore")'> <OreBlock block='minecraft:lapis_ore' weight='0.9' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("denseores:block0:2")'> <OreBlock block='denseores:block0:2' weight='0.1' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>

                        <!-- Beginning "Preferred" configuration. -->
                        <Cloud name='dnsoLapisPreferredCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x601442BA' drawBoundBox='false' boundBoxColor='0x601442BA'>
                            <Description>
                                Ore generation is doubled in
                                preferred biomes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:lapis_ore")'> <OreBlock block='minecraft:lapis_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:2")'> <OreBlock block='denseores:block0:2' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Ocean'  />
                            <Setting name='CloudRadius' avg=':= 0.616 * _default_ * dnsoLapisSize ' range=':= 0.616 * _default_ * dnsoLapisSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.616 * _default_ * dnsoLapisSize ' range=':= 0.616 * _default_ * dnsoLapisSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.379 * _default_ * dnsoLapisFreq ' range=':= 0.379 * _default_ * dnsoLapisFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 19 ' range=':= 14 ' 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='dnsoLapisPreferredHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x601442BA' drawBoundBox='false' boundBoxColor='0x601442BA'>
                                <Description>
                                    Ore generation is doubled in
                                    preferred biomes.
                                </Description>
                                <IfCondition condition=':= ?blockExists("minecraft:lapis_ore")'> <OreBlock block='minecraft:lapis_ore' weight='0.9' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("denseores:block0:2")'> <OreBlock block='denseores:block0:2' weight='0.1' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                        <!-- "Preferred" configuration complete. -->

                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Lapis is complete. -->

                <!-- End Lapis Generation -->


                <!-- Begin Diamond Generation -->

                <!-- Starting PipeVeins Preset for Diamond. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoDiamondDist = "PipeVeins"'>
                        <Veins name='dnsoDiamondVeins'  inherits='PresetPipeVeins' seed='0x197B' drawWireframe='true' wireframeColor='0x608BF4E3' drawBoundBox='false' boundBoxColor='0x608BF4E3'>
                            <Description>
                                Short sparsely filled veins  sloping
                                up from near the bottom  of the map.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:diamond_ore")'> <OreBlock block='minecraft:diamond_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:3")'> <OreBlock block='denseores:block0:3' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.505 * _default_ * dnsoDiamondFreq ' range=':= 0.505 * _default_ * dnsoDiamondFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * dnsoDiamondSize ' range=':= 0 * _default_ * dnsoDiamondSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 10 ' range=':= 5 ' 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.711 * _default_ ' range=':= 0.711 * _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_ * dnsoDiamondSize ' range=':= _default_ * dnsoDiamondSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.843 * _default_ * dnsoDiamondSize ' range=':= 0.843 * _default_ * dnsoDiamondSize ' 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='dnsoDiamondVeinsPipe'  inherits='dnsoDiamondVeins' seed='0x197B' drawWireframe='true' wireframeColor='0x608BF4E3' drawBoundBox='false' boundBoxColor='0x608BF4E3'>
                            <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("minecraft:diamond_ore")'> <Replaces block='minecraft:diamond_ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:3")'> <Replaces block='denseores:block0:3' weight='1.0' /> </IfCondition>
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * dnsoDiamondSize  * 0.5 ' range=':= 0 * _default_ * dnsoDiamondSize  * 0.5 ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.843 * _default_ * dnsoDiamondSize  * 0.5 ' range=':= 0.843 * _default_ * dnsoDiamondSize  * 0.5 ' type='normal' />
                            <Setting name='OreDensity' avg=':= 1.0 ' range=':= 0 ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- PipeVeins Preset for Diamond is complete. -->


                <!-- Starting Vanilla Preset for Diamond. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoDiamondDist = "Vanilla"'>
                        <StandardGen name='dnsoDiamondStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x608BF4E3' drawBoundBox='false' boundBoxColor='0x608BF4E3'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:diamond_ore")'> <OreBlock block='minecraft:diamond_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:3")'> <OreBlock block='denseores:block0:3' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 7.000 * dnsoDiamondSize ' range=':= _default_ * dnsoDiamondSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 0.500 * dnsoDiamondFreq ' range=':= _default_ * dnsoDiamondFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 10 ' range=':= 5 ' type='normal' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Diamond is complete. -->


                <!-- Starting Cloud Preset for Diamond. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoDiamondDist = "Cloud"'>
                        <Cloud name='dnsoDiamondCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x608BF4E3' drawBoundBox='false' boundBoxColor='0x608BF4E3'>
                            <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("minecraft:diamond_ore")'> <OreBlock block='minecraft:diamond_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:3")'> <OreBlock block='denseores:block0:3' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.538 * _default_ * dnsoDiamondSize ' range=':= 0.538 * _default_ * dnsoDiamondSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.538 * _default_ * dnsoDiamondSize ' range=':= 0.538 * _default_ * dnsoDiamondSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.290 * _default_ * dnsoDiamondFreq ' range=':= 0.290 * _default_ * dnsoDiamondFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 10 ' range=':= 5 ' 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='dnsoDiamondHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x608BF4E3' drawBoundBox='false' boundBoxColor='0x608BF4E3'>
                                <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("minecraft:diamond_ore")'> <OreBlock block='minecraft:diamond_ore' weight='0.9' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("denseores:block0:3")'> <OreBlock block='denseores:block0:3' weight='0.1' /> </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 Diamond is complete. -->

                <!-- End Diamond Generation -->


                <!-- Begin Emerald Generation -->

                <!-- Starting PipeVeins Preset for Emerald. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoEmeraldDist = "PipeVeins"'>
                        <Veins name='dnsoEmeraldVeins'  inherits='PresetPipeVeins' seed='0x81E5' drawWireframe='true' wireframeColor='0x606CE391' drawBoundBox='false' boundBoxColor='0x606CE391'>
                            <Description>
                                Short sparsely filled veins  sloping
                                up from near the bottom  of the map.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:emerald_ore")'> <OreBlock block='minecraft:emerald_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:4")'> <OreBlock block='denseores:block0:4' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Mountain'  />
                            <Setting name='MotherlodeFrequency' avg=':= 0.121 * _default_ * dnsoEmeraldFreq ' range=':= 0.121 * _default_ * dnsoEmeraldFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * dnsoEmeraldSize ' range=':= 0 * _default_ * dnsoEmeraldSize ' 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.347 * _default_ ' range=':= 0.347 * _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_ * dnsoEmeraldSize ' range=':= _default_ * dnsoEmeraldSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.589 * _default_ * dnsoEmeraldSize ' range=':= 0.589 * _default_ * dnsoEmeraldSize ' 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='dnsoEmeraldVeinsPipe'  inherits='dnsoEmeraldVeins' seed='0x81E5' drawWireframe='true' wireframeColor='0x606CE391' drawBoundBox='false' boundBoxColor='0x606CE391'>
                            <IfCondition condition=':= ?blockExists("minecraft:monster_egg")'> <OreBlock block='minecraft:monster_egg' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:emerald_ore")'> <Replaces block='minecraft:emerald_ore' weight='1.0' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:4")'> <Replaces block='denseores:block0:4' weight='1.0' /> </IfCondition>
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * dnsoEmeraldSize  * 0.5 ' range=':= 0 * _default_ * dnsoEmeraldSize  * 0.5 ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 0.589 * _default_ * dnsoEmeraldSize  * 0.5 ' range=':= 0.589 * _default_ * dnsoEmeraldSize  * 0.5 ' type='normal' />
                            <Setting name='OreDensity' avg=':= 1.0 ' range=':= 0 ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- PipeVeins Preset for Emerald is complete. -->


                <!-- Starting Vanilla Preset for Emerald. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoEmeraldDist = "Vanilla"'>
                        <StandardGen name='dnsoEmeraldStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x606CE391' drawBoundBox='false' boundBoxColor='0x606CE391'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:emerald_ore")'> <OreBlock block='minecraft:emerald_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:4")'> <OreBlock block='denseores:block0:4' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Mountain'  />
                            <Setting name='Size' avg=':= 1.000 * dnsoEmeraldSize ' range=':= _default_ * dnsoEmeraldSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 0.200 * dnsoEmeraldFreq ' range=':= _default_ * dnsoEmeraldFreq ' 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 Emerald is complete. -->


                <!-- Starting Cloud Preset for Emerald. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoEmeraldDist = "Cloud"'>
                        <Cloud name='dnsoEmeraldCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x606CE391' drawBoundBox='false' boundBoxColor='0x606CE391'>
                            <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("minecraft:emerald_ore")'> <OreBlock block='minecraft:emerald_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:4")'> <OreBlock block='denseores:block0:4' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Mountain'  />
                            <Setting name='CloudRadius' avg=':= 0.263 * _default_ * dnsoEmeraldSize ' range=':= 0.263 * _default_ * dnsoEmeraldSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.263 * _default_ * dnsoEmeraldSize ' range=':= 0.263 * _default_ * dnsoEmeraldSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.069 * _default_ * dnsoEmeraldFreq ' range=':= 0.069 * _default_ * dnsoEmeraldFreq ' 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='dnsoEmeraldHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x606CE391' drawBoundBox='false' boundBoxColor='0x606CE391'>
                                <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("minecraft:emerald_ore")'> <OreBlock block='minecraft:emerald_ore' weight='0.9' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("denseores:block0:4")'> <OreBlock block='denseores:block0:4' weight='0.1' /> </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 Emerald is complete. -->

                <!-- End Emerald Generation -->


                <!-- Begin Redstone Generation -->

                <!-- Starting VerticalVeins Preset for Redstone. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoRedstoneDist = "VerticalVeins"'>
                        <Veins name='dnsoRedstoneVeins'  inherits='PresetVerticalVeins' drawWireframe='true' wireframeColor='0x60A80002' drawBoundBox='false' boundBoxColor='0x60A80002'>
                            <Description>
                                Single vertical veins that occur  with
                                no motherlodes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:redstone_ore")'> <OreBlock block='minecraft:redstone_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:5")'> <OreBlock block='denseores:block0:5' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 1.575 * _default_ * dnsoRedstoneFreq ' range=':= 1.575 * _default_ * dnsoRedstoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * dnsoRedstoneSize ' range=':= 0 * _default_ * dnsoRedstoneSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 10 ' range=':= 5 ' 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=':= _default_ ' range=':= _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_ * dnsoRedstoneSize ' range=':= _default_ * dnsoRedstoneSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.255 * _default_ * dnsoRedstoneSize ' range=':= 1.255 * _default_ * dnsoRedstoneSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>

                        <!-- Beginning "Preferred" configuration. -->
                        <Veins name='dnsoRedstonePreferredVeins'  inherits='PresetVerticalVeins' drawWireframe='true' wireframeColor='0x60A80002' drawBoundBox='false' boundBoxColor='0x60A80002'>
                            <Description>
                                Ore generation is doubled in
                                preferred biomes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:redstone_ore")'> <OreBlock block='minecraft:redstone_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:5")'> <OreBlock block='denseores:block0:5' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Desert'  />
                            <Setting name='MotherlodeFrequency' avg=':= 1.575 * _default_ * dnsoRedstoneFreq ' range=':= 1.575 * _default_ * dnsoRedstoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * dnsoRedstoneSize ' range=':= 0 * _default_ * dnsoRedstoneSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 10 ' range=':= 5 ' 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=':= _default_ ' range=':= _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_ * dnsoRedstoneSize ' range=':= _default_ * dnsoRedstoneSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.255 * _default_ * dnsoRedstoneSize ' range=':= 1.255 * _default_ * dnsoRedstoneSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                        <!-- "Preferred" configuration complete. -->

                    </IfCondition>
                </ConfigSection>
                <!-- VerticalVeins Preset for Redstone is complete. -->


                <!-- Starting Vanilla Preset for Redstone. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoRedstoneDist = "Vanilla"'>
                        <StandardGen name='dnsoRedstoneStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60A80002' drawBoundBox='false' boundBoxColor='0x60A80002'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:redstone_ore")'> <OreBlock block='minecraft:redstone_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:5")'> <OreBlock block='denseores:block0:5' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 6.000 * dnsoRedstoneSize ' range=':= _default_ * dnsoRedstoneSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 4.000 * dnsoRedstoneFreq ' range=':= _default_ * dnsoRedstoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 10 ' range=':= 5 ' type='normal' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Redstone is complete. -->


                <!-- Starting Cloud Preset for Redstone. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoRedstoneDist = "Cloud"'>
                        <Cloud name='dnsoRedstoneCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60A80002' drawBoundBox='false' boundBoxColor='0x60A80002'>
                            <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("minecraft:redstone_ore")'> <OreBlock block='minecraft:redstone_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:5")'> <OreBlock block='denseores:block0:5' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 0.871 * _default_ * dnsoRedstoneSize ' range=':= 0.871 * _default_ * dnsoRedstoneSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.871 * _default_ * dnsoRedstoneSize ' range=':= 0.871 * _default_ * dnsoRedstoneSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.758 * _default_ * dnsoRedstoneFreq ' range=':= 0.758 * _default_ * dnsoRedstoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 10 ' range=':= 5 ' 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='dnsoRedstoneHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60A80002' drawBoundBox='false' boundBoxColor='0x60A80002'>
                                <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("minecraft:redstone_ore")'> <OreBlock block='minecraft:redstone_ore' weight='0.9' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("denseores:block0:5")'> <OreBlock block='denseores:block0:5' weight='0.1' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>

                        <!-- Beginning "Preferred" configuration. -->
                        <Cloud name='dnsoRedstonePreferredCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60A80002' drawBoundBox='false' boundBoxColor='0x60A80002'>
                            <Description>
                                Ore generation is doubled in
                                preferred biomes.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:redstone_ore")'> <OreBlock block='minecraft:redstone_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:5")'> <OreBlock block='denseores:block0:5' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <BiomeType name='Desert'  />
                            <Setting name='CloudRadius' avg=':= 0.871 * _default_ * dnsoRedstoneSize ' range=':= 0.871 * _default_ * dnsoRedstoneSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 0.871 * _default_ * dnsoRedstoneSize ' range=':= 0.871 * _default_ * dnsoRedstoneSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 0.758 * _default_ * dnsoRedstoneFreq ' range=':= 0.758 * _default_ * dnsoRedstoneFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 10 ' range=':= 5 ' 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='dnsoRedstonePreferredHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60A80002' drawBoundBox='false' boundBoxColor='0x60A80002'>
                                <Description>
                                    Ore generation is doubled in
                                    preferred biomes.
                                </Description>
                                <IfCondition condition=':= ?blockExists("minecraft:redstone_ore")'> <OreBlock block='minecraft:redstone_ore' weight='0.9' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("denseores:block0:5")'> <OreBlock block='denseores:block0:5' weight='0.1' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                            </Veins>
                        </Cloud>
                        <!-- "Preferred" configuration complete. -->

                    </IfCondition>
                </ConfigSection>
                <!-- Cloud Preset for Redstone is complete. -->

                <!-- End Redstone Generation -->


                <!-- Begin Coal Generation -->

                <!-- Starting SparseVeins Preset for Coal. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoCoalDist = "SparseVeins"'>
                        <Veins name='dnsoCoalVeins'  inherits='PresetSparseVeins' drawWireframe='true' wireframeColor='0x602A2A2A' drawBoundBox='false' boundBoxColor='0x602A2A2A'>
                            <Description>
                                Large veins filled very lightly  with
                                ore.  Because they contain  less ore
                                per volume, these veins  are
                                relatively wide and long.  Mining the
                                ore from them is time  consuming
                                compared to solid ore  veins.  They
                                are also more  difficult to follow,
                                since it is  harder to get an idea of
                                their  direction while mining.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:coal_ore")'> <OreBlock block='minecraft:coal_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:6")'> <OreBlock block='denseores:block0:6' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 5.198 * _default_ * dnsoCoalFreq ' range=':= 5.198 * _default_ * dnsoCoalFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * dnsoCoalSize ' range=':= 0 * _default_ * dnsoCoalSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 68 ' range=':= 63 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 2.280 * _default_ ' range=':= 2.280 * _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_ * dnsoCoalSize ' range=':= _default_ * dnsoCoalSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.510 * _default_ * dnsoCoalSize ' range=':= 1.510 * _default_ * dnsoCoalSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- SparseVeins Preset for Coal is complete. -->


                <!-- Starting Cloud Preset for Coal. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoCoalDist = "Cloud"'>
                        <Cloud name='dnsoCoalCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x602A2A2A' drawBoundBox='false' boundBoxColor='0x602A2A2A'>
                            <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("minecraft:coal_ore")'> <OreBlock block='minecraft:coal_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:6")'> <OreBlock block='denseores:block0:6' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 1.363 * _default_ * dnsoCoalSize ' range=':= 1.363 * _default_ * dnsoCoalSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 1.363 * _default_ * dnsoCoalSize ' range=':= 1.363 * _default_ * dnsoCoalSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 1.858 * _default_ * dnsoCoalFreq ' range=':= 1.858 * _default_ * dnsoCoalFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 68 ' range=':= 63 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='dnsoCoalHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x602A2A2A' drawBoundBox='false' boundBoxColor='0x602A2A2A'>
                                <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("minecraft:coal_ore")'> <OreBlock block='minecraft:coal_ore' weight='0.9' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("denseores:block0:6")'> <OreBlock block='denseores:block0:6' weight='0.1' /> </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 Coal is complete. -->


                <!-- Starting Vanilla Preset for Coal. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoCoalDist = "Vanilla"'>
                        <StandardGen name='dnsoCoalStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x602A2A2A' drawBoundBox='false' boundBoxColor='0x602A2A2A'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:coal_ore")'> <OreBlock block='minecraft:coal_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:6")'> <OreBlock block='denseores:block0:6' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 16.000 * dnsoCoalSize ' range=':= _default_ * dnsoCoalSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 9.000 * dnsoCoalFreq ' range=':= _default_ * dnsoCoalFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 68 ' range=':= 63 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Coal is complete. -->


                <!-- Starting Cloud Preset for Coal. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoCoalDist = "Cloud"'>
                        <Cloud name='dnsoCoalCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x602A2A2A' drawBoundBox='false' boundBoxColor='0x602A2A2A'>
                            <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("minecraft:coal_ore")'> <OreBlock block='minecraft:coal_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:6")'> <OreBlock block='denseores:block0:6' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 1.363 * _default_ * dnsoCoalSize ' range=':= 1.363 * _default_ * dnsoCoalSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 1.363 * _default_ * dnsoCoalSize ' range=':= 1.363 * _default_ * dnsoCoalSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 1.858 * _default_ * dnsoCoalFreq ' range=':= 1.858 * _default_ * dnsoCoalFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 68 ' range=':= 63 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='dnsoCoalHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x602A2A2A' drawBoundBox='false' boundBoxColor='0x602A2A2A'>
                                <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("minecraft:coal_ore")'> <OreBlock block='minecraft:coal_ore' weight='0.9' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("denseores:block0:6")'> <OreBlock block='denseores:block0:6' weight='0.1' /> </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 Coal is complete. -->

                <!-- End Coal Generation -->

                <!-- Finished adding blocks -->

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





            <!-- Nether Setup Beginning -->

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

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

                <IfCondition condition=':= ?blockExists("minecraft:netherrack")'>
                    <Substitute name='dnsoNetherBlockSubstitute0' block='minecraft:netherrack'>
                        <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("denseores:block0:7")'> <Replaces block='denseores:block0:7' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:quartz_ore")'> <Replaces block='minecraft:quartz_ore' weight='1.0' /> </IfCondition>
                    </Substitute>
                </IfCondition>

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

                <!-- Adding blocks -->

                <!-- Begin Nether Quartz Generation -->

                <!-- Starting LayeredVeins Preset for Nether Quartz. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoNetherQuartzDist = "LayeredVeins"'>
                        <Veins name='dnsoNetherQuartzVeins'  inherits='PresetLayeredVeins' drawWireframe='true' wireframeColor='0x60DBCCBF' drawBoundBox='false' boundBoxColor='0x60DBCCBF'>
                            <Description>
                                Small, fairly rare motherlodes  with
                                2-4 horizontal veins each.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:quartz_ore")'> <OreBlock block='minecraft:quartz_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:7")'> <OreBlock block='denseores:block0:7' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:netherrack")'> <Replaces block='minecraft:netherrack' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='MotherlodeFrequency' avg=':= 6.247 * _default_ * dnsoNetherQuartzFreq ' range=':= 6.247 * _default_ * dnsoNetherQuartzFreq ' type='normal' scaleTo='base' />
                            <Setting name='MotherlodeSize' avg=':= 0 * _default_ * dnsoNetherQuartzSize ' range=':= 0 * _default_ * dnsoNetherQuartzSize ' type='normal' />
                            <Setting name='MotherlodeHeight' avg=':= 68 ' range=':= 52 ' type='uniform' scaleTo='base' />
                            <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='BranchLength' avg=':= 2.499 * _default_ ' range=':= 2.499 * _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_ * dnsoNetherQuartzSize ' range=':= _default_ * dnsoNetherQuartzSize ' type='normal' />
                            <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='SegmentRadius' avg=':= 1.581 * _default_ * dnsoNetherQuartzSize ' range=':= 1.581 * _default_ * dnsoNetherQuartzSize ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </Veins>
                    </IfCondition>
                </ConfigSection>
                <!-- LayeredVeins Preset for Nether Quartz is
                     complete. -->


                <!-- Starting Vanilla Preset for Nether Quartz. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoNetherQuartzDist = "Vanilla"'>
                        <StandardGen name='dnsoNetherQuartzStandard'  inherits='PresetStandardGen' drawWireframe='true' wireframeColor='0x60DBCCBF' drawBoundBox='false' boundBoxColor='0x60DBCCBF'>
                            <Description>
                                A master preset for standardgen  ore
                                distributions.
                            </Description>
                            <IfCondition condition=':= ?blockExists("minecraft:quartz_ore")'> <OreBlock block='minecraft:quartz_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:7")'> <OreBlock block='denseores:block0:7' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:netherrack")'> <Replaces block='minecraft:netherrack' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='Size' avg=':= 13.000 * dnsoNetherQuartzSize ' range=':= _default_ * dnsoNetherQuartzSize ' type='normal' />
                            <Setting name='Frequency' avg=':= 16.000 * dnsoNetherQuartzFreq ' range=':= _default_ * dnsoNetherQuartzFreq ' type='normal' scaleTo='base' />
                            <Setting name='Height' avg=':= 68 ' range=':= 52 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                        </StandardGen>
                    </IfCondition>
                </ConfigSection>
                <!-- Vanilla Preset for Nether Quartz is complete. -->


                <!-- Starting Cloud Preset for Nether Quartz. -->
                <ConfigSection>
                    <IfCondition condition=':= dnsoNetherQuartzDist = "Cloud"'>
                        <Cloud name='dnsoNetherQuartzCloud'  inherits='PresetStrategicCloud' drawWireframe='true' wireframeColor='0x60DBCCBF' drawBoundBox='false' boundBoxColor='0x60DBCCBF'>
                            <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("minecraft:quartz_ore")'> <OreBlock block='minecraft:quartz_ore' weight='0.9' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("denseores:block0:7")'> <OreBlock block='denseores:block0:7' weight='0.1' /> </IfCondition>
                            <IfCondition condition=':= ?blockExists("minecraft:netherrack")'> <Replaces block='minecraft:netherrack' weight='1.0' /> </IfCondition>
                            <Biome name='.*'  />
                            <Setting name='CloudRadius' avg=':= 1.494 * _default_ * dnsoNetherQuartzSize ' range=':= 1.494 * _default_ * dnsoNetherQuartzSize ' type='normal' />
                            <Setting name='CloudThickness' avg=':= 1.494 * _default_ * dnsoNetherQuartzSize ' range=':= 1.494 * _default_ * dnsoNetherQuartzSize ' type='normal' scaleTo='base' />
                            <Setting name='DistributionFrequency' avg=':= 2.233 * _default_ * dnsoNetherQuartzFreq ' range=':= 2.233 * _default_ * dnsoNetherQuartzFreq ' type='normal' scaleTo='base' />
                            <Setting name='CloudHeight' avg=':= 68 ' range=':= 52 ' type='uniform' scaleTo='base' />
                            <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                            <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                            <Veins name='dnsoNetherQuartzHintVeins'  inherits='PresetHintVeins' drawWireframe='true' wireframeColor='0x60DBCCBF' drawBoundBox='false' boundBoxColor='0x60DBCCBF'>
                                <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("minecraft:quartz_ore")'> <OreBlock block='minecraft:quartz_ore' weight='0.9' /> </IfCondition>
                                <IfCondition condition=':= ?blockExists("denseores:block0:7")'> <OreBlock block='denseores:block0:7' weight='0.1' /> </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 Nether Quartz is complete. -->

                <!-- End Nether Quartz Generation -->

                <!-- Finished adding blocks -->

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


        </IfCondition>

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

</IfModInstalled>
<!-- The "Dense Ores" 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
     ================================================================= -->
