
<!-- ================================================================ 

Custom Ore Generation:   Biomes O Plenty Module

Generates: 
EnderAmathyst, Ruby, Peridot, Topaz, Tanzanite, Apatite, Sapphire

================================================================ -->

    <!-- Mod detection -->
    <IfModInstalled name="BiomesOPlenty">
    
        <!-- Starting Configuration for Custom Ore Generation. -->
        <ConfigSection>
        
            
            <!-- Setup Screen Configuration -->
            <ConfigSection>
                <OptionDisplayGroup name='groupBiomesOPlenty' displayName='Biomes O Plenty' displayState='shown'> 
                    <Description>
                        Distribution options for Biomes O Plenty Ores.
                    </Description>
                </OptionDisplayGroup>
                
                <!-- EnderAmathyst Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='boplEnderAmathystDist'  displayState='shown' displayGroup='groupBiomesOPlenty'> 
                        <Description> Controls how EnderAmathyst is generated </Description> 
                        <DisplayName>Biomes O Plenty EnderAmathyst</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered Veins.
                            </Description>
                        </Choice>
                        <Choice value='hugeVeins' displayValue='Huge Veins'>
                            <Description>
                                Huge Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='EnderAmathyst is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='boplEnderAmathystFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupBiomesOPlenty'>
                        <Description> Frequency multiplier for Biomes O Plenty EnderAmathyst distributions </Description>
                        <DisplayName>Biomes O Plenty EnderAmathyst Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='boplEnderAmathystSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupBiomesOPlenty'>
                        <Description> Size multiplier for Biomes O Plenty EnderAmathyst distributions </Description>
                        <DisplayName>Biomes O Plenty EnderAmathyst Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- EnderAmathyst Configuration UI Complete -->
                
                
                <!-- Ruby Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='boplRubyDist'  displayState='shown' displayGroup='groupBiomesOPlenty'> 
                        <Description> Controls how Ruby is generated </Description> 
                        <DisplayName>Biomes O Plenty Ruby</DisplayName>
                        <Choice value='sparseVeins' displayValue='Sparse Veins'>
                            <Description>
                                Sparse Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Ruby is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='boplRubyFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupBiomesOPlenty'>
                        <Description> Frequency multiplier for Biomes O Plenty Ruby distributions </Description>
                        <DisplayName>Biomes O Plenty Ruby Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='boplRubySize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupBiomesOPlenty'>
                        <Description> Size multiplier for Biomes O Plenty Ruby distributions </Description>
                        <DisplayName>Biomes O Plenty Ruby Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Ruby Configuration UI Complete -->
                
                
                <!-- Peridot Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='boplPeridotDist'  displayState='shown' displayGroup='groupBiomesOPlenty'> 
                        <Description> Controls how Peridot is generated </Description> 
                        <DisplayName>Biomes O Plenty Peridot</DisplayName>
                        <Choice value='sparseVeins' displayValue='Sparse Veins'>
                            <Description>
                                Sparse Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Peridot is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='boplPeridotFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupBiomesOPlenty'>
                        <Description> Frequency multiplier for Biomes O Plenty Peridot distributions </Description>
                        <DisplayName>Biomes O Plenty Peridot Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='boplPeridotSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupBiomesOPlenty'>
                        <Description> Size multiplier for Biomes O Plenty Peridot distributions </Description>
                        <DisplayName>Biomes O Plenty Peridot Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Peridot Configuration UI Complete -->
                
                
                <!-- Topaz Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='boplTopazDist'  displayState='shown' displayGroup='groupBiomesOPlenty'> 
                        <Description> Controls how Topaz is generated </Description> 
                        <DisplayName>Biomes O Plenty Topaz</DisplayName>
                        <Choice value='sparseVeins' displayValue='Sparse Veins'>
                            <Description>
                                Sparse Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Topaz is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='boplTopazFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupBiomesOPlenty'>
                        <Description> Frequency multiplier for Biomes O Plenty Topaz distributions </Description>
                        <DisplayName>Biomes O Plenty Topaz Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='boplTopazSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupBiomesOPlenty'>
                        <Description> Size multiplier for Biomes O Plenty Topaz distributions </Description>
                        <DisplayName>Biomes O Plenty Topaz Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Topaz Configuration UI Complete -->
                
                
                <!-- Tanzanite Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='boplTanzaniteDist'  displayState='shown' displayGroup='groupBiomesOPlenty'> 
                        <Description> Controls how Tanzanite is generated </Description> 
                        <DisplayName>Biomes O Plenty Tanzanite</DisplayName>
                        <Choice value='sparseVeins' displayValue='Sparse Veins'>
                            <Description>
                                Sparse Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Tanzanite is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='boplTanzaniteFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupBiomesOPlenty'>
                        <Description> Frequency multiplier for Biomes O Plenty Tanzanite distributions </Description>
                        <DisplayName>Biomes O Plenty Tanzanite Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='boplTanzaniteSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupBiomesOPlenty'>
                        <Description> Size multiplier for Biomes O Plenty Tanzanite distributions </Description>
                        <DisplayName>Biomes O Plenty Tanzanite Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Tanzanite Configuration UI Complete -->
                
                
                <!-- Apatite Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='boplApatiteDist'  displayState='shown' displayGroup='groupBiomesOPlenty'> 
                        <Description> Controls how Apatite is generated </Description> 
                        <DisplayName>Biomes O Plenty Apatite</DisplayName>
                        <Choice value='sparseVeins' displayValue='Sparse Veins'>
                            <Description>
                                Sparse Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Apatite is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='boplApatiteFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupBiomesOPlenty'>
                        <Description> Frequency multiplier for Biomes O Plenty Apatite distributions </Description>
                        <DisplayName>Biomes O Plenty Apatite Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='boplApatiteSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupBiomesOPlenty'>
                        <Description> Size multiplier for Biomes O Plenty Apatite distributions </Description>
                        <DisplayName>Biomes O Plenty Apatite Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Apatite Configuration UI Complete -->
                
                
                <!-- Sapphire Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='boplSapphireDist'  displayState='shown' displayGroup='groupBiomesOPlenty'> 
                        <Description> Controls how Sapphire is generated </Description> 
                        <DisplayName>Biomes O Plenty Sapphire</DisplayName>
                        <Choice value='sparseVeins' displayValue='Sparse Veins'>
                            <Description>
                                Sparse Veins.
                            </Description>
                        </Choice>
                        <Choice value='strategicCloud' displayValue='Clouds'>
                            <Description>
                                Strategic Clouds.
                            </Description>
                        </Choice>
                        <Choice value='vanillaStdGen' displayValue='Vanilla'>
                            <Description>
                                Vanilla-style clusters.
                            </Description>
                        </Choice>
                        <Choice value='none' displayValue='None' description='Sapphire is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='boplSapphireFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupBiomesOPlenty'>
                        <Description> Frequency multiplier for Biomes O Plenty Sapphire distributions </Description>
                        <DisplayName>Biomes O Plenty Sapphire Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='boplSapphireSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupBiomesOPlenty'>
                        <Description> Size multiplier for Biomes O Plenty Sapphire distributions </Description>
                        <DisplayName>Biomes O Plenty Sapphire Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Sapphire Configuration UI Complete -->
                
            </ConfigSection>
            <!-- Setup Screen Complete -->


            <!-- Setup Overworld -->
            <IfCondition condition=':= ?COGActive'>
                
                <!-- Starting Original Overworld Ore Removal -->
                <Substitute name='boplOverworldOreSubstitute0' block='minecraft:stone'>
                    <Description>
                        Replace vanilla-generated ore clusters.
                    </Description>
                    <Comment>
                        The global option deferredPopulationRange must be large enough to catch all ore clusters (>= 32).
                    </Comment>
                    <Replaces block='BiomesOPlenty:gemOre:2' />
                    <Replaces block='BiomesOPlenty:gemOre:4' />
                    <Replaces block='BiomesOPlenty:gemOre:6' />
                    <Replaces block='BiomesOPlenty:gemOre:8' />
                    <Replaces block='BiomesOPlenty:gemOre:10' />
                    <Replaces block='BiomesOPlenty:gemOre:12' />
                </Substitute>
                <!-- Original Overworld Ore Removal Complete -->
                
                <!-- Adding ores --> 
                
                <!-- Begin Ruby Generation --> 
                
                <!-- Begin Sparse Veins distribution of Ruby -->
                <IfCondition condition=':= boplRubyDist = "sparseVeins"'>
                
                    <Veins name='boplRubyBaseVeins' block='BiomesOPlenty:gemOre:2' inherits='PresetSparseVeins'>
                        <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>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60C60031</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.5 * boplRubySize * _default_' range=':= 1 * 0.5 * boplRubySize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 32' range=':= 12' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 0.5 * boplRubySize * _default_' range=':= 1 * 0.5 * boplRubySize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.4 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1.5 * boplRubyFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.25 * _default_' range=':= 0.25 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Setting name='SegmentRadius' avg=':= 1 * 0.5 * boplRubySize * 0.7 * _default_' range=':= 1 * 0.5 * boplRubySize * 0.5 * _default_'/>
                        <Setting name='SegmentAngle' avg=':= 0.6' range=':= 0.40'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Sandy'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Sparse Veins distribution of Ruby -->
                
                
                <!-- Begin  Strategic Cloud distribution of Ruby -->
                <IfCondition condition=':= boplRubyDist = "strategicCloud"'>
                
                    <Cloud name='boplRubyBaseCloud' block='BiomesOPlenty:gemOre:2' inherits='PresetStrategicCloud'>
                        <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>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60C60031</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.5 * boplRubySize * _default_' range=':= 1 * 0.5 * boplRubySize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.5 * boplRubySize * _default_' range=':= 1 * 0.5 * boplRubySize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 32' range=':= 12' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.5 * 0.5 * boplRubySize * _default_' range=':= 1 * 0.5 * 0.5 * boplRubySize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * boplRubyFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Sandy'/>
                        
                        <!-- Begin Ruby Strategic Cloud Hint Veins -->
                        <Veins name='boplRubyBaseHintVeins' block='BiomesOPlenty:gemOre:2' inherits='PresetHintVeins'>
                            <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. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60C60031</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                            <BiomeType name='Sandy'/>
                        </Veins>
                        <!-- End Ruby Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Ruby -->
                
                
                <!-- Begin  Vanilla distribution of Ruby -->
                <IfCondition condition=':= boplRubyDist = "vanillaStdGen"'>
                
                    <StandardGen name='boplRubyBaseStandard' block='BiomesOPlenty:gemOre:2' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60C60031</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * boplRubySize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 12' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 2 * boplRubyFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Sandy'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Ruby -->
                
                <!-- End Ruby Generation --> 

                
                <!-- Begin Peridot Generation --> 
                
                <!-- Begin Sparse Veins distribution of Peridot -->
                <IfCondition condition=':= boplPeridotDist = "sparseVeins"'>
                
                    <Veins name='boplPeridotBaseVeins' block='BiomesOPlenty:gemOre:4' inherits='PresetSparseVeins'>
                        <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>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60076855</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.5 * boplPeridotSize * _default_' range=':= 1 * 0.5 * boplPeridotSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 32' range=':= 12' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 0.5 * boplPeridotSize * _default_' range=':= 1 * 0.5 * boplPeridotSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.4 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1.5 * boplPeridotFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.25 * _default_' range=':= 0.25 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Setting name='SegmentRadius' avg=':= 1 * 0.5 * boplPeridotSize * 0.7 * _default_' range=':= 1 * 0.5 * boplPeridotSize * 0.5 * _default_'/>
                        <Setting name='SegmentAngle' avg=':= 0.6' range=':= 0.40'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Plains'/>
                        <BiomeType name='Cold' weight='-1'/>
                        <BiomeType name='Dry' weight='-1'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Sparse Veins distribution of Peridot -->
                
                
                <!-- Begin  Strategic Cloud distribution of Peridot -->
                <IfCondition condition=':= boplPeridotDist = "strategicCloud"'>
                
                    <Cloud name='boplPeridotBaseCloud' block='BiomesOPlenty:gemOre:4' inherits='PresetStrategicCloud'>
                        <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>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60076855</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.5 * boplPeridotSize * _default_' range=':= 1 * 0.5 * boplPeridotSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.5 * boplPeridotSize * _default_' range=':= 1 * 0.5 * boplPeridotSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 16' range=':= 12' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.5 * 0.5 * boplPeridotSize * _default_' range=':= 1 * 0.5 * 0.5 * boplPeridotSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * boplPeridotFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Plains'/>
                        <BiomeType name='Cold' weight='-1'/>
                        <BiomeType name='Dry' weight='-1'/>
                        
                        <!-- Begin Peridot Strategic Cloud Hint Veins -->
                        <Veins name='boplPeridotBaseHintVeins' block='BiomesOPlenty:gemOre:4' inherits='PresetHintVeins'>
                            <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. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60076855</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                            <BiomeType name='Plains'/>
                            <BiomeType name='Cold' weight='-1'/>
                            <BiomeType name='Dry' weight='-1'/>
                        </Veins>
                        <!-- End Peridot Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Peridot -->
                
                
                <!-- Begin  Vanilla distribution of Peridot -->
                <IfCondition condition=':= boplPeridotDist = "vanillaStdGen"'>
                
                    <StandardGen name='boplPeridotBaseStandard' block='BiomesOPlenty:gemOre:4' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60076855</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * boplPeridotSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 12' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 2 * boplPeridotFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Plains'/>
                        <BiomeType name='Cold' weight='-1'/>
                        <BiomeType name='Dry' weight='-1'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Peridot -->
                
                <!-- End Peridot Generation --> 

                
                <!-- Begin Topaz Generation --> 
                
                <!-- Begin Sparse Veins distribution of Topaz -->
                <IfCondition condition=':= boplTopazDist = "sparseVeins"'>
                
                    <Veins name='boplTopazBaseVeins' block='BiomesOPlenty:gemOre:6' inherits='PresetSparseVeins'>
                        <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>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60D95A03</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.5 * boplTopazSize * _default_' range=':= 1 * 0.5 * boplTopazSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 32' range=':= 12' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 0.5 * boplTopazSize * _default_' range=':= 1 * 0.5 * boplTopazSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.4 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1.5 * boplTopazFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.25 * _default_' range=':= 0.25 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Setting name='SegmentRadius' avg=':= 1 * 0.5 * boplTopazSize * 0.7 * _default_' range=':= 1 * 0.5 * boplTopazSize * 0.5 * _default_'/>
                        <Setting name='SegmentAngle' avg=':= 0.6' range=':= 0.40'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Jungle'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Sparse Veins distribution of Topaz -->
                
                
                <!-- Begin  Strategic Cloud distribution of Topaz -->
                <IfCondition condition=':= boplTopazDist = "strategicCloud"'>
                
                    <Cloud name='boplTopazBaseCloud' block='BiomesOPlenty:gemOre:6' inherits='PresetStrategicCloud'>
                        <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>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60D95A03</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.5 * boplTopazSize * _default_' range=':= 1 * 0.5 * boplTopazSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.5 * boplTopazSize * _default_' range=':= 1 * 0.5 * boplTopazSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 32' range=':= 12' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.4 * 0.5 * boplTopazSize * _default_' range=':= 1 * 0.4 * 0.5 * boplTopazSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * boplTopazFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Jungle'/>
                        
                        <!-- Begin Topaz Strategic Cloud Hint Veins -->
                        <Veins name='boplTopazBaseHintVeins' block='BiomesOPlenty:gemOre:6' inherits='PresetHintVeins'>
                            <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. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60D95A03</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                            <BiomeType name='Jungle'/>
                        </Veins>
                        <!-- End Topaz Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Topaz -->
                
                
                <!-- Begin  Vanilla distribution of Topaz -->
                <IfCondition condition=':= boplTopazDist = "vanillaStdGen"'>
                
                    <StandardGen name='boplTopazBaseStandard' block='BiomesOPlenty:gemOre:6' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60D95A03</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * boplTopazSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 12' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 2 * boplTopazFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Jungle'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Topaz -->
                
                <!-- End Topaz Generation --> 

                
                <!-- Begin Tanzanite Generation --> 
                
                <!-- Begin Sparse Veins distribution of Tanzanite -->
                <IfCondition condition=':= boplTanzaniteDist = "sparseVeins"'>
                
                    <Veins name='boplTanzaniteBaseVeins' block='BiomesOPlenty:gemOre:8' inherits='PresetSparseVeins'>
                        <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>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x607701B9</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.5 * boplTanzaniteSize * _default_' range=':= 1 * 0.5 * boplTanzaniteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 32' range=':= 12' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 0.5 * boplTanzaniteSize * _default_' range=':= 1 * 0.5 * boplTanzaniteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.4 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1.5 * boplTanzaniteFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.25 * _default_' range=':= 0.25 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Setting name='SegmentRadius' avg=':= 1 * 0.5 * boplTanzaniteSize * 0.7 * _default_' range=':= 1 * 0.5 * boplTanzaniteSize * 0.5 * _default_'/>
                        <Setting name='SegmentAngle' avg=':= 0.6' range=':= 0.40'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Cold'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Sparse Veins distribution of Tanzanite -->
                
                
                <!-- Begin  Strategic Cloud distribution of Tanzanite -->
                <IfCondition condition=':= boplTanzaniteDist = "strategicCloud"'>
                
                    <Cloud name='boplTanzaniteBaseCloud' block='BiomesOPlenty:gemOre:8' inherits='PresetStrategicCloud'>
                        <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>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x607701B9</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.5 * boplTanzaniteSize * _default_' range=':= 1 * 0.5 * boplTanzaniteSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.5 * boplTanzaniteSize * _default_' range=':= 1 * 0.5 * boplTanzaniteSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 32' range=':= 12' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.5 * 0.5 * boplTanzaniteSize * _default_' range=':= 1 * 0.5 * 0.5 * boplTanzaniteSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * boplTanzaniteFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Cold'/>
                        
                        <!-- Begin Tanzanite Strategic Cloud Hint Veins -->
                        <Veins name='boplTanzaniteBaseHintVeins' block='BiomesOPlenty:gemOre:8' inherits='PresetHintVeins'>
                            <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. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x607701B9</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                            <BiomeType name='Cold'/>
                        </Veins>
                        <!-- End Tanzanite Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Tanzanite -->
                
                
                <!-- Begin  Vanilla distribution of Tanzanite -->
                <IfCondition condition=':= boplTanzaniteDist = "vanillaStdGen"'>
                
                    <StandardGen name='boplTanzaniteBaseStandard' block='BiomesOPlenty:gemOre:8' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x607701B9</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * boplTanzaniteSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 12' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 2 * boplTanzaniteFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Cold'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Tanzanite -->
                
                <!-- End Tanzanite Generation --> 

                
                <!-- Begin Apatite Generation --> 
                
                <!-- Begin Sparse Veins distribution of Apatite -->
                <IfCondition condition=':= boplApatiteDist = "sparseVeins"'>
                
                    <Veins name='boplApatiteBaseVeins' block='BiomesOPlenty:gemOre:10' inherits='PresetSparseVeins'>
                        <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>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60109D81</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * boplApatiteSize * _default_' range=':= 1 * 1 * boplApatiteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 55' range=':= 8' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * boplApatiteSize * _default_' range=':= 1 * 1 * boplApatiteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 5 * boplApatiteFreq * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Setting name='BranchInclination' avg=':= 0' range=':= 0.35'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Swamp'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Sparse Veins distribution of Apatite -->
                
                
                <!-- Begin  Strategic Cloud distribution of Apatite -->
                <IfCondition condition=':= boplApatiteDist = "strategicCloud"'>
                
                    <Cloud name='boplApatiteBaseCloud' block='BiomesOPlenty:gemOre:10' inherits='PresetStrategicCloud'>
                        <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>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60109D81</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1.2 * boplApatiteSize * _default_' range=':= 1 * 1.2 * boplApatiteSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1.2 * boplApatiteSize * _default_' range=':= 1 * 1.2 * boplApatiteSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= _default_' range=':= _default_' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.75 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1.2 * boplApatiteSize * _default_' range=':= 1 * 1 * 1.2 * boplApatiteSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 5 * boplApatiteFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Swamp'/>
                        
                        <!-- Begin Apatite Strategic Cloud Hint Veins -->
                        <Veins name='boplApatiteBaseHintVeins' block='BiomesOPlenty:gemOre:10' inherits='PresetHintVeins'>
                            <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. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60109D81</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                            <BiomeType name='Swamp'/>
                        </Veins>
                        <!-- End Apatite Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Apatite -->
                
                
                <!-- Begin  Vanilla distribution of Apatite -->
                <IfCondition condition=':= boplApatiteDist = "vanillaStdGen"'>
                
                    <StandardGen name='boplApatiteBaseStandard' block='BiomesOPlenty:gemOre:10' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60109D81</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * boplApatiteSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 12' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 2 * boplApatiteFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Swamp'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Apatite -->
                
                <!-- End Apatite Generation --> 

                
                <!-- Begin Sapphire Generation --> 
                
                <!-- Begin Sparse Veins distribution of Sapphire -->
                <IfCondition condition=':= boplSapphireDist = "sparseVeins"'>
                
                    <Veins name='boplSapphireBaseVeins' block='BiomesOPlenty:gemOre:12' inherits='PresetSparseVeins'>
                        <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>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x603494C3</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 0.5 * boplSapphireSize * _default_' range=':= 1 * 0.5 * boplSapphireSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 32' range=':= 12' type='normal' scaleTo='SeaLevel' />
                        <Setting name='SegmentRadius' avg=':= 1 * 0.5 * boplSapphireSize * _default_' range=':= 1 * 0.5 * boplSapphireSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.4 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 1.5 * boplSapphireFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.25 * _default_' range=':= 0.25 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Setting name='SegmentRadius' avg=':= 1 * 0.5 * boplSapphireSize * 0.7 * _default_' range=':= 1 * 0.5 * boplSapphireSize * 0.5 * _default_'/>
                        <Setting name='SegmentAngle' avg=':= 0.6' range=':= 0.40'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Ocean'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Sparse Veins distribution of Sapphire -->
                
                
                <!-- Begin  Strategic Cloud distribution of Sapphire -->
                <IfCondition condition=':= boplSapphireDist = "strategicCloud"'>
                
                    <Cloud name='boplSapphireBaseCloud' block='BiomesOPlenty:gemOre:12' inherits='PresetStrategicCloud'>
                        <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>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x603494C3</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.5 * boplSapphireSize * _default_' range=':= 1 * 0.5 * boplSapphireSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.5 * boplSapphireSize * _default_' range=':= 1 * 0.5 * boplSapphireSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 32' range=':= 12' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.3 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.5 * 0.5 * boplSapphireSize * _default_' range=':= 1 * 0.5 * 0.5 * boplSapphireSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4.5 * boplSapphireFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Ocean'/>
                        
                        <!-- Begin Sapphire Strategic Cloud Hint Veins -->
                        <Veins name='boplSapphireBaseHintVeins' block='BiomesOPlenty:gemOre:12' inherits='PresetHintVeins'>
                            <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. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x603494C3</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                            <BiomeType name='Ocean'/>
                        </Veins>
                        <!-- End Sapphire Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of Sapphire -->
                
                
                <!-- Begin  Vanilla distribution of Sapphire -->
                <IfCondition condition=':= boplSapphireDist = "vanillaStdGen"'>
                
                    <StandardGen name='boplSapphireBaseStandard' block='BiomesOPlenty:gemOre:12' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x603494C3</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * boplSapphireSize * _default_'/>
                        <Setting name='Height' avg=':= 16' range=':= 12' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 2 * boplSapphireFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Ocean'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Sapphire -->
                
                <!-- End Sapphire Generation --> 

                <!-- Done adding ores -->
            
            </IfCondition>
            <!-- Overworld Setup Complete -->

            <!-- Setup End -->
            <IfCondition condition=':= dimension.generator = "EndRandomLevelSource"'>
                
                <!-- Starting Original End Ore Removal -->
                <Substitute name='boplEndOreSubstitute0' block='minecraft:end_stone'>
                    <Description>
                        Replace vanilla-generated ore clusters.
                    </Description>
                    <Comment>
                        The global option deferredPopulationRange must be large enough to catch all ore clusters (>= 32).
                    </Comment>
                    <Replaces block='BiomesOPlenty:gemOre:0' />
                </Substitute>
                <!-- Original End Ore Removal Complete -->
                
                <!-- Adding ores --> 
                
                <!-- Begin EnderAmathyst Generation --> 
                
                <!-- Begin Layered Veins distribution of EnderAmathyst -->
                <IfCondition condition=':= boplEnderAmathystDist = "layeredVeins"'>
                
                    <Veins name='boplEnderAmathystBaseVeins' block='BiomesOPlenty:gemOre' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60DD4EEA</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * boplEnderAmathystSize * _default_' range=':= 1 * 1 * boplEnderAmathystSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='normal' scaleTo='SeaLevel'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * boplEnderAmathystSize * _default_' range=':= 1 * 1 * boplEnderAmathystSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * boplEnderAmathystFreq * _default_'/>
                        <Replaces block='minecraft:end_stone'/>
                    </Veins>
                
                </IfCondition>
                <!-- End Layered Veins distribution of EnderAmathyst -->
                
                
                <!-- Begin  Huge Veins distribution of EnderAmathyst -->
                <IfCondition condition=':= boplEnderAmathystDist = "hugeVeins"'>
                
                    <Veins name='boplEnderAmathystBaseVeins' block='BiomesOPlenty:gemOre' inherits='PresetHugeVeins'>
                        <Description>
                            Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
                            parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
                            branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
                            enough ore to keep a player supplied for a very long time.
                            The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork 
                            could make finding them much easier and the motherlodes are big enough to supply several people without
                            shortage.  This might be a good way to add challenge to multiplayer worlds.
                            Credit: based on feedback by dyrewulf from the MC forums.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60DD4EEA</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * boplEnderAmathystSize * _default_' range=':= 1 * 1 * boplEnderAmathystSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 120' range=':= 120' type='normal' scaleTo='SeaLevel' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * boplEnderAmathystSize * _default_' range=':= 1 * 1 * boplEnderAmathystSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 3 * 1 * boplEnderAmathystFreq * _default_'/>
                        <Replaces block='minecraft:end_stone'/>
                    </Veins>
                
                </IfCondition>
                <!-- End  Huge Veins distribution of EnderAmathyst -->
                
                
                <!-- Begin  Strategic Cloud distribution of EnderAmathyst -->
                <IfCondition condition=':= boplEnderAmathystDist = "strategicCloud"'>
                
                    <Cloud name='boplEnderAmathystBaseCloud' block='BiomesOPlenty:gemOre' inherits='PresetStrategicCloud'>
                        <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>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60DD4EEA</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 1 * boplEnderAmathystSize * _default_' range=':= 1 * 1 * boplEnderAmathystSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * boplEnderAmathystSize * _default_' range=':= 1 * 1 * boplEnderAmathystSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= 120' range=':= 120' type='normal' scaleTo='SeaLevel'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 1 * 1 * boplEnderAmathystSize * _default_' range=':= 1 * 1 * 1 * boplEnderAmathystSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 3 * 1 * boplEnderAmathystFreq *_default_'/>
                        <Replaces block='minecraft:end_stone'/>
                        
                        <!-- Begin EnderAmathyst Strategic Cloud Hint Veins -->
                        <Veins name='boplEnderAmathystBaseHintVeins' block='BiomesOPlenty:gemOre' inherits='PresetHintVeins'>
                            <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. 
                            </Description>
                            <DrawWireframe>:=drawWireframes</DrawWireframe>
                            <WireframeColor>0x60DD4EEA</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:end_stone'/>
                        </Veins>
                        <!-- End EnderAmathyst Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  Strategic Cloud distribution of EnderAmathyst -->
                
                
                <!-- Begin  Vanilla distribution of EnderAmathyst -->
                <IfCondition condition=':= boplEnderAmathystDist = "vanillaStdGen"'>
                
                    <StandardGen name='boplEnderAmathystBaseStandard' block='BiomesOPlenty:gemOre' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60DD4EEA</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * boplEnderAmathystSize * _default_'/>
                        <Setting name='Height' avg=':= 120' range=':= 120' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 3 * 1 * boplEnderAmathystFreq * _default_'/>
                        <Replaces block='minecraft:end_stone'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of EnderAmathyst -->
                
                <!-- End EnderAmathyst Generation --> 

                <!-- Done adding ores -->
            
            </IfCondition>
            <!-- End Setup Complete -->

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


<!-- This file was made using the Sprocket Configuration Generator. -->