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


<!-- This is a set of configurations for vanilla minecraft. -->




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





    <!-- Setup Screen Configuration -->
    <ConfigSection>
        <OptionDisplayGroup name='groupVanillaMinecraft' displayName='Vanilla Minecraft' displayState='shown'>
            <Description>
                Distribution options for Vanilla Minecraft Ores.
            </Description>
        </OptionDisplayGroup>

        <!-- Clay Configuration UI Starting -->
        <ConfigSection>
            <OptionChoice name='vnlaClayDist'  displayState=':= "shown"' displayGroup='groupVanillaMinecraft'>
                <Description> Controls how Clay is generated </Description>
                <DisplayName>Vanilla Minecraft Clay</DisplayName>
                <Choice value='SmallDeposits' displayValue='Small Deposits'>
                    <Description>
                        Small motherlodes without any branches.
                    </Description>
                </Choice>
                <Choice value='none' displayValue='None' description='Clay is not generated in the world.'/>
            </OptionChoice>
            <OptionNumeric name='vnlaClayFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Frequency multiplier for Vanilla Minecraft Clay distributions </Description>
                <DisplayName>Vanilla Minecraft Clay Freq.</DisplayName>
            </OptionNumeric>
            <OptionNumeric name='vnlaClaySize' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Size multiplier for Vanilla Minecraft Clay distributions </Description>
                <DisplayName>Vanilla Minecraft Clay Size</DisplayName>
            </OptionNumeric>
        </ConfigSection>
        <!-- Clay Configuration UI Complete -->


        <!-- Coal Configuration UI Starting -->
        <ConfigSection>
            <OptionChoice name='vnlaCoalDist'  displayState=':= "shown"' displayGroup='groupVanillaMinecraft'>
                <Description> Controls how Coal is generated </Description>
                <DisplayName>Vanilla Minecraft 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='vnlaCoalFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Frequency multiplier for Vanilla Minecraft Coal distributions </Description>
                <DisplayName>Vanilla Minecraft Coal Freq.</DisplayName>
            </OptionNumeric>
            <OptionNumeric name='vnlaCoalSize' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Size multiplier for Vanilla Minecraft Coal distributions </Description>
                <DisplayName>Vanilla Minecraft Coal Size</DisplayName>
            </OptionNumeric>
        </ConfigSection>
        <!-- Coal Configuration UI Complete -->


        <!-- Iron Configuration UI Starting -->
        <ConfigSection>
            <OptionChoice name='vnlaIronDist'  displayState=':= "shown"' displayGroup='groupVanillaMinecraft'>
                <Description> Controls how Iron is generated </Description>
                <DisplayName>Vanilla Minecraft 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='vnlaIronFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Frequency multiplier for Vanilla Minecraft Iron distributions </Description>
                <DisplayName>Vanilla Minecraft Iron Freq.</DisplayName>
            </OptionNumeric>
            <OptionNumeric name='vnlaIronSize' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Size multiplier for Vanilla Minecraft Iron distributions </Description>
                <DisplayName>Vanilla Minecraft Iron Size</DisplayName>
            </OptionNumeric>
        </ConfigSection>
        <!-- Iron Configuration UI Complete -->


        <!-- Gold Configuration UI Starting -->
        <ConfigSection>
            <OptionChoice name='vnlaGoldDist'  displayState=':= "shown"' displayGroup='groupVanillaMinecraft'>
                <Description> Controls how Gold is generated </Description>
                <DisplayName>Vanilla Minecraft 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='vnlaGoldFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Frequency multiplier for Vanilla Minecraft Gold distributions </Description>
                <DisplayName>Vanilla Minecraft Gold Freq.</DisplayName>
            </OptionNumeric>
            <OptionNumeric name='vnlaGoldSize' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Size multiplier for Vanilla Minecraft Gold distributions </Description>
                <DisplayName>Vanilla Minecraft Gold Size</DisplayName>
            </OptionNumeric>
        </ConfigSection>
        <!-- Gold Configuration UI Complete -->


        <!-- Redstone Configuration UI Starting -->
        <ConfigSection>
            <OptionChoice name='vnlaRedstoneDist'  displayState=':= "shown"' displayGroup='groupVanillaMinecraft'>
                <Description> Controls how Redstone is generated </Description>
                <DisplayName>Vanilla Minecraft 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='vnlaRedstoneFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Frequency multiplier for Vanilla Minecraft Redstone distributions </Description>
                <DisplayName>Vanilla Minecraft Redstone Freq.</DisplayName>
            </OptionNumeric>
            <OptionNumeric name='vnlaRedstoneSize' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Size multiplier for Vanilla Minecraft Redstone distributions </Description>
                <DisplayName>Vanilla Minecraft Redstone Size</DisplayName>
            </OptionNumeric>
        </ConfigSection>
        <!-- Redstone Configuration UI Complete -->


        <!-- Diamond Configuration UI Starting -->
        <ConfigSection>
            <OptionChoice name='vnlaDiamondDist'  displayState=':= "shown"' displayGroup='groupVanillaMinecraft'>
                <Description> Controls how Diamond is generated </Description>
                <DisplayName>Vanilla Minecraft 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='vnlaDiamondFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Frequency multiplier for Vanilla Minecraft Diamond distributions </Description>
                <DisplayName>Vanilla Minecraft Diamond Freq.</DisplayName>
            </OptionNumeric>
            <OptionNumeric name='vnlaDiamondSize' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Size multiplier for Vanilla Minecraft Diamond distributions </Description>
                <DisplayName>Vanilla Minecraft Diamond Size</DisplayName>
            </OptionNumeric>
        </ConfigSection>
        <!-- Diamond Configuration UI Complete -->


        <!-- Lapis Lazuli Configuration UI Starting -->
        <ConfigSection>
            <OptionChoice name='vnlaLapisLazuliDist'  displayState=':= "shown"' displayGroup='groupVanillaMinecraft'>
                <Description> Controls how Lapis Lazuli is generated </Description>
                <DisplayName>Vanilla Minecraft Lapis Lazuli</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 Lazuli is not generated in the world.'/>
            </OptionChoice>
            <OptionNumeric name='vnlaLapisLazuliFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Frequency multiplier for Vanilla Minecraft Lapis Lazuli distributions </Description>
                <DisplayName>Vanilla Minecraft Lapis Lazuli Freq.</DisplayName>
            </OptionNumeric>
            <OptionNumeric name='vnlaLapisLazuliSize' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Size multiplier for Vanilla Minecraft Lapis Lazuli distributions </Description>
                <DisplayName>Vanilla Minecraft Lapis Lazuli Size</DisplayName>
            </OptionNumeric>
        </ConfigSection>
        <!-- Lapis Lazuli Configuration UI Complete -->


        <!-- Emerald Configuration UI Starting -->
        <ConfigSection>
            <OptionChoice name='vnlaEmeraldDist'  displayState=':= "shown"' displayGroup='groupVanillaMinecraft'>
                <Description> Controls how Emerald is generated </Description>
                <DisplayName>Vanilla Minecraft 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='vnlaEmeraldFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Frequency multiplier for Vanilla Minecraft Emerald distributions </Description>
                <DisplayName>Vanilla Minecraft Emerald Freq.</DisplayName>
            </OptionNumeric>
            <OptionNumeric name='vnlaEmeraldSize' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Size multiplier for Vanilla Minecraft Emerald distributions </Description>
                <DisplayName>Vanilla Minecraft Emerald Size</DisplayName>
            </OptionNumeric>
        </ConfigSection>
        <!-- Emerald Configuration UI Complete -->


        <!-- Nether Quartz Configuration UI Starting -->
        <ConfigSection>
            <OptionChoice name='vnlaNetherQuartzDist'  displayState=':= "shown"' displayGroup='groupVanillaMinecraft'>
                <Description> Controls how Nether Quartz is generated </Description>
                <DisplayName>Vanilla Minecraft 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='vnlaNetherQuartzFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Frequency multiplier for Vanilla Minecraft Nether Quartz distributions </Description>
                <DisplayName>Vanilla Minecraft Nether Quartz Freq.</DisplayName>
            </OptionNumeric>
            <OptionNumeric name='vnlaNetherQuartzSize' default='1'  min='0' max='5' displayState=':= if(?advOptions, "shown", "hidden")' displayGroup='groupVanillaMinecraft'>
                <Description> Size multiplier for Vanilla Minecraft Nether Quartz distributions </Description>
                <DisplayName>Vanilla Minecraft Nether Quartz Size</DisplayName>
            </OptionNumeric>
        </ConfigSection>
        <!-- Nether Quartz Configuration UI Complete -->

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





    <!-- Overworld Setup Beginning -->

    <IfCondition condition=':= ?COGActive'>

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

        <IfCondition condition=':= ?blockExists("minecraft:sand")'>
            <Substitute name='vnlaOverworldBlockSubstitute2' block='minecraft:sand'>
                <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("minecraft:clay")'> <Replaces block='minecraft:clay' weight='1.0' /> </IfCondition>
            </Substitute>
        </IfCondition>


        <IfCondition condition=':= ?blockExists("minecraft:stone")'>
            <Substitute name='vnlaOverworldBlockSubstitute3' 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("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 Clay Generation -->

        <!-- Starting SmallDeposits Preset for Clay. -->
        <ConfigSection>
            <IfCondition condition=':= vnlaClayDist = "SmallDeposits"'>
                <Veins name='vnlaClayVeins'  inherits='PresetSmallDeposits' drawWireframe='true' wireframeColor='0x60A5A9B9' drawBoundBox='false' boundBoxColor='0x60A5A9B9'>
                    <Description>
                        Small motherlodes without any branches.
                        Similar to the deposits produced by
                        StandardGen distributions.
                    </Description>
                    <IfCondition condition=':= ?blockExists("minecraft:clay")'> <OreBlock block='minecraft:clay' weight='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:sand")'> <Replaces block='minecraft:sand' weight='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:gravel")'> <Replaces block='minecraft:gravel' weight='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Biome name='Ocean'  weight='-1' />
                    <Biome name='Desert'  weight='-1' />
                    <Biome name='Mountain'  weight='-1' />
                    <Setting name='MotherlodeFrequency' avg=':= 1.252 * _default_ * vnlaClayFreq ' range=':= 1.252 * _default_ * vnlaClayFreq ' type='normal' scaleTo='base' />
                    <Setting name='MotherlodeSize' avg=':= 1.648 * _default_ * vnlaClaySize ' range=':= 1.648 * _default_ * vnlaClaySize ' type='normal' />
                    <Setting name='MotherlodeHeight' avg=':= 64 ' range=':= 10 ' type='uniform' scaleTo='base' />
                    <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='BranchLength' avg=':= 0 * _default_ ' range=':= 0 * _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_ * vnlaClaySize ' range=':= _default_ * vnlaClaySize ' type='normal' />
                    <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='SegmentRadius' avg=':= 0 * _default_ * vnlaClaySize ' range=':= 0 * _default_ * vnlaClaySize ' 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='vnlaClayPreferredVeins'  inherits='PresetSmallDeposits' drawWireframe='true' wireframeColor='0x60A5A9B9' drawBoundBox='false' boundBoxColor='0x60A5A9B9'>
                    <Description>
                        Ore generation is doubled in preferred
                        biomes.
                    </Description>
                    <IfCondition condition=':= ?blockExists("minecraft:clay")'> <OreBlock block='minecraft:clay' weight='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:sand")'> <Replaces block='minecraft:sand' weight='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:gravel")'> <Replaces block='minecraft:gravel' weight='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                    <BiomeType name='Swamp'  />
                    <BiomeType name='Beach'  />
                    <BiomeType name='River'  />
                    <Biome name='Ocean'  weight='-1' />
                    <Biome name='Desert'  weight='-1' />
                    <Biome name='Mountain'  weight='-1' />
                    <Setting name='MotherlodeFrequency' avg=':= 1.252 * _default_ * vnlaClayFreq ' range=':= 1.252 * _default_ * vnlaClayFreq ' type='normal' scaleTo='base' />
                    <Setting name='MotherlodeSize' avg=':= 1.648 * _default_ * vnlaClaySize ' range=':= 1.648 * _default_ * vnlaClaySize ' type='normal' />
                    <Setting name='MotherlodeHeight' avg=':= 64 ' range=':= 10 ' type='uniform' scaleTo='base' />
                    <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='BranchLength' avg=':= 0 * _default_ ' range=':= 0 * _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_ * vnlaClaySize ' range=':= _default_ * vnlaClaySize ' type='normal' />
                    <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='SegmentRadius' avg=':= 0 * _default_ * vnlaClaySize ' range=':= 0 * _default_ * vnlaClaySize ' 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>
        <!-- SmallDeposits Preset for Clay is complete. -->

        <!-- End Clay Generation -->


        <!-- Begin Coal Generation -->

        <!-- Starting SparseVeins Preset for Coal. -->
        <ConfigSection>
            <IfCondition condition=':= vnlaCoalDist = "SparseVeins"'>
                <Veins name='vnlaCoalVeins'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='MotherlodeFrequency' avg=':= 7.748 * _default_ * vnlaCoalFreq ' range=':= 7.748 * _default_ * vnlaCoalFreq ' type='normal' scaleTo='base' />
                    <Setting name='MotherlodeSize' avg=':= 0 * _default_ * vnlaCoalSize ' range=':= 0 * _default_ * vnlaCoalSize ' type='normal' />
                    <Setting name='MotherlodeHeight' avg=':= 64 ' range=':= 64 ' 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=':= 2.784 * _default_ ' range=':= 2.784 * _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_ * vnlaCoalSize ' range=':= _default_ * vnlaCoalSize ' type='normal' />
                    <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='SegmentRadius' avg=':= 1.668 * _default_ * vnlaCoalSize ' range=':= 1.668 * _default_ * vnlaCoalSize ' 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=':= vnlaCoalDist = "Cloud"'>
                <Cloud name='vnlaCoalCloud'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='CloudRadius' avg=':= 1.664 * _default_ * vnlaCoalSize ' range=':= 1.664 * _default_ * vnlaCoalSize ' type='normal' />
                    <Setting name='CloudThickness' avg=':= 1.664 * _default_ * vnlaCoalSize ' range=':= 1.664 * _default_ * vnlaCoalSize ' type='normal' scaleTo='base' />
                    <Setting name='DistributionFrequency' avg=':= 2.770 * _default_ * vnlaCoalFreq ' range=':= 2.770 * _default_ * vnlaCoalFreq ' type='normal' scaleTo='base' />
                    <Setting name='CloudHeight' avg=':= 64 ' range=':= 64 ' 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='vnlaCoalHintVeins'  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='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                    </Veins>
                </Cloud>
            </IfCondition>
        </ConfigSection>
        <!-- Cloud Preset for Coal is complete. -->


        <!-- Starting Vanilla Preset for Coal. -->
        <ConfigSection>
            <IfCondition condition=':= vnlaCoalDist = "Vanilla"'>
                <StandardGen name='vnlaCoalStandard'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='Size' avg=':= 16.000 * vnlaCoalSize ' range=':= _default_ * vnlaCoalSize ' type='normal' />
                    <Setting name='Frequency' avg=':= 20.000 * vnlaCoalFreq ' range=':= _default_ * vnlaCoalFreq ' type='normal' scaleTo='base' />
                    <Setting name='Height' avg=':= 64 ' range=':= 64 ' type='normal' 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=':= vnlaCoalDist = "Cloud"'>
                <Cloud name='vnlaCoalCloud'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='CloudRadius' avg=':= 1.664 * _default_ * vnlaCoalSize ' range=':= 1.664 * _default_ * vnlaCoalSize ' type='normal' />
                    <Setting name='CloudThickness' avg=':= 1.664 * _default_ * vnlaCoalSize ' range=':= 1.664 * _default_ * vnlaCoalSize ' type='normal' scaleTo='base' />
                    <Setting name='DistributionFrequency' avg=':= 2.770 * _default_ * vnlaCoalFreq ' range=':= 2.770 * _default_ * vnlaCoalFreq ' type='normal' scaleTo='base' />
                    <Setting name='CloudHeight' avg=':= 64 ' range=':= 64 ' 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='vnlaCoalHintVeins'  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='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                    </Veins>
                </Cloud>
            </IfCondition>
        </ConfigSection>
        <!-- Cloud Preset for Coal is complete. -->

        <!-- End Coal Generation -->


        <!-- Begin Iron Generation -->

        <!-- Starting LayeredVeins Preset for Iron. -->
        <ConfigSection>
            <IfCondition condition=':= vnlaIronDist = "LayeredVeins"'>
                <Veins name='vnlaIronVeins'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='MotherlodeFrequency' avg=':= 2.238 * _default_ * vnlaIronFreq ' range=':= 2.238 * _default_ * vnlaIronFreq ' type='normal' scaleTo='base' />
                    <Setting name='MotherlodeSize' avg=':= 1.144 * _default_ * vnlaIronSize ' range=':= 1.144 * _default_ * vnlaIronSize ' type='normal' />
                    <Setting name='MotherlodeHeight' avg=':= 32 ' range=':= 32 ' 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.496 * _default_ ' range=':= 1.496 * _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_ * vnlaIronSize ' range=':= _default_ * vnlaIronSize ' type='normal' />
                    <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='SegmentRadius' avg=':= 1.223 * _default_ * vnlaIronSize ' range=':= 1.223 * _default_ * vnlaIronSize ' 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=':= vnlaIronDist = "Vanilla"'>
                <StandardGen name='vnlaIronStandard'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='Size' avg=':= 8.000 * vnlaIronSize ' range=':= _default_ * vnlaIronSize ' type='normal' />
                    <Setting name='Frequency' avg=':= 20.000 * vnlaIronFreq ' range=':= _default_ * vnlaIronFreq ' type='normal' scaleTo='base' />
                    <Setting name='Height' avg=':= 32 ' range=':= 32 ' 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=':= vnlaIronDist = "Cloud"'>
                <Cloud name='vnlaIronCloud'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='CloudRadius' avg=':= 1.399 * _default_ * vnlaIronSize ' range=':= 1.399 * _default_ * vnlaIronSize ' type='normal' />
                    <Setting name='CloudThickness' avg=':= 1.399 * _default_ * vnlaIronSize ' range=':= 1.399 * _default_ * vnlaIronSize ' type='normal' scaleTo='base' />
                    <Setting name='DistributionFrequency' avg=':= 1.958 * _default_ * vnlaIronFreq ' range=':= 1.958 * _default_ * vnlaIronFreq ' type='normal' scaleTo='base' />
                    <Setting name='CloudHeight' avg=':= 32 ' range=':= 32 ' 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='vnlaIronHintVeins'  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='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                    </Veins>
                </Cloud>
            </IfCondition>
        </ConfigSection>
        <!-- Cloud Preset for Iron is complete. -->

        <!-- End Iron Generation -->


        <!-- Begin Gold Generation -->

        <!-- Starting LayeredVeins Preset for Gold. -->
        <ConfigSection>
            <IfCondition condition=':= vnlaGoldDist = "LayeredVeins"'>
                <Veins name='vnlaGoldVeins'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='MotherlodeFrequency' avg=':= 0.708 * _default_ * vnlaGoldFreq ' range=':= 0.708 * _default_ * vnlaGoldFreq ' type='normal' scaleTo='base' />
                    <Setting name='MotherlodeSize' avg=':= 0.944 * _default_ * vnlaGoldSize ' range=':= 0.944 * _default_ * vnlaGoldSize ' type='normal' />
                    <Setting name='MotherlodeHeight' avg=':= 16 ' range=':= 16 ' type='normal' scaleTo='base' />
                    <Setting name='MotherlodeRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='BranchFrequency' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='BranchInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='BranchLength' avg=':= 0.841 * _default_ ' range=':= 0.841 * _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_ * vnlaGoldSize ' range=':= _default_ * vnlaGoldSize ' type='normal' />
                    <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='SegmentRadius' avg=':= 0.917 * _default_ * vnlaGoldSize ' range=':= 0.917 * _default_ * vnlaGoldSize ' 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=':= vnlaGoldDist = "Vanilla"'>
                <StandardGen name='vnlaGoldStandard'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='Size' avg=':= 8.000 * vnlaGoldSize ' range=':= _default_ * vnlaGoldSize ' type='normal' />
                    <Setting name='Frequency' avg=':= 2.000 * vnlaGoldFreq ' range=':= _default_ * vnlaGoldFreq ' type='normal' scaleTo='base' />
                    <Setting name='Height' avg=':= 16 ' range=':= 16 ' 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=':= vnlaGoldDist = "Cloud"'>
                <Cloud name='vnlaGoldCloud'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='CloudRadius' avg=':= 0.787 * _default_ * vnlaGoldSize ' range=':= 0.787 * _default_ * vnlaGoldSize ' type='normal' />
                    <Setting name='CloudThickness' avg=':= 0.787 * _default_ * vnlaGoldSize ' range=':= 0.787 * _default_ * vnlaGoldSize ' type='normal' scaleTo='base' />
                    <Setting name='DistributionFrequency' avg=':= 0.619 * _default_ * vnlaGoldFreq ' range=':= 0.619 * _default_ * vnlaGoldFreq ' type='normal' scaleTo='base' />
                    <Setting name='CloudHeight' avg=':= 16 ' range=':= 16 ' type='normal' scaleTo='base' />
                    <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='CloudSizeNoise' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='CloudInclination' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='OreDensity' avg=':= _default_ ' range=':= _default_ ' type='normal' scaleTo='base' />
                    <Setting name='OreVolumeNoiseCutoff' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='OreRadiusMult' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Veins name='vnlaGoldHintVeins'  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='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                    </Veins>
                </Cloud>
            </IfCondition>
        </ConfigSection>
        <!-- Cloud Preset for Gold is complete. -->

        <!-- End Gold Generation -->


        <!-- Begin Redstone Generation -->

        <!-- Starting VerticalVeins Preset for Redstone. -->
        <ConfigSection>
            <IfCondition condition=':= vnlaRedstoneDist = "VerticalVeins"'>
                <Veins name='vnlaRedstoneVeins'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='MotherlodeFrequency' avg=':= 2.406 * _default_ * vnlaRedstoneFreq ' range=':= 2.406 * _default_ * vnlaRedstoneFreq ' type='normal' scaleTo='base' />
                    <Setting name='MotherlodeSize' avg=':= 0 * _default_ * vnlaRedstoneSize ' range=':= 0 * _default_ * vnlaRedstoneSize ' type='normal' />
                    <Setting name='MotherlodeHeight' avg=':= 8 ' range=':= 8 ' 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_ * vnlaRedstoneSize ' range=':= _default_ * vnlaRedstoneSize ' type='normal' />
                    <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='SegmentRadius' avg=':= 1.551 * _default_ * vnlaRedstoneSize ' range=':= 1.551 * _default_ * vnlaRedstoneSize ' 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='vnlaRedstonePreferredVeins'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <BiomeType name='Desert'  />
                    <Setting name='MotherlodeFrequency' avg=':= 2.406 * _default_ * vnlaRedstoneFreq ' range=':= 2.406 * _default_ * vnlaRedstoneFreq ' type='normal' scaleTo='base' />
                    <Setting name='MotherlodeSize' avg=':= 0 * _default_ * vnlaRedstoneSize ' range=':= 0 * _default_ * vnlaRedstoneSize ' type='normal' />
                    <Setting name='MotherlodeHeight' avg=':= 8 ' range=':= 8 ' 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_ * vnlaRedstoneSize ' range=':= _default_ * vnlaRedstoneSize ' type='normal' />
                    <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='SegmentRadius' avg=':= 1.551 * _default_ * vnlaRedstoneSize ' range=':= 1.551 * _default_ * vnlaRedstoneSize ' 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=':= vnlaRedstoneDist = "Vanilla"'>
                <StandardGen name='vnlaRedstoneStandard'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='Size' avg=':= 7.000 * vnlaRedstoneSize ' range=':= _default_ * vnlaRedstoneSize ' type='normal' />
                    <Setting name='Frequency' avg=':= 8.000 * vnlaRedstoneFreq ' range=':= _default_ * vnlaRedstoneFreq ' type='normal' scaleTo='base' />
                    <Setting name='Height' avg=':= 8 ' range=':= 8 ' 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=':= vnlaRedstoneDist = "Cloud"'>
                <Cloud name='vnlaRedstoneCloud'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='CloudRadius' avg=':= 1.076 * _default_ * vnlaRedstoneSize ' range=':= 1.076 * _default_ * vnlaRedstoneSize ' type='normal' />
                    <Setting name='CloudThickness' avg=':= 1.076 * _default_ * vnlaRedstoneSize ' range=':= 1.076 * _default_ * vnlaRedstoneSize ' type='normal' scaleTo='base' />
                    <Setting name='DistributionFrequency' avg=':= 1.159 * _default_ * vnlaRedstoneFreq ' range=':= 1.159 * _default_ * vnlaRedstoneFreq ' type='normal' scaleTo='base' />
                    <Setting name='CloudHeight' avg=':= 8 ' range=':= 8 ' 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='vnlaRedstoneHintVeins'  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='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                    </Veins>
                </Cloud>

                <!-- Beginning "Preferred" configuration. -->
                <Cloud name='vnlaRedstonePreferredCloud'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <BiomeType name='Desert'  />
                    <Setting name='CloudRadius' avg=':= 1.076 * _default_ * vnlaRedstoneSize ' range=':= 1.076 * _default_ * vnlaRedstoneSize ' type='normal' />
                    <Setting name='CloudThickness' avg=':= 1.076 * _default_ * vnlaRedstoneSize ' range=':= 1.076 * _default_ * vnlaRedstoneSize ' type='normal' scaleTo='base' />
                    <Setting name='DistributionFrequency' avg=':= 1.159 * _default_ * vnlaRedstoneFreq ' range=':= 1.159 * _default_ * vnlaRedstoneFreq ' type='normal' scaleTo='base' />
                    <Setting name='CloudHeight' avg=':= 8 ' range=':= 8 ' 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='vnlaRedstonePreferredHintVeins'  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='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                    </Veins>
                </Cloud>
                <!-- "Preferred" configuration complete. -->

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

        <!-- End Redstone Generation -->


        <!-- Begin Diamond Generation -->

        <!-- Starting PipeVeins Preset for Diamond. -->
        <ConfigSection>
            <IfCondition condition=':= vnlaDiamondDist = "PipeVeins"'>
                <Veins name='vnlaDiamondVeins'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='MotherlodeFrequency' avg=':= 0.714 * _default_ * vnlaDiamondFreq ' range=':= 0.714 * _default_ * vnlaDiamondFreq ' type='normal' scaleTo='base' />
                    <Setting name='MotherlodeSize' avg=':= 0 * _default_ * vnlaDiamondSize ' range=':= 0 * _default_ * vnlaDiamondSize ' type='normal' />
                    <Setting name='MotherlodeHeight' avg=':= 8 ' range=':= 8 ' 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.845 * _default_ ' range=':= 0.845 * _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_ * vnlaDiamondSize ' range=':= _default_ * vnlaDiamondSize ' type='normal' />
                    <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='SegmentRadius' avg=':= 0.919 * _default_ * vnlaDiamondSize ' range=':= 0.919 * _default_ * vnlaDiamondSize ' 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='vnlaDiamondVeinsPipe'  inherits='vnlaDiamondVeins' 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>
                    <Setting name='MotherlodeSize' avg=':= 0 * _default_ * vnlaDiamondSize  * 0.5 ' range=':= 0 * _default_ * vnlaDiamondSize  * 0.5 ' type='normal' />
                    <Setting name='SegmentRadius' avg=':= 0.919 * _default_ * vnlaDiamondSize  * 0.5 ' range=':= 0.919 * _default_ * vnlaDiamondSize  * 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=':= vnlaDiamondDist = "Vanilla"'>
                <StandardGen name='vnlaDiamondStandard'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='Size' avg=':= 7.000 * vnlaDiamondSize ' range=':= _default_ * vnlaDiamondSize ' type='normal' />
                    <Setting name='Frequency' avg=':= 1.000 * vnlaDiamondFreq ' range=':= _default_ * vnlaDiamondFreq ' type='normal' scaleTo='base' />
                    <Setting name='Height' avg=':= 8 ' range=':= 8 ' 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=':= vnlaDiamondDist = "Cloud"'>
                <Cloud name='vnlaDiamondCloud'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='CloudRadius' avg=':= 0.640 * _default_ * vnlaDiamondSize ' range=':= 0.640 * _default_ * vnlaDiamondSize ' type='normal' />
                    <Setting name='CloudThickness' avg=':= 0.640 * _default_ * vnlaDiamondSize ' range=':= 0.640 * _default_ * vnlaDiamondSize ' type='normal' scaleTo='base' />
                    <Setting name='DistributionFrequency' avg=':= 0.410 * _default_ * vnlaDiamondFreq ' range=':= 0.410 * _default_ * vnlaDiamondFreq ' type='normal' scaleTo='base' />
                    <Setting name='CloudHeight' avg=':= 8 ' range=':= 8 ' 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='vnlaDiamondHintVeins'  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='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                    </Veins>
                </Cloud>
            </IfCondition>
        </ConfigSection>
        <!-- Cloud Preset for Diamond is complete. -->

        <!-- End Diamond Generation -->


        <!-- Begin Lapis Lazuli Generation -->

        <!-- Starting VerticalVeins Preset for Lapis Lazuli. -->
        <ConfigSection>
            <IfCondition condition=':= vnlaLapisLazuliDist = "VerticalVeins"'>
                <Veins name='vnlaLapisLazuliVeins'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='MotherlodeFrequency' avg=':= 0.787 * _default_ * vnlaLapisLazuliFreq ' range=':= 0.787 * _default_ * vnlaLapisLazuliFreq ' type='normal' scaleTo='base' />
                    <Setting name='MotherlodeSize' avg=':= 0 * _default_ * vnlaLapisLazuliSize ' range=':= 0 * _default_ * vnlaLapisLazuliSize ' type='normal' />
                    <Setting name='MotherlodeHeight' avg=':= 16 ' range=':= 0 ' 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_ * vnlaLapisLazuliSize ' range=':= _default_ * vnlaLapisLazuliSize ' type='normal' />
                    <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='SegmentRadius' avg=':= 0.887 * _default_ * vnlaLapisLazuliSize ' range=':= 0.887 * _default_ * vnlaLapisLazuliSize ' 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='vnlaLapisLazuliPreferredVeins'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <BiomeType name='Ocean'  />
                    <Setting name='MotherlodeFrequency' avg=':= 0.787 * _default_ * vnlaLapisLazuliFreq ' range=':= 0.787 * _default_ * vnlaLapisLazuliFreq ' type='normal' scaleTo='base' />
                    <Setting name='MotherlodeSize' avg=':= 0 * _default_ * vnlaLapisLazuliSize ' range=':= 0 * _default_ * vnlaLapisLazuliSize ' type='normal' />
                    <Setting name='MotherlodeHeight' avg=':= 16 ' range=':= 0 ' 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_ * vnlaLapisLazuliSize ' range=':= _default_ * vnlaLapisLazuliSize ' type='normal' />
                    <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='SegmentRadius' avg=':= 0.887 * _default_ * vnlaLapisLazuliSize ' range=':= 0.887 * _default_ * vnlaLapisLazuliSize ' 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 Lazuli is complete. -->


        <!-- Starting Vanilla Preset for Lapis Lazuli. -->
        <ConfigSection>
            <IfCondition condition=':= vnlaLapisLazuliDist = "Vanilla"'>
                <StandardGen name='vnlaLapisLazuliStandard'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='Size' avg=':= 6.000 * vnlaLapisLazuliSize ' range=':= _default_ * vnlaLapisLazuliSize ' type='normal' />
                    <Setting name='Frequency' avg=':= 1.000 * vnlaLapisLazuliFreq ' range=':= _default_ * vnlaLapisLazuliFreq ' type='normal' scaleTo='base' />
                    <Setting name='Height' avg=':= 16 ' range=':= 0 ' type='normal' scaleTo='base' />
                    <Setting name='ParentRangeLimit' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                </StandardGen>
            </IfCondition>
        </ConfigSection>
        <!-- Vanilla Preset for Lapis Lazuli is complete. -->


        <!-- Starting Cloud Preset for Lapis Lazuli. -->
        <ConfigSection>
            <IfCondition condition=':= vnlaLapisLazuliDist = "Cloud"'>
                <Cloud name='vnlaLapisLazuliCloud'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='CloudRadius' avg=':= 0.616 * _default_ * vnlaLapisLazuliSize ' range=':= 0.616 * _default_ * vnlaLapisLazuliSize ' type='normal' />
                    <Setting name='CloudThickness' avg=':= 0.616 * _default_ * vnlaLapisLazuliSize ' range=':= 0.616 * _default_ * vnlaLapisLazuliSize ' type='normal' scaleTo='base' />
                    <Setting name='DistributionFrequency' avg=':= 0.379 * _default_ * vnlaLapisLazuliFreq ' range=':= 0.379 * _default_ * vnlaLapisLazuliFreq ' type='normal' scaleTo='base' />
                    <Setting name='CloudHeight' avg=':= 16 ' range=':= 0 ' 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='vnlaLapisLazuliHintVeins'  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='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                    </Veins>
                </Cloud>

                <!-- Beginning "Preferred" configuration. -->
                <Cloud name='vnlaLapisLazuliPreferredCloud'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <BiomeType name='Ocean'  />
                    <Setting name='CloudRadius' avg=':= 0.616 * _default_ * vnlaLapisLazuliSize ' range=':= 0.616 * _default_ * vnlaLapisLazuliSize ' type='normal' />
                    <Setting name='CloudThickness' avg=':= 0.616 * _default_ * vnlaLapisLazuliSize ' range=':= 0.616 * _default_ * vnlaLapisLazuliSize ' type='normal' scaleTo='base' />
                    <Setting name='DistributionFrequency' avg=':= 0.379 * _default_ * vnlaLapisLazuliFreq ' range=':= 0.379 * _default_ * vnlaLapisLazuliFreq ' type='normal' scaleTo='base' />
                    <Setting name='CloudHeight' avg=':= 16 ' range=':= 0 ' 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='vnlaLapisLazuliPreferredHintVeins'  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='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                    </Veins>
                </Cloud>
                <!-- "Preferred" configuration complete. -->

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

        <!-- End Lapis Lazuli Generation -->


        <!-- Begin Emerald Generation -->

        <!-- Starting PipeVeins Preset for Emerald. -->
        <ConfigSection>
            <IfCondition condition=':= vnlaEmeraldDist = "PipeVeins"'>
                <Veins name='vnlaEmeraldVeins'  inherits='PresetPipeVeins' seed='0x54B3' 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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <BiomeType name='Mountain'  />
                    <Setting name='MotherlodeFrequency' avg=':= 1.145 * _default_ * vnlaEmeraldFreq ' range=':= 1.145 * _default_ * vnlaEmeraldFreq ' type='normal' scaleTo='base' />
                    <Setting name='MotherlodeSize' avg=':= 0 * _default_ * vnlaEmeraldSize ' range=':= 0 * _default_ * vnlaEmeraldSize ' type='normal' />
                    <Setting name='MotherlodeHeight' avg=':= 16 ' range=':= 12 ' 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.070 * _default_ ' range=':= 1.070 * _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_ * vnlaEmeraldSize ' range=':= _default_ * vnlaEmeraldSize ' type='normal' />
                    <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='SegmentRadius' avg=':= 1.035 * _default_ * vnlaEmeraldSize ' range=':= 1.035 * _default_ * vnlaEmeraldSize ' 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='vnlaEmeraldVeinsPipe'  inherits='vnlaEmeraldVeins' seed='0x54B3' 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>
                    <Setting name='MotherlodeSize' avg=':= 0 * _default_ * vnlaEmeraldSize  * 0.5 ' range=':= 0 * _default_ * vnlaEmeraldSize  * 0.5 ' type='normal' />
                    <Setting name='SegmentRadius' avg=':= 1.035 * _default_ * vnlaEmeraldSize  * 0.5 ' range=':= 1.035 * _default_ * vnlaEmeraldSize  * 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=':= vnlaEmeraldDist = "Vanilla"'>
                <StandardGen name='vnlaEmeraldStandard'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <BiomeType name='Mountain'  />
                    <Setting name='Size' avg=':= 2.000 * vnlaEmeraldSize ' range=':= _default_ * vnlaEmeraldSize ' type='normal' />
                    <Setting name='Frequency' avg=':= 9.000 * vnlaEmeraldFreq ' range=':= _default_ * vnlaEmeraldFreq ' type='normal' scaleTo='base' />
                    <Setting name='Height' avg=':= 16 ' range=':= 12 ' 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=':= vnlaEmeraldDist = "Cloud"'>
                <Cloud name='vnlaEmeraldCloud'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:stone")'> <Replaces block='minecraft:stone' weight='1.0' /> </IfCondition>
                    <BiomeType name='Mountain'  />
                    <Setting name='CloudRadius' avg=':= 0.810 * _default_ * vnlaEmeraldSize ' range=':= 0.810 * _default_ * vnlaEmeraldSize ' type='normal' />
                    <Setting name='CloudThickness' avg=':= 0.810 * _default_ * vnlaEmeraldSize ' range=':= 0.810 * _default_ * vnlaEmeraldSize ' type='normal' scaleTo='base' />
                    <Setting name='DistributionFrequency' avg=':= 0.657 * _default_ * vnlaEmeraldFreq ' range=':= 0.657 * _default_ * vnlaEmeraldFreq ' type='normal' scaleTo='base' />
                    <Setting name='CloudHeight' avg=':= 16 ' range=':= 12 ' 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='vnlaEmeraldHintVeins'  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='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                    </Veins>
                </Cloud>
            </IfCondition>
        </ConfigSection>
        <!-- Cloud Preset for Emerald is complete. -->

        <!-- End Emerald 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='vnlaNetherBlockSubstitute0' 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("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=':= vnlaNetherQuartzDist = "LayeredVeins"'>
                <Veins name='vnlaNetherQuartzVeins'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:netherrack")'> <Replaces block='minecraft:netherrack' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='MotherlodeFrequency' avg=':= 6.247 * _default_ * vnlaNetherQuartzFreq ' range=':= 6.247 * _default_ * vnlaNetherQuartzFreq ' type='normal' scaleTo='base' />
                    <Setting name='MotherlodeSize' avg=':= 0 * _default_ * vnlaNetherQuartzSize ' range=':= 0 * _default_ * vnlaNetherQuartzSize ' type='normal' />
                    <Setting name='MotherlodeHeight' avg=':= 59 ' range=':= 49 ' 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=':= 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_ * vnlaNetherQuartzSize ' range=':= _default_ * vnlaNetherQuartzSize ' type='normal' />
                    <Setting name='SegmentAngle' avg=':= _default_ ' range=':= _default_ ' type='normal' />
                    <Setting name='SegmentRadius' avg=':= 1.581 * _default_ * vnlaNetherQuartzSize ' range=':= 1.581 * _default_ * vnlaNetherQuartzSize ' 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=':= vnlaNetherQuartzDist = "Vanilla"'>
                <StandardGen name='vnlaNetherQuartzStandard'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:netherrack")'> <Replaces block='minecraft:netherrack' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='Size' avg=':= 16.000 * vnlaNetherQuartzSize ' range=':= _default_ * vnlaNetherQuartzSize ' type='normal' />
                    <Setting name='Frequency' avg=':= 13.000 * vnlaNetherQuartzFreq ' range=':= _default_ * vnlaNetherQuartzFreq ' type='normal' scaleTo='base' />
                    <Setting name='Height' avg=':= 59 ' range=':= 49 ' type='normal' 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=':= vnlaNetherQuartzDist = "Cloud"'>
                <Cloud name='vnlaNetherQuartzCloud'  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='1.0' /> </IfCondition>
                    <IfCondition condition=':= ?blockExists("minecraft:netherrack")'> <Replaces block='minecraft:netherrack' weight='1.0' /> </IfCondition>
                    <Biome name='.*'  />
                    <Setting name='CloudRadius' avg=':= 1.494 * _default_ * vnlaNetherQuartzSize ' range=':= 1.494 * _default_ * vnlaNetherQuartzSize ' type='normal' />
                    <Setting name='CloudThickness' avg=':= 1.494 * _default_ * vnlaNetherQuartzSize ' range=':= 1.494 * _default_ * vnlaNetherQuartzSize ' type='normal' scaleTo='base' />
                    <Setting name='DistributionFrequency' avg=':= 2.233 * _default_ * vnlaNetherQuartzFreq ' range=':= 2.233 * _default_ * vnlaNetherQuartzFreq ' type='normal' scaleTo='base' />
                    <Setting name='CloudHeight' avg=':= 59 ' range=':= 49 ' 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='vnlaNetherQuartzHintVeins'  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='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:dirt")'> <Replaces block='minecraft:dirt' weight='1.0' /> </IfCondition>
                        <IfCondition condition=':= ?blockExists("minecraft:sandstone")'> <Replaces block='minecraft:sandstone' weight='1.0' /> </IfCondition>
                    </Veins>
                </Cloud>
            </IfCondition>
        </ConfigSection>
        <!-- Cloud Preset for Nether Quartz is complete. -->

        <!-- End Nether Quartz Generation -->

        <!-- Finished adding blocks -->

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



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




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