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

Custom Ore Generation:   Forestry Module

Generates: 
Apatite, Copper, Tin

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

    <!-- Mod detection -->
    <IfModInstalled name="Forestry">
    
        <!-- Starting Configuration for Custom Ore Generation. -->
        <ConfigSection>
        
            
            <!-- Setup Screen Configuration -->
            <ConfigSection>
                <OptionDisplayGroup name='groupForestry' displayName='Forestry' displayState='shown'> 
                    <Description>
                        Distribution options for Forestry Ores.
                    </Description>
                </OptionDisplayGroup>
                
                <!-- Apatite Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='frstApatiteDist'  displayState='shown' displayGroup='groupForestry'> 
                        <Description> Controls how Apatite is generated </Description> 
                        <DisplayName>Forestry Apatite</DisplayName>
                        <Choice value='sparseVeins' displayValue='Sparse Veins'>
                            <Description>
                                Sparse 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='Apatite is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='frstApatiteFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupForestry'>
                        <Description> Frequency multiplier for Forestry Apatite distributions </Description>
                        <DisplayName>Forestry Apatite Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='frstApatiteSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupForestry'>
                        <Description> Size multiplier for Forestry Apatite distributions </Description>
                        <DisplayName>Forestry Apatite Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Apatite Configuration UI Complete -->
                
                
                <!-- Copper Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='frstCopperDist'  displayState='shown' displayGroup='groupForestry'> 
                        <Description> Controls how Copper is generated </Description> 
                        <DisplayName>Forestry Copper</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered 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='Copper is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='frstCopperFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupForestry'>
                        <Description> Frequency multiplier for Forestry Copper distributions </Description>
                        <DisplayName>Forestry Copper Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='frstCopperSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupForestry'>
                        <Description> Size multiplier for Forestry Copper distributions </Description>
                        <DisplayName>Forestry Copper Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Copper Configuration UI Complete -->
                
                
                <!-- Tin Configuration UI Starting -->
                <ConfigSection>
                    <OptionChoice name='frstTinDist'  displayState='shown' displayGroup='groupForestry'> 
                        <Description> Controls how Tin is generated </Description> 
                        <DisplayName>Forestry Tin</DisplayName>
                        <Choice value='layeredVeins' displayValue='Layered Veins'>
                            <Description>
                                Layered 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='Tin is not generated in the world.'/>
                    </OptionChoice>
                    <OptionNumeric name='frstTinFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupForestry'>
                        <Description> Frequency multiplier for Forestry Tin distributions </Description>
                        <DisplayName>Forestry Tin Freq.</DisplayName>
                    </OptionNumeric>
                    <OptionNumeric name='frstTinSize' default='1'  min='0' max='5' displayState=':= if(?advOptions,"shown","hidden")' displayGroup='groupForestry'>
                        <Description> Size multiplier for Forestry Tin distributions </Description>
                        <DisplayName>Forestry Tin Size</DisplayName>
                    </OptionNumeric>
                </ConfigSection> 
                <!-- Tin Configuration UI Complete -->
                
            </ConfigSection>
            <!-- Setup Screen Complete -->


            <!-- Setup Overworld -->
            <IfCondition condition=':= ?COGActive'>
                
                <!-- Starting Original Overworld Ore Removal -->
                <Substitute name='frstOverworldOreSubstitute0' 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='Forestry:resources:0' />
                    <Replaces block='Forestry:resources:1' />
                    <Replaces block='Forestry:resources:2' />
                </Substitute>
                <!-- Original Overworld Ore Removal Complete -->
                
                <!-- Adding ores --> 
                
                <!-- Begin Apatite Generation --> 
                
                <!-- Begin SparseVeins distribution of Apatite -->
                <IfCondition condition=':= frstApatiteDist = "sparseVeins"'>
                
                    <Veins name='frstApatiteBaseVeins' block='Forestry:resources' 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>0x6052BBEF</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * frstApatiteSize * _default_' range=':= 1 * 1 * frstApatiteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 60' range=':= 4' type='normal' scaleTo='Biome' />
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * frstApatiteSize * _default_' range=':= 1 * 1 * frstApatiteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.8 * frstApatiteFreq * _default_'/>
                        <Setting name='BranchLength' avg=':= 1.2 * _default_' range=':= 1 * _default_'/>
                        <Setting name='BranchInclination' avg=':= -_default_' range=':= 0'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                
                </IfCondition>
                <!-- End SparseVeins distribution of Apatite -->
                
                
                <!-- Begin  Huge Veins distribution of Apatite -->
                <IfCondition condition=':= frstApatiteDist = "hugeVeins"'>
                
                    <Veins name='frstApatiteBaseVeins' block='Forestry:resources' 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>0x6052BBEF</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * frstApatiteSize * _default_' range=':= 1 * 1 * frstApatiteSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 60' range=':= 4' type='normal' scaleTo='Biome' /> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * frstApatiteSize * _default_' range=':= 1 * 1 * frstApatiteSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.8 * frstApatiteFreq * _default_'/>
                        <Setting name='BranchLength' avg=':= 1.2 * _default_' range=':= 1 * _default_'/>
                        <Setting name='BranchInclination' avg=':= -_default_' range=':= 0'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Forest'/>
                    </Veins>
                
                </IfCondition>
                <!-- End  Huge Veins distribution of Apatite -->
                
                
                <!-- Begin  StrategicCloud distribution of Apatite -->
                <IfCondition condition=':= frstApatiteDist = "strategicCloud"'>
                
                    <Cloud name='frstApatiteBaseCloud' block='Forestry:resources' 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>0x6052BBEF</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.7 * frstApatiteSize * _default_' range=':= 1 * 0.7 * frstApatiteSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.7 * frstApatiteSize * _default_' range=':= 1 * 0.7 * frstApatiteSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= _default_' range=':= _default_' type='normal' scaleTo='Biome'/>
                        <Setting name='OreDensity' avg=':= 1 * 0.8 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.7 * 0.7 * frstApatiteSize * _default_' range=':= 1 * 0.7 * 0.7 * frstApatiteSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 4 * frstApatiteFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Forest'/>
                        
                        <!-- Begin Apatite Strategic Cloud Hint Veins -->
                        <Veins name='frstApatiteBaseHintVeins' block='Forestry:resources' 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>0x6052BBEF</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                            <BiomeType name='Forest'/>
                        </Veins>
                        <!-- End Apatite Strategic Cloud Hint Veins -->

                    </Cloud>
                
                </IfCondition>
                <!-- End  StrategicCloud distribution of Apatite -->
                
                
                <!-- Begin  Vanilla distribution of Apatite -->
                <IfCondition condition=':= frstApatiteDist = "vanillaStdGen"'>
                
                    <StandardGen name='frstApatiteBaseStandard' block='Forestry:resources' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x6052BBEF</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 1 * frstApatiteSize * _default_'/>
                        <Setting name='Height' avg=':= 54' range=':= 38' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 0.3 * frstApatiteFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                        <BiomeType name='Forest'/>
                    </StandardGen>
                
                </IfCondition>
                <!-- End  Vanilla distribution of Apatite -->
                
                <!-- End Apatite Generation --> 

                
                <!-- Begin Copper Generation --> 
                
                <!-- Begin LayeredVeins distribution of Copper -->
                <IfCondition condition=':= frstCopperDist = "layeredVeins"'>
                
                    <Veins name='frstCopperBaseVeins' block='Forestry:resources:1' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60E3B78E</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * frstCopperSize * _default_' range=':= 1 * 1 * frstCopperSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 40' range=':= 12' type='normal' scaleTo='Biome'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * frstCopperSize * _default_' range=':= 1 * 1 * frstCopperSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.75 * frstCopperFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.7 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Copper Layered Veins) Settings -->
                    <Veins name='frstCopperPrefersVeins' block='Forestry:resources:1' inherits='frstCopperBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60E3B78E</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Jungle'/>
                        <BiomeType name='Mountain'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Copper Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End LayeredVeins distribution of Copper -->
                
                
                <!-- Begin  StrategicCloud distribution of Copper -->
                <IfCondition condition=':= frstCopperDist = "strategicCloud"'>
                
                    <Cloud name='frstCopperBaseCloud' block='Forestry:resources:1' 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>0x60E3B78E</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.85 * frstCopperSize * _default_' range=':= 1 * 0.85 * frstCopperSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.85 * frstCopperSize * _default_' range=':= 1 * 0.85 * frstCopperSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= _default_' range=':= _default_' type='normal' scaleTo='Biome'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.9 * 0.85 * frstCopperSize * _default_' range=':= 1 * 0.9 * 0.85 * frstCopperSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 2.5 * frstCopperFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Copper Strategic Cloud Hint Veins -->
                        <Veins name='frstCopperBaseHintVeins' block='Forestry:resources:1' 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>0x60E3B78E</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Copper Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  StrategicCloud distribution of Copper -->
                
                
                <!-- Begin  Vanilla distribution of Copper -->
                <IfCondition condition=':= frstCopperDist = "vanillaStdGen"'>
                
                    <StandardGen name='frstCopperBaseStandard' block='Forestry:resources:1' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60E3B78E</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 0.75 * frstCopperSize * _default_'/>
                        <Setting name='Height' avg=':= 38' range=':= 38' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 1 * frstCopperFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Copper -->
                
                <!-- End Copper Generation --> 

                
                <!-- Begin Tin Generation --> 
                
                <!-- Begin LayeredVeins distribution of Tin -->
                <IfCondition condition=':= frstTinDist = "layeredVeins"'>
                
                    <Veins name='frstTinBaseVeins' block='Forestry:resources:2' inherits='PresetLayeredVeins'>
                        <Description>
                            Small, fairly rare motherlodes with 2-4 horizontal veins each.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60D1EDF1</WireframeColor>
                        <Setting name='MotherlodeSize' avg=':= 1 * 1 * frstTinSize * _default_' range=':= 1 * 1 * frstTinSize * _default_'/>
                        <Setting name='MotherlodeHeight' avg=':= 30' range=':= 11' type='normal' scaleTo='Biome'/> 
                        <Setting name='SegmentRadius' avg=':= 1 * 1 * frstTinSize * _default_' range=':= 1 * 1 * frstTinSize * _default_'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='MotherlodeFrequency' avg=':= 1 * 0.70 * frstTinFreq * _default_'/>
                        <Setting name='BranchFrequency' avg=':= 0.7 * _default_'/>
                        <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 1 * _default_'/>
                        <Setting name='BranchHeightLimit' avg=':= 10'/>
                        <Replaces block='minecraft:stone'/>
                    </Veins>
                    
                    <!-- Begin Preferred Biome Distribution (Tin Layered Veins) Settings -->
                    <Veins name='frstTinPrefersVeins' block='Forestry:resources:2' inherits='frstTinBaseVeins'>
                        <Description>
                            Spawns 2 more times in preferred biomes.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60D1EDF1</WireframeColor>
                        <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
                        <BiomeType name='Plains'/>
                    </Veins>
                    <!-- End Preferred Biome Distribution (Tin Layered Veins) Settings -->
                
                </IfCondition>
                <!-- End LayeredVeins distribution of Tin -->
                
                
                <!-- Begin  StrategicCloud distribution of Tin -->
                <IfCondition condition=':= frstTinDist = "strategicCloud"'>
                
                    <Cloud name='frstTinBaseCloud' block='Forestry:resources: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>0x60D1EDF1</WireframeColor>
                        <Setting name='CloudRadius' avg=':= 1 * 0.85 * frstTinSize * _default_' range=':= 1 * 0.85 * frstTinSize * _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.85 * frstTinSize * _default_' range=':= 1 * 0.85 * frstTinSize * _default_'/>
                        <Setting name='CloudHeight' avg=':= _default_' range=':= _default_' type='normal' scaleTo='Biome'/>
                        <Setting name='OreDensity' avg=':= 1 * 1 * _default_' range=':= _default_'/>
                        <Setting name='CloudThickness' avg=':= 1 * 0.9 * 0.85 * frstTinSize * _default_' range=':= 1 * 0.9 * 0.85 * frstTinSize  * _default_'/>
                        <Setting name='DistributionFrequency' avg=':= 1 * 2.5 * frstTinFreq *_default_'/>
                        <Replaces block='minecraft:stone'/>
                        
                        <!-- Begin Tin Strategic Cloud Hint Veins -->
                        <Veins name='frstTinBaseHintVeins' block='Forestry:resources: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>0x60D1EDF1</WireframeColor>
                            <Replaces block='minecraft:dirt'/>
                            <Replaces block='minecraft:sandstone'/>
                            <Replaces block='minecraft:stone'/>
                        </Veins>
                        <!-- End Tin Strategic Cloud Hint Veins -->

                    </Cloud>
                    
                
                </IfCondition>
                <!-- End  StrategicCloud distribution of Tin -->
                
                
                <!-- Begin  Vanilla distribution of Tin -->
                <IfCondition condition=':= frstTinDist = "vanillaStdGen"'>
                
                    <StandardGen name='frstTinBaseStandard' block='Forestry:resources:2' inherits='PresetStandardGen'>
                        <Description>
                            This mimics vanilla ore generation.
                        </Description>
                        <DrawWireframe>:=drawWireframes</DrawWireframe>
                        <WireframeColor>0x60D1EDF1</WireframeColor>
                        <Setting name='Size' avg=':= 1 * 0.75 * frstTinSize * _default_'/>
                        <Setting name='Height' avg=':= 38' range=':= 38' type='uniform'/> 
                        <Setting name='Frequency' avg=':= 1 * 0.9 * frstTinFreq * _default_'/>
                        <Replaces block='minecraft:stone'/>
                    </StandardGen>
                    
                
                </IfCondition>
                <!-- End  Vanilla distribution of Tin -->
                
                <!-- End Tin Generation --> 

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

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


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