Advertisement
keybounce

MinecraftOres.xml

May 3rd, 2013
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 65.60 KB | None | 0 0
  1. <!--************************  CustomOreGen Minecraft Ores Module *********************************
  2. *
  3. *   This file contains Presets, Options, and Distributions for the 7 vanilla minecraft ores:
  4. *       Coal, Iron, Gold, Redstone, Diamond, Lapis Lazuli, and Emerald.
  5. *
  6. ***********************************************************************************************-->
  7. <ConfigSection>
  8.  
  9.     <!--***************************   Options + Symbols   ***********************************
  10.    *
  11.    *   Below are options and symbols for Coal, Iron, Gold, Redstone, Diamond, Lapis Lazuli,
  12.    *   and Emerald.  Each ore has a "type" option corresponding to select which distribution
  13.    *   is used for that ore in the overworld, and 3 mystcraft symbols for selecting
  14.    *   distributions in mystcraft ages.
  15.    *
  16.    *   Each ore also has its own overall "frequency" and "size" multipliers.  These are
  17.    *   provided so people can tweak the rarity of each ore from the options file rather
  18.    *   than having to edit the config directly.
  19.    *
  20.    *************************************************************************************-->
  21.     <ConfigSection>
  22.    
  23.         <OptionDisplayGroup name='groupStdOres' displayName='Minecraft Ores' displayState='shown'>
  24.             <Description>
  25.                 Distribution options for the vanilla Minecraft ores.
  26.             </Description>
  27.         </OptionDisplayGroup>
  28.  
  29. <!-- Again, do not let these defaults get defined in dimension 0.
  30. Some special defaults for that. -->
  31.  
  32.         <!--*******************   Coal   ***********************-->
  33.         <ConfigSection>
  34.        
  35.             <OptionChoice name='coalDist' default='layeredVeins' displayState='shown' displayGroup='groupStdOres'>
  36.                 <Description> Controls how Coal is generated </Description>
  37.                 <DisplayName>Coal Type</DisplayName>
  38.                 <Choice value='layeredVeins' displayValue='Veins'>
  39.                     <Description>
  40.                         Single short, wide veins found near ground level and only sparsely filled with ore.  Most common in swamps.  
  41.                     </Description>
  42.                 </Choice>
  43.                 <Choice value='strategicClouds' displayValue='Clouds'>
  44.                     <Description>
  45.                         Rare, sparsely populated clouds of ore extending over several chunks.  Found only in swamps.
  46.                     </Description>
  47.                 </Choice>
  48.                 <Choice value='vanillaStdGen' displayValue='Clusters'>
  49.                     <Description>
  50.                         Small evenly scattered clusters of ore.  This is the vanilla coal generation.
  51.                     </Description>
  52.                 </Choice>
  53.                 <Choice value='none' displayValue='None' description='No coal is generated at all.'/>
  54.             </OptionChoice>
  55.            
  56.             <OptionNumeric name='coalFreq' default='1'  min='0' max='5' displayState='hidden' displayGroup='groupStdOres'>
  57.                 <Description> Frequency multiplier for Coal distributions </Description>
  58.                 <DisplayName>Coal Freq.</DisplayName>
  59.             </OptionNumeric>
  60.            
  61.             <OptionNumeric name='coalSize' default='1'  min='0' max='5' displayState='hidden' displayGroup='groupStdOres'>
  62.                 <Description> Size multiplier for Coal distributions </Description>
  63.                 <DisplayName>Coal Size</DisplayName>
  64.             </OptionNumeric>
  65.  
  66.             <MystcraftSymbol name='coalClusters' displayName='Coal Clusters'/>
  67.             <MystcraftSymbol name='coalVeins' displayName='Coal Veins'/>
  68.             <MystcraftSymbol name='coalClouds' displayName='Coal Clouds'>
  69.                 <Instability>:= 50 * (max(1, age.coalClusters + age.coalVeins + age.coalClouds) - 1)^3</Instability>
  70.             </MystcraftSymbol>
  71.        
  72.         </ConfigSection>        
  73.            
  74.         <!--*******************   Iron   ***********************-->
  75.         <ConfigSection>
  76.            
  77.             <OptionChoice name='ironDist' default='layeredVeins' displayState='shown' displayGroup='groupStdOres'>
  78.                 <Description> Controls how Iron is generated </Description>
  79.                 <DisplayName>Iron Type</DisplayName>
  80.                 <Choice value='layeredVeins' displayValue='Veins'>
  81.                     <Description>
  82.                         Groups of long narrow veins found about one third of the way down to bedrock.  Especially common in snowy or icy areas.  
  83.                     </Description>
  84.                 </Choice>
  85.                 <Choice value='strategicClouds' displayValue='Clouds'>
  86.                     <Description>
  87.                         Rare, sparsely populated clouds of ore extending over several chunks.  Found only in snowy or icy areas.
  88.                     </Description>
  89.                 </Choice>
  90.                 <Choice value='vanillaStdGen' displayValue='Clusters'>
  91.                     <Description>
  92.                         Small evenly scattered clusters of ore.  This is the vanilla iron generation.
  93.                     </Description>
  94.                 </Choice>
  95.                 <Choice value='none' displayValue='None' description='No iron is generated at all.'/>
  96.             </OptionChoice>
  97.            
  98.             <OptionNumeric name='ironFreq' default='1'  min='0' max='5' displayState='hidden' displayGroup='groupStdOres'>
  99.                 <Description> Frequency multiplier for Iron distributions </Description>
  100.                 <DisplayName>Iron Freq.</DisplayName>
  101.             </OptionNumeric>
  102.            
  103.             <OptionNumeric name='ironSize' default='1'  min='0' max='5' displayState='hidden' displayGroup='groupStdOres'>
  104.                 <Description> Size multiplier for Iron distributions </Description>
  105.                 <DisplayName>Iron Size</DisplayName>
  106.             </OptionNumeric>    
  107.            
  108.             <MystcraftSymbol name='ironClusters' displayName='Iron Clusters'/>
  109.             <MystcraftSymbol name='ironVeins' displayName='Iron Veins'/>
  110.             <MystcraftSymbol name='ironClouds' displayName='Iron Clouds'>
  111.                 <Instability>:= 50 * (max(1, age.ironClusters + age.ironVeins + age.ironClouds) - 1)^3</Instability>
  112.             </MystcraftSymbol>
  113.            
  114.         </ConfigSection>          
  115.        
  116.         <!--*******************   Gold   ***********************-->
  117.         <ConfigSection>
  118.        
  119.             <OptionChoice name='goldDist' default='layeredVeins' displayState='shown' displayGroup='groupStdOres'>
  120.                 <Description> Controls how Gold is generated </Description>
  121.                 <DisplayName>Gold Type</DisplayName>
  122.                 <Choice value='layeredVeins' displayValue='Veins'>
  123.                     <Description>
  124.                         Groups of long narrow veins found about two thirds of the way down to bedrock.  Most common in temperate hardwood forests, but still very rare.
  125.                     </Description>
  126.                 </Choice>
  127.                 <Choice value='strategicClouds' displayValue='Clouds'>
  128.                     <Description>
  129.                         Rare, sparsely populated clouds of ore extending over several chunks.  Found only in temperate hardwood forests.
  130.                     </Description>
  131.                 </Choice>
  132.                 <Choice value='vanillaStdGen' displayValue='Clusters'>
  133.                     <Description>
  134.                         Small clusters of ore scattered evenly from bedrock about halfway to the surface.  This is the vanilla gold generation.
  135.                     </Description>
  136.                 </Choice>
  137.                 <Choice value='none' displayValue='None' description='No gold is generated at all.'/>
  138.             </OptionChoice>
  139.            
  140.             <OptionNumeric name='goldFreq' default='1'  min='0' max='5' displayState='hidden' displayGroup='groupStdOres'>
  141.                 <Description> Frequency multiplier for Gold distributions </Description>
  142.                 <DisplayName>Gold Freq.</DisplayName>
  143.             </OptionNumeric>
  144.            
  145.             <OptionNumeric name='goldSize' default='1'  min='0' max='5' displayState='hidden' displayGroup='groupStdOres'>
  146.                 <Description> Size multiplier for Gold distributions </Description>
  147.                 <DisplayName>Gold Size</DisplayName>
  148.             </OptionNumeric>
  149.            
  150.             <MystcraftSymbol name='goldClusters' displayName='Gold Clusters'/>
  151.             <MystcraftSymbol name='goldVeins' displayName='Gold Veins'/>
  152.             <MystcraftSymbol name='goldClouds' displayName='Gold Clouds'>
  153.                 <Instability>:= 50 * (max(1, age.goldClusters + age.goldVeins + age.goldClouds) - 1)^3</Instability>
  154.             </MystcraftSymbol>
  155.            
  156.         </ConfigSection>          
  157.        
  158.         <!--*****************   Redstone   *********************-->
  159.         <ConfigSection>        
  160.        
  161.             <OptionChoice name='redstoneDist' default='layeredVeins' displayState='shown' displayGroup='groupStdOres'>
  162.                 <Description> Controls how Redstone is generated </Description>
  163.                 <DisplayName>Redstone Type</DisplayName>
  164.                 <Choice value='layeredVeins' displayValue='Veins'>
  165.                     <Description>
  166.                         Single vertical veins starting near the surface and extending down about halfway to bedrock.  Most common in desert climates.
  167.                     </Description>
  168.                 </Choice>
  169.                 <Choice value='strategicClouds' displayValue='Clouds'>
  170.                     <Description>
  171.                         Rare, sparsely populated clouds of ore extending over several chunks.  Found only in desert climates.
  172.                     </Description>
  173.                 </Choice>
  174.                 <Choice value='vanillaStdGen' displayValue='Clusters'>
  175.                     <Description>
  176.                         Small clusters of ore scattered evenly from bedrock about one quarter of the way to the surface.  This is the vanilla redstone generation.
  177.                     </Description>
  178.                 </Choice>
  179.                 <Choice value='none' displayValue='None' description='No redstone is generated at all.'/>
  180.             </OptionChoice>
  181.            
  182.             <OptionNumeric name='redstoneFreq' default='1'  min='0' max='5' displayState='hidden' displayGroup='groupStdOres'>
  183.                 <Description> Frequency multiplier for Redstone distributions </Description>
  184.                 <DisplayName>Redstone Freq.</DisplayName>
  185.             </OptionNumeric>
  186.            
  187.             <OptionNumeric name='redstoneSize' default='1'  min='0' max='5' displayState='hidden' displayGroup='groupStdOres'>
  188.                 <Description> Size multiplier for Redstone distributions </Description>
  189.                 <DisplayName>Redstone Size</DisplayName>
  190.             </OptionNumeric>    
  191.                
  192.             <MystcraftSymbol name='redstoneClusters' displayName='Redstone Clusters'/>
  193.             <MystcraftSymbol name='redstoneVeins' displayName='Redstone Veins'/>
  194.             <MystcraftSymbol name='redstoneClouds' displayName='Redstone Clouds'>
  195.                 <Instability>:= 50 * (max(1, age.redstoneClusters + age.redstoneVeins + age.redstoneClouds) - 1)^3</Instability>
  196.             </MystcraftSymbol>
  197.            
  198.         </ConfigSection>          
  199.        
  200.         <!--*****************   Diamond   **********************-->
  201.         <ConfigSection>
  202.        
  203.             <OptionChoice name='diamondDist' default='layeredVeins' displayState='shown' displayGroup='groupStdOres'>
  204.                 <Description> Controls how Diamonds are generated </Description>
  205.                 <DisplayName>Diamond Type</DisplayName>
  206.                 <Choice value='layeredVeins' displayValue='Veins'>
  207.                     <Description>
  208.                         Short lava-filled tubes extending upward from bedrock with diamonds around the edges.
  209.                     </Description>
  210.                 </Choice>
  211.                 <Choice value='strategicClouds' displayValue='Clouds'>
  212.                     <Description>
  213.                         Uncommon, sparsely populated clouds of ore covering roughly one chunk.
  214.                     </Description>
  215.                 </Choice>
  216.                 <Choice value='vanillaStdGen' displayValue='Clusters'>
  217.                     <Description>
  218.                         Small clusters of ore scattered evenly from bedrock about one quarter of the way to the surface.  This is the vanilla diamond generation.
  219.                     </Description>
  220.                 </Choice>
  221.                 <Choice value='none' displayValue='None' description='No diamonds are generated at all.'/>
  222.             </OptionChoice>
  223.            
  224.             <OptionNumeric name='diamondFreq' default='1'  min='0' max='5' displayState='hidden' displayGroup='groupStdOres'>
  225.                 <Description> Frequency multiplier for Diamond distributions </Description>
  226.                 <DisplayName>Diamond Freq.</DisplayName>
  227.             </OptionNumeric>
  228.            
  229.             <OptionNumeric name='diamondSize' default='1'  min='0' max='5' displayState='hidden' displayGroup='groupStdOres'>
  230.                 <Description> Size multiplier for Diamond distributions </Description>
  231.                 <DisplayName>Diamond Size</DisplayName>
  232.             </OptionNumeric>    
  233.                
  234.             <MystcraftSymbol name='diamondClusters' displayName='Diamond Clusters'/>
  235.             <MystcraftSymbol name='diamondVeins' displayName='Diamond Veins'/>
  236.             <MystcraftSymbol name='diamondClouds' displayName='Diamond Clouds'>
  237.                 <Instability>:= 50 * (max(1, age.diamondClusters + age.diamondVeins + age.diamondClouds) - 1)^3</Instability>
  238.             </MystcraftSymbol>
  239.            
  240.         </ConfigSection>          
  241.        
  242.         <!--***************   Lapis Lazuli   *******************-->
  243.         <ConfigSection>
  244.        
  245.             <OptionChoice name='lapisDist' default='layeredVeins' displayState='shown' displayGroup='groupStdOres'>
  246.                 <Description> Controls how Lapis Lazuli is generated </Description>
  247.                 <DisplayName>Lapis Lazuli Type</DisplayName>
  248.                 <Choice value='layeredVeins' displayValue='Veins'>
  249.                     <Description>
  250.                         Single vertical veins starting near bedrock and extending about halfway to the surface.  Most common under ocean floors.
  251.                     </Description>
  252.                 </Choice>
  253.                 <Choice value='strategicClouds' displayValue='Clouds'>
  254.                     <Description>
  255.                         Rare, sparsely populated clouds of ore extending over several chunks.  Found only under oceans.
  256.                     </Description>
  257.                 </Choice>
  258.                 <Choice value='vanillaStdGen' displayValue='Clusters'>
  259.                     <Description>
  260.                         Small clusters of ore scattered evenly from bedrock about halfway to the surface.  This is the vanilla lapis lazuli generation.
  261.                     </Description>
  262.                 </Choice>
  263.                 <Choice value='none' displayValue='None' description='No lapis lazuli is generated at all.'/>
  264.             </OptionChoice>
  265.            
  266.             <OptionNumeric name='lapisFreq' default='1'  min='0' max='5' displayState='hidden' displayGroup='groupStdOres'>
  267.                 <Description> Frequency multiplier for Lapis Lazuli distributions </Description>
  268.                 <DisplayName>Lapis Lazuli Freq.</DisplayName>
  269.             </OptionNumeric>
  270.            
  271.             <OptionNumeric name='lapisSize' default='1'  min='0' max='5' displayState='hidden' displayGroup='groupStdOres'>
  272.                 <Description> Size multiplier for Lapis Lazuli distributions </Description>
  273.                 <DisplayName>Lapis Lazuli Size</DisplayName>
  274.             </OptionNumeric>    
  275.            
  276.             <MystcraftSymbol name='lapisClusters' displayName='Lapis Lazuli Clusters'/>
  277.             <MystcraftSymbol name='lapisVeins' displayName='Lapis Lazuli Veins'/>
  278.             <MystcraftSymbol name='lapisClouds' displayName='Lapis Lazuli Clouds'>
  279.                 <Instability>:= 50 * (max(1, age.lapisClusters + age.lapisVeins + age.lapisClouds) - 1)^3</Instability>
  280.             </MystcraftSymbol>
  281.            
  282.         </ConfigSection>          
  283.        
  284.         <!--*****************   Emerald   **********************-->
  285.         <ConfigSection>
  286.        
  287.             <OptionChoice name='emeraldDist' default='layeredVeins' displayState='shown' displayGroup='groupStdOres'>
  288.                 <Description> Controls how Emeralds are generated </Description>
  289.                 <DisplayName>Emerald Type</DisplayName>
  290.                 <Choice value='layeredVeins' displayValue='Veins'>
  291.                     <Description>
  292.                         Short sloping tubes filled sparsely with emeralds and a few ... surprises.  Vastly more common under open grassy hills.
  293.                     </Description>
  294.                 </Choice>
  295.                 <Choice value='strategicClouds' displayValue='Clouds'>
  296.                     <Description>
  297.                         Uncommon, sparsely populated clouds of ore covering roughly one chunk.  Found only under open grassy hills.
  298.                     </Description>
  299.                 </Choice>
  300.                 <Choice value='vanillaStdGen' displayValue='Clusters'>
  301.                     <Description>
  302.                         Single blocks scattered near bedrock under open grassy highlands.  This is the vanilla emerald generation.
  303.                     </Description>
  304.                 </Choice>
  305.                 <Choice value='none' displayValue='None' description='No emeralds are generated at all.'/>
  306.             </OptionChoice>
  307.            
  308.             <OptionNumeric name='emeraldFreq' default='1'  min='0' max='5' displayState='hidden' displayGroup='groupStdOres'>
  309.                 <Description> Frequency multiplier for Emerald distributions </Description>
  310.                 <DisplayName>Emerald Freq.</DisplayName>
  311.             </OptionNumeric>
  312.            
  313.             <OptionNumeric name='emeraldSize' default='1'  min='0' max='5' displayState='hidden' displayGroup='groupStdOres'>
  314.                 <Description> Size multiplier for Emerald distributions </Description>
  315.                 <DisplayName>Emerald Size</DisplayName>
  316.             </OptionNumeric>
  317.            
  318.             <MystcraftSymbol name='emeraldClusters' displayName='Emerald Clusters'/>
  319.             <MystcraftSymbol name='emeraldVeins' displayName='Emerald Veins'/>
  320.             <MystcraftSymbol name='emeraldClouds' displayName='Emerald Clouds'>
  321.                 <Instability>:= 50 * (max(1, age.emeraldClusters + age.emeraldVeins + age.emeraldClouds) - 1)^3</Instability>
  322.             </MystcraftSymbol>
  323.  
  324.         </ConfigSection>
  325.        
  326.      </ConfigSection>    
  327.    
  328.     <!--*****************************   Distributions   *************************************
  329.    *  
  330.    *   Below are the actual distributions for the vanilla ores in the overworld and
  331.    *   mystcraft ages.  There are currently 3 types of distribution for each ore:
  332.    *     Layered Veins:  
  333.    *       Some form of veins or clusters arranged loosely by height and more common
  334.    *       in affiliated biomes.
  335.    *     Strategic Clouds:  
  336.    *       Huge, rare, low-density clouds.  Size and frequency are fairly consistent;
  337.    *       density is varied to reflect ore rarity.  May be surrounded by a scattering
  338.    *       of single blocks as hints to help guide players in.
  339.    *     Vanilla Clusters:
  340.    *       A re-creation of the vanilla ore generation using the StandardGen algorithm.
  341.    *
  342.    *************************************************************************************-->
  343.     <IfCondition condition=':= (dimension.generator = "RandomLevelSource")
  344.                                 | ( dimension.generator = "TwilightLevelSource" )
  345.    '>
  346. <!--                             | (dimension.generator.class = "ChunkProviderTwilightForest") '>
  347. == either of these works -->
  348.        
  349.         <!--**********   Vanilla Deposit Removal   *************-->
  350.         <Substitute name='StandardOreSubstitute' block='stone'>
  351.             <Description>
  352.                 Replace vanilla-generated ore clusters with stone.  
  353.             </Description>
  354.             <Comment>  
  355.                 The global option deferredPopulationRange must be large enough to catch all ore clusters (>= 32).
  356.             </Comment>
  357.             <maxHeight>:= if (dimension.generator = "TwilightLevelSource", 27.6, 255)
  358.                </maxHeight> <!-- Replace Y=1 to Y=27; do not replace Y=28 or above -->
  359.             <Comment>
  360. Hollow hills have floor air at 27, floor ground at 26. However, all
  361. ground ores seem to be random. The rewards seem to mostly be 30 and up,
  362. sometimes 29 and up. I have seen 25, once.
  363.             </Comment>
  364.             <Replaces block='oreCoal'/>
  365.             <Replaces block='oreIron'/>
  366.             <Replaces block='oreGold'/>
  367.             <Replaces block='oreRedstone'/>
  368.             <Replaces block='oreDiamond'/>
  369.             <Replaces block='oreLapis'/>
  370.             <Replaces block='oreEmerald'/>
  371.         </Substitute>
  372.  
  373.         <!--*****************   Emerald   **********************-->
  374.         <ConfigSection>
  375.  
  376.             <IfCondition condition=':= if(age
  377.                    &amp; (age.emeraldClusters + age.emeraldVeins + age.emeraldClouds > 0 )
  378.                     , age.emeraldClusters > 0, emeraldDist = "vanillaStdGen")'>
  379.                 <StandardGen name='EmeraldStandard' block='oreEmerald' inherits='PresetStandardGen'>
  380.                     <Description> Equivalent to vanilla minecraft diamond distribution </Description>
  381.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  382.                     <WireframeColor>0x40339966</WireframeColor>
  383.                     <Setting name='Size' avg=':= 2/8 * emeraldSize * _default_'/>
  384.                     <Setting name='Frequency' avg=':= 6/20 * emeraldFreq * if(age,max(age.emeraldClusters,1),1) * _default_'
  385.                                              range=':= 2 * emeraldFreq * if(age,max(age.emeraldClusters,1),1)'/>
  386.                     <Setting name='Height' avg=':= 18/64 * dimension.groundLevel' range=':= 14/64 * dimension.groundLevel'/>
  387.                     <Biome name='Extreme\s*Hills'/>
  388.                     <Biome name='Extreme\s*Hills\s*Edge'/>
  389.                     <Biome name='Green\s*Hills'/> <Comment> ExtraBiomesXL </Comment>
  390.                     <Biome name='Highlands'/> <Comment> Twilight Forest </Comment>
  391.                     <Biome name='Enchanted Forest'/> <Comment> Twilight Forest </Comment>
  392.                 </StandardGen>  
  393.             </IfCondition>        
  394.                
  395.             <IfCondition condition=':= if(age
  396.                    &amp; (age.emeraldClusters + age.emeraldVeins + age.emeraldClouds > 0 )
  397.                     , age.emeraldVeins > 0, emeraldDist = "layeredVeins")'>
  398.                 <Veins name="EmeraldVeins" block='oreEmerald' inherits='PresetPipeVeins' seed='0x3966'>
  399.                     <Description> Short sparsely filled tubes.  5x more common in Extreme Hills. </Description>
  400.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  401.                     <WireframeColor>0x40339966</WireframeColor>
  402.                     <Setting name='MotherlodeFrequency' avg=':= 0.9 * emeraldFreq * if(age,max(age.emeraldVeins,1),1) * _default_'/>
  403.                     <!-- Start from 10 to 24, and slope upwards (see Inclination). Emerald should be distributed over a wide range
  404.                         to make finding it harder. In the spirit of Jeb, "common" but hard to find. -->
  405.                     <Setting name='MotherlodeHeight' avg=':= 17/64 * dimension.groundLevel' range=':= 7/64 * dimension.groundLevel'/>
  406.                     <Setting name='MotherlodeSize' avg=':= 0.85 * emeraldSize * _default_' range=':= 0.7 * emeraldSize * _default_'/>
  407.                     <Setting name='BranchInclination' avg='0.55' range='0.7' type='normal'/>
  408.                     <!-- Segment radius changed from 0.85 to 1.00. See the fish distribution below -->
  409.                     <Setting name='SegmentRadius' avg=':= 1.00 * emeraldSize * _default_' range=':= 0.7 * emeraldSize * _default_'/>
  410.                     <Setting name='OreDensity' avg=':= 1.2 * _default_'/>
  411.                     <Biome name='.*' weight='0.20'/>
  412.                     <Biome name='Extreme\s*Hills'/>
  413.                     <Biome name='Extreme\s*Hills\s*Edge'/>
  414.                     <Biome name='Green\s*Hills'/> <Comment> ExtraBiomesXL </Comment>
  415.                     <Biome name='Highlands'/> <Comment> Twilight Forest </Comment>
  416.                     <Biome name='Enchanted Forest'/> <Comment> Twilight Forest </Comment>
  417.                 </Veins>
  418.                 <Veins name="EmeraldVeinsSilverfish" block='monsterStoneEgg' inherits='EmeraldVeins' seed='0x3966'>
  419.                     <Description>
  420.                         Fill center of tubes with silverfish spawners.
  421.                         Credit: based on novel examples by AnonymousViking from the MC forums.
  422.                     </Description>
  423.                     <Setting name='MotherlodeSize' avg='0.51' range='0.1'/>
  424.                     <!-- Fish radius changed from contant 0.51 to a minimum of 0.709. No more "fishless emeralds". -->
  425.                     <Setting name='SegmentRadius' avg=':= max(0.51 * _default_, 0.709)' range='0.1'/>
  426.                     <Setting name='OreDensity' avg='1' range='0'/>
  427.                     <Replaces block='stone'/>
  428.                     <Replaces block='oreEmerald'/>
  429.                 </Veins>
  430.             </IfCondition>
  431.                
  432.             <IfCondition condition=':= if(age
  433.                    &amp; (age.emeraldClusters + age.emeraldVeins + age.emeraldClouds > 0 )
  434.                     , age.emeraldClouds > 0, emeraldDist = "strategicClouds")'>
  435.                 <Cloud name='EmeraldCloud' block='oreEmerald' inherits='PresetStrategicCloud'>
  436.                     <Description>  
  437.                         Diffuse emerald cloud with no internal density noise, found in extreme hills.
  438.                     </Description>
  439.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  440.                     <WireframeColor>0x40339966</WireframeColor>                
  441.                     <Setting name='DistributionFrequency' avg=':= 45 * emeraldFreq * if(age,max(age.emeraldClouds,1),1) * _default_'/>
  442.                     <Setting name='CloudRadius' avg=':= 0.4 * emeraldSize * _default_' range=':= 0.4 * emeraldSize * _default_'/>
  443.                     <Setting name='CloudThickness' avg=':= 0.2 * emeraldSize * _default_' range=':= 0.17 * emeraldSize * _default_'/>
  444.                     <Setting name='CloudHeight' avg=':= 20/64 * dimension.groundLevel' range=':= 5/64 * dimension.groundLevel'/>
  445.                     <Setting name='OreRadiusMult' avg='1' range='0.2'/>
  446.                     <Setting name='OreDensity' avg=':= 0.4 * _default_'/>
  447.                     <Setting name='OreVolumeNoiseCutoff' avg='0'/>  
  448.                     <Biome name='Extreme\s*Hills'/>
  449.                     <Biome name='Extreme\s*Hills\s*Edge'/>
  450.                     <Biome name='Green\s*Hills'/> <Comment> ExtraBiomesXL </Comment>
  451.                     <Biome name='Highlands'/> <Comment> Twilight Forest </Comment>
  452.                     <Biome name='Enchanted Forest'/> <Comment> Twilight Forest </Comment>
  453.                 </Cloud>
  454.             </IfCondition>
  455.            
  456.         </ConfigSection>
  457.  
  458.         <!--*******************   Coal   ***********************-->
  459.         <ConfigSection>
  460.        
  461.             <IfCondition condition=':= if(age
  462.                    &amp; (age.coalClusters + age.coalVeins + age.coalClouds > 0 )
  463.                     , age.coalClusters > 0, coalDist = "vanillaStdGen")'>    
  464.                 <StandardGen name='CoalStandard' block='oreCoal' inherits='PresetStandardGen'>
  465.                     <Description> Equivalent to vanilla minecraft coal distribution </Description>
  466.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  467.                     <WireframeColor>0x60101010</WireframeColor>
  468.                     <Setting name='Size' avg=':= 2 * coalSize * _default_'/>
  469.                     <Setting name='Frequency' avg=':= coalFreq * if(age,max(age.coalClusters,1),1)
  470.                          * if (dimension.generator = "TwilightLevelSource", 0.75, 1)
  471. * _default_'/>
  472.                           <!-- Twilight forest substitute leaves coal and iron in the hills -->
  473.                 </StandardGen>
  474.             </IfCondition>  
  475.            
  476.             <IfCondition condition=':= if(age
  477.                    &amp; (age.coalClusters + age.coalVeins + age.coalClouds > 0 )
  478.                     , age.coalVeins > 0, coalDist = "layeredVeins")'>    
  479.                 <Veins name='CoalVeins' block='oreCoal' inherits='PresetSparseVeins'>    
  480.                     <Description>
  481.                         Coal spawns just near the surface, and up into hills and mountains.  The veins are
  482.                         long and thick, but sparsely filled with ore and often broken up by caves or depressions
  483.                         in the terrain.
  484.                     </Description>
  485.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  486.                     <WireframeColor>0x60101010</WireframeColor>
  487.                     <Setting name='MotherlodeFrequency' avg=':= 10.7 * coalFreq * if(age,max(age.coalVeins,1),1)
  488.                          * if (dimension.generator = "TwilightLevelSource", 0.75, 1)
  489. * _default_'/>
  490.                           <!-- Twilight forest substitute leaves coal and iron in the hills -->
  491.                     <Setting name='MotherlodeSize' avg=':= coalSize * _default_' range=':= coalSize * _default_'/>
  492.                     <Setting name='MotherlodeHeight' avg=':= 60/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel'/>
  493.                     <Setting name='BranchLength' avg=':= 0.45 * _default_' range=':= 0.45 * _default_'/>
  494.                     <Setting name='BranchInclination' avg='0' range='0.35'/>
  495.                     <Setting name='BranchHeightLimit' avg='10'/>
  496.                     <Setting name='SegmentRadius' avg=':= coalSize * _default_' range=':= coalSize * _default_'/>
  497.                     <Setting name='OreDensity' avg=':= 1.75 * _default_' range=':= _default_'/>
  498.                 </Veins>
  499.                 <Veins name='CoalVeinsOcean' inherits='CoalVeins'>
  500.                     <Comment> Just like iron, vanilla puts coal in the oceans, and without this, an island
  501.                             start gets really painful.
  502.                             This frequency tests as about 7.2 per chunk.
  503.                     </Comment>
  504.                     <Setting name='MotherlodeFrequency' avg=':= 0.6 * _default_ '/>
  505.                     <Biome name='Ocean' />
  506.                     <Setting name='MotherlodeHeight' avg=':= 37/60 * _default_'  range=':= 5.5/10 * _default_' />
  507.                 </Veins>
  508.                 <Veins name='CoalVeinsSwamp' inherits='CoalVeins'>
  509.                     <Description>  This roughly triples the chance of finding coal in a swamp. </Description>      
  510.                           <!-- Factor out the reduction for the extras; should be twice the natural default, even in the forest. -->
  511.                     <Setting name='MotherlodeFrequency' avg=':= 2
  512.                          * if (dimension.generator = "TwilightLevelSource", 1.33, 1)
  513. * _default_'/>
  514.                     <Setting name='MotherlodeHeight' avg=':= _default_ - 8' range=':= 2 * _default_'/>
  515.                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
  516.                     <Biome name='Swampland'/>
  517.                     <Biome name='Green\s*Swamplands'/> <Comment> ExtraBiomesXL </Comment>
  518.                     <Biome name='Twilight Swamp'/> <Comment> Twilight Forest </Comment>
  519.                     <Biome name='Fire Swamp'/> <Comment> Twilight Forest </Comment>
  520.                     <Biome name='Enchanted Forest'/> <Comment> Twilight Forest </Comment>
  521.                 </Veins>      
  522.             </IfCondition>    
  523.            
  524.             <IfCondition condition=':= if(age
  525.                    &amp; (age.coalClusters + age.coalVeins + age.coalClouds > 0 )
  526.                     , age.coalClouds > 0, coalDist = "strategicClouds")'>    
  527.                 <Cloud name='CoalCloud' block='oreCoal' inherits='PresetStrategicCloud'>
  528.                     <Description>  
  529.                         Diffuse coal cloud surrounded by single-block "hint" veins, found in swamps.
  530.                     </Description>
  531.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  532.                     <WireframeColor>0x60101010</WireframeColor>
  533.                           <!-- Twilight forest substitute leaves coal and iron in the hills -->
  534.                     <Setting name='DistributionFrequency' avg=':= 5 * coalFreq * if(age,max(age.coalClouds,1),1)
  535.                          * if (dimension.generator = "TwilightLevelSource", 0.80, 1)
  536. * _default_'/>
  537.                     <Setting name='CloudRadius' avg=':= 1.2 * coalSize * _default_' range=':= 1.2 * coalSize * _default_'/>
  538.                     <Setting name='CloudThickness' avg=':= coalSize * _default_' range=':= coalSize * _default_'/>
  539.                     <Setting name='OreDensity' avg=':= 0.75 * _default_'/>
  540.                     <Biome name='Swampland'/>
  541.                     <Biome name='Green\s*Swamplands'/> <Comment> ExtraBiomesXL </Comment>  
  542.                     <Biome name='Twilight Swamp'/> <Comment> Twilight Forest </Comment>
  543.                     <Biome name='Fire Swamp'/> <Comment> Twilight Forest </Comment>
  544.                     <Biome name='Enchanted Forest'/> <Comment> Twilight Forest </Comment>
  545.                     <Veins name='CoalHintVeins' block='oreCoal' inherits='PresetHintVeins'>
  546.                         <DrawWireframe>:=drawWireframes</DrawWireframe>
  547.                         <WireframeColor>0x60101010</WireframeColor>
  548.                         <Setting name='MotherlodeFrequency' avg=':= 1.2 * _default_' range=':= _default_'/>
  549.                         <Setting name='MotherlodeRangeLimit' avg=':= coalSize * _default_' range=':= coalSize * _default_'/>
  550.                     </Veins>                
  551.                 </Cloud>
  552.             </IfCondition>  
  553.            
  554.         </ConfigSection>
  555.                
  556.         <!--*******************   Iron   ***********************-->
  557.         <ConfigSection>
  558.        
  559.             <IfCondition condition=':= if(age
  560.                    &amp; (age.ironClusters + age.ironVeins + age.ironClouds > 0 )
  561.                     , age.ironClusters > 0, ironDist = "vanillaStdGen")'>
  562.                 <StandardGen name='IronStandard' block='oreIron' inherits='PresetStandardGen'>
  563.                     <Description> Equivalent to vanilla minecraft iron distribution </Description>
  564.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  565.                     <WireframeColor>0x40221100</WireframeColor>
  566.                     <Setting name='Size' avg=':= ironSize * _default_'/>
  567.                     <Setting name='Frequency' avg=':= ironFreq * if(age,max(age.ironClusters,1),1) * _default_'/>
  568.                     <Setting name='Height' avg=':= 32/64 * dimension.groundLevel' range=':= 32/64 * dimension.groundLevel'/>
  569.                 </StandardGen>
  570.             </IfCondition>
  571.  
  572.             <IfCondition condition=':= if(age
  573.                    &amp; (age.ironClusters + age.ironVeins + age.ironClouds > 0 )
  574.                     , age.ironVeins > 0, ironDist = "layeredVeins")'>
  575.                 <Veins name='IronVeins' block='oreIron' inherits='PresetLayeredVeins'>
  576.                     <Description>
  577.                         Iron spawns in the height 30-50 range.  The veins are average in length and size.
  578.                     </Description>
  579.                     <DrawWireframe>true</DrawWireframe>
  580.                     <WireframeColor>0x40221100</WireframeColor>
  581.                           <!-- Twilight forest substitute leaves coal and iron in the hills -->
  582.                     <Setting name='MotherlodeFrequency' avg=':= 0.9 * ironFreq * if(age,max(age.ironVeins,1),1)
  583.                          * if (dimension.generator = "TwilightLevelSource", 0.75, 1)
  584. * _default_'/>
  585.                     <Setting name='MotherlodeSize' avg=':= ironSize * _default_' range=':= ironSize * _default_'/>
  586.                     <Setting name='MotherlodeHeight' avg=':= 43/64 * dimension.groundLevel' range=':= 10.5/64 * dimension.groundLevel' type='normal'/>
  587.                     <Setting name='BranchHeightLimit' avg='10.5'/>
  588.                     <Setting name='SegmentRadius' avg=':= ironSize * _default_' range=':= ironSize * _default_'/>
  589.                 </Veins>
  590.                 <Veins name='IronVeinsOcean' inherits='IronVeins'>
  591.                     <!-- Vanilla generates iron in the ocean just fine. But these distributions don't.
  592.                        So, for oceans, we generate the distributions a little lower. Given vanilla oceans,
  593.                        and the nature of an ocean spawn, this is kinda critical if you start on a
  594.                        small island. -->
  595.                     <Biome name='Ocean' />
  596.                     <Setting name='MotherlodeHeight' avg=':= 37/43 * _default_'  range=':= 5.5/10.5 * _default_' />
  597.                     <Setting name='MotherlodeFrequency' avg=':= 0.185 * _default_' />
  598.                     <!-- We can not stop normal iron veins from generating. But much of them will be in the
  599.                        water. This provides a good compromise - about 6 per chunk (from 4.83+). -->
  600.                 </Veins>
  601.                 <Veins name='IronVeinsCold' inherits='IronVeins'>
  602.                     <Description> This roughly triples the chance of finding iron in cold/icy biomes. </Description>
  603.                           <!-- Factor out the reduction for the extras; should be twice the natural default, even in the forest. -->
  604.                     <Setting name='MotherlodeFrequency' avg=':= 2
  605.                          * if (dimension.generator = "TwilightLevelSource", 1.33, 1)
  606.                          * _default_'/>
  607.                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
  608.                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
  609.                     <Biome name='Taiga'/>
  610.                     <Biome name='TaigaHills'/>
  611.                     <Biome name='Ice\s*Plains'/>
  612.                     <Biome name='Ice\s*Mountains'/>
  613.                     <Biome name='Alpine'/> <Comment> ExtraBiomesXL </Comment>
  614.                     <Biome name='Glacier'/> <Comment> ExtraBiomesXL </Comment>
  615.                     <Biome name='Ice\s*Wasteland'/> <Comment> ExtraBiomesXL </Comment>
  616.                     <Biome name='Mountain\s*Taiga'/> <Comment> ExtraBiomesXL </Comment>
  617.                     <Biome name='Snow\s*Forest'/> <Comment> ExtraBiomesXL </Comment>
  618.                     <Biome name='Snowy Forest'/> <Comment> Twilight Forest </Comment>
  619.                     <Biome name='Enchanted Forest'/> <Comment> Twilight Forest </Comment>
  620.                     <Biome name='Tundra'/> <Comment> ExtraBiomesXL </Comment>
  621.                 </Veins>
  622.             </IfCondition>  
  623.  
  624.             <IfCondition condition=':= if(age
  625.                    &amp; (age.ironClusters + age.ironVeins + age.ironClouds > 0 )
  626.                     , age.ironClouds > 0, ironDist = "strategicClouds")'>
  627.                 <Cloud name='IronCloud' block='oreIron' inherits='PresetStrategicCloud'>
  628.                     <Description>  
  629.                         Diffuse iron cloud surrounded by single-block "hint" veins, found in cold biomes.
  630.                     </Description>
  631.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  632.                     <WireframeColor>0x40221100</WireframeColor>
  633.                           <!-- Twilight forest substitute leaves coal and iron in the hills -->
  634.                     <Setting name='DistributionFrequency' avg=':= 2.5 * ironFreq * if(age,max(age.ironClouds,1),1)
  635.                          * if (dimension.generator = "TwilightLevelSource", 0.80, 1)
  636.                          * _default_'/>
  637.                     <Setting name='CloudRadius' avg=':= ironSize * _default_' range=':= ironSize * _default_'/>
  638.                     <Setting name='CloudThickness' avg=':= ironSize * _default_' range=':= ironSize * _default_'/>
  639.                     <Biome name='Taiga'/>
  640.                     <Biome name='TaigaHills'/>
  641.                     <Biome name='Ice\s*Plains'/>
  642.                     <Biome name='Ice\s*Mountains'/>
  643.                     <Biome name='Alpine'/> <Comment> ExtraBiomesXL </Comment>
  644.                     <Biome name='Glacier'/> <Comment> ExtraBiomesXL </Comment>
  645.                     <Biome name='Ice\s*Wasteland'/> <Comment> ExtraBiomesXL </Comment>
  646.                     <Biome name='Mountain\s*Taiga'/> <Comment> ExtraBiomesXL </Comment>
  647.                     <Biome name='Snow\s*Forest'/> <Comment> ExtraBiomesXL </Comment>
  648.                     <Biome name='Snowy Forest'/> <Comment> Twilight Forest </Comment>
  649.                     <Biome name='Enchanted Forest'/> <Comment> Twilight Forest </Comment>
  650.                     <Biome name='Tundra'/> <Comment> ExtraBiomesXL </Comment>  
  651.                     <Veins name='IronHintVeins' block='oreIron' inherits='PresetHintVeins'>
  652.                         <DrawWireframe>:=drawWireframes</DrawWireframe>
  653.                         <WireframeColor>0x40221100</WireframeColor>
  654.                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>  
  655.                         <Setting name='MotherlodeRangeLimit' avg=':= ironSize * _default_' range=':= ironSize * _default_'/>              
  656.                     </Veins>                        
  657.                 </Cloud>
  658.             </IfCondition>      
  659.        
  660.         </ConfigSection>          
  661.        
  662.         <!--*******************   Gold   ***********************-->
  663.         <ConfigSection>
  664.        
  665.             <IfCondition condition=':= if(age
  666.                    &amp; (age.goldClusters + age.goldVeins + age.goldClouds > 0 )
  667.                     , age.goldClusters > 0, goldDist = "vanillaStdGen")'>
  668.                 <StandardGen name='GoldStandard' block='oreGold' inherits='PresetStandardGen'>
  669.                     <Description> Equivalent to vanilla minecraft gold distribution </Description>
  670.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  671.                     <WireframeColor>0x40443300</WireframeColor>
  672.                     <Setting name='Size' avg=':= goldSize * _default_'/>
  673.                     <Setting name='Frequency' avg=':= 0.1 * goldFreq * if(age,max(age.goldClusters,1),1) * _default_'/>
  674.                     <Setting name='Height' avg=':= 16/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel'/>
  675.                 </StandardGen>
  676.             </IfCondition>
  677.                
  678.             <IfCondition condition=':= if(age
  679.                    &amp; (age.goldClusters + age.goldVeins + age.goldClouds > 0 )
  680.                     , age.goldVeins > 0, goldDist = "layeredVeins")'>
  681.                 <Veins name='GoldVeins' block='oreGold' inherits='PresetLayeredVeins'>
  682.                     <Description>
  683.                         Gold spawns in the height 10-30 range.  The veins are shorter than average,
  684.                         and much rarer overall.  Gold is not easy to find.
  685.                     </Description>  
  686.                     <DrawWireframe>true</DrawWireframe>
  687.                     <WireframeColor>0x40443300</WireframeColor>
  688.                     <Setting name='MotherlodeFrequency' avg=':= 0.85 * goldFreq * if(age,max(age.goldVeins,1),1) * _default_'/>
  689.                     <Setting name='MotherlodeSize' avg=':= 0.8 * goldSize * _default_' range=':= 0.5 * goldSize * _default_'/>
  690.                     <Setting name='MotherlodeHeight' avg=':= 20/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel' type='normal'/>
  691.                     <Setting name='BranchHeightLimit' avg='10'/>  
  692.                     <Setting name='BranchFrequency' avg=':= 0.85 * _default_'/>
  693.                     <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.66 * _default_'/>
  694.                     <Setting name='SegmentRadius' avg=':= 0.7 * goldSize * _default_' range=':= 0.5 * goldSize * _default_'/>
  695.                     <Setting name='SegmentAngle' avg='0.6' range='0.40' />
  696.                 </Veins>
  697.                 <Veins name='GoldVeinsForest' inherits='GoldVeins'>
  698.                     <Description> This roughly triples the chance of finding gold in forested biomes. </Description>
  699.                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
  700.                     <Setting name='MotherlodeHeight' avg=':=_default_' range=':= 2 * _default_'/>
  701.                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>  
  702.                     <Biome name='Forest'/>    
  703.                     <Biome name='ForestHills'/>      
  704.                     <Biome name='Birch\s*Forest'/> <Comment> ExtraBiomesXL </Comment>
  705.                     <Biome name='Autumn\s*Woods'/> <Comment> ExtraBiomesXL </Comment>
  706.                     <Biome name='Forested\s*Island'/> <Comment> ExtraBiomesXL </Comment>
  707.                     <Biome name='Forested\s*Hills'/> <Comment> ExtraBiomesXL </Comment>
  708.                     <Biome name='Rainforest'/> <Comment> ExtraBiomesXL </Comment>
  709.                     <Biome name='Woodlands'/> <Comment> ExtraBiomesXL </Comment>
  710.                     <Biome name='Twilight Forest'/> <Comment> Twilight Forest </Comment>
  711.                     <Biome name='Dense Twilight Forest'/> <Comment> Twilight Forest </Comment>
  712.                     <Biome name='Enchanted Forest'/> <Comment> Twilight Forest </Comment>
  713.                 </Veins>
  714.             </IfCondition>
  715.                
  716.             <IfCondition condition=':= if(age
  717.                    &amp; (age.goldClusters + age.goldVeins + age.goldClouds > 0 )
  718.                     , age.goldClouds > 0, goldDist = "strategicClouds")'>
  719.                 <Cloud name='GoldCloud' block='oreGold' inherits='PresetStrategicCloud'>
  720.                     <Description>  
  721.                         Diffuse gold cloud surrounded by single-block "hint" veins, found in forest biomes.
  722.                     </Description>
  723.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  724.                     <WireframeColor>0x40443300</WireframeColor>
  725.                     <Setting name='DistributionFrequency' avg=':= 4.5 * goldFreq * if(age,max(age.goldClouds,1),1) * _default_'/>
  726.                     <Setting name='CloudRadius' avg=':= 0.8 * goldSize * _default_' range=':= 0.8 * goldSize * _default_'/>
  727.                     <Setting name='CloudThickness' avg=':= 0.8 * goldSize * _default_' range=':= goldSize * _default_'/>
  728.                     <Setting name='OreDensity' avg=':= 0.3 * _default_'/>
  729.                     <Biome name='Forest'/>    
  730.                     <Biome name='ForestHills'/>      
  731.                     <Biome name='Birch\s*Forest'/> <Comment> ExtraBiomesXL </Comment>
  732.                     <Biome name='Autumn\s*Woods'/> <Comment> ExtraBiomesXL </Comment>
  733.                     <Biome name='Forested\s*Island'/> <Comment> ExtraBiomesXL </Comment>
  734.                     <Biome name='Forested\s*Hills'/> <Comment> ExtraBiomesXL </Comment>
  735.                     <Biome name='Rainforest'/> <Comment> ExtraBiomesXL </Comment>
  736.                     <Biome name='Woodlands'/> <Comment> ExtraBiomesXL </Comment>  
  737.                     <Biome name='Twilight Forest'/> <Comment> Twilight Forest </Comment>
  738.                     <Biome name='Dense Twilight Forest'/> <Comment> Twilight Forest </Comment>
  739.                     <Biome name='Enchanted Forest'/> <Comment> Twilight Forest </Comment>
  740.                     <Veins name='GoldHintVeins' block='oreGold' inherits='PresetHintVeins'>
  741.                         <DrawWireframe>:=drawWireframes</DrawWireframe>
  742.                         <WireframeColor>0x40443300</WireframeColor>
  743.                         <Setting name='MotherlodeFrequency' avg=':= 0.3 * _default_' range=':= _default_'/>
  744.                         <Setting name='MotherlodeRangeLimit' avg=':= 0.75 * goldSize * _default_' range=':= 0.65 * goldSize * _default_'/>                    
  745.                     </Veins>            
  746.                 </Cloud>
  747.             </IfCondition>      
  748.        
  749.         </ConfigSection>          
  750.        
  751.         <!--*****************   Redstone   *********************-->
  752.         <ConfigSection>
  753.        
  754.             <IfCondition condition=':= if(age
  755.                    &amp; (age.redstoneClusters + age.redstoneVeins + age.redstoneClouds > 0 )
  756.                     , age.redstoneClusters > 0, redstoneDist = "vanillaStdGen")'>
  757.                 <StandardGen name='RedstoneStandard' block='73' inherits='PresetStandardGen'>
  758.                     <Description> Equivalent to vanilla minecraft redstone distribution </Description>
  759.                     <Comment> The name "oreRedstone" is ambiguous, so we have to use the block ID (73) </Comment>
  760.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  761.                     <WireframeColor>0x40550000</WireframeColor>
  762.                     <Setting name='Size' avg=':= 7/8 * redstoneSize * _default_'/>
  763.                     <Setting name='Frequency' avg=':= 0.4 * redstoneFreq * if(age,max(age.redstoneClusters,1),1) * _default_'/>
  764.                     <Setting name='Height' avg=':= 8/64 * dimension.groundLevel' range=':= 8/64 * dimension.groundLevel'/>
  765.                 </StandardGen>
  766.             </IfCondition>
  767.                
  768.             <IfCondition condition=':= if(age
  769.                    &amp; (age.redstoneClusters + age.redstoneVeins + age.redstoneClouds > 0 )
  770.                     , age.redstoneVeins > 0, redstoneDist = "layeredVeins")'>
  771.                 <Veins name='RedstoneVeins' block='73' inherits='PresetVerticalVeins'>
  772.                     <Comment> The name "oreRedstone" is ambiguous, so we have to use the block ID (73) </Comment>    
  773.                     <Description>
  774.                         Isolated veins (no motherlodes) that run vertically.  These veins are fairly common, but a challenge to mine because you have to tunnel straight down.
  775.                     </Description>  
  776.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  777.                     <WireframeColor>0x40550000</WireframeColor>
  778.                             <!-- Vertical veins length depends on ground level.
  779.                                  Half the length, twice as common -->
  780.                     <Setting name='MotherlodeFrequency' avg=':= 1.3 * redstoneFreq * if(age,max(age.redstoneVeins,1),1) * _default_'/>
  781.                     <Setting name='SegmentRadius' avg=':= redstoneSize * _default_' range=':= redstoneSize * _default_'/>
  782.                     <Replaces block='stone'/>
  783.                     <Replaces block='sandstone'/>
  784.                 </Veins>
  785.                 <Veins name='RedstoneVeinsDesert' inherits='RedstoneVeins'>
  786.                     <Description> This roughly triples the chance of finding redstone in deserts. </Description>
  787.                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
  788.                     <Replaces block='stone'/>
  789.                     <Replaces block='sandstone'/>
  790.                     <Biome name='Desert'/>    
  791.                     <Biome name='DesertHills'/>          
  792.                     <Biome name='Mountainous\s*Desert'/> <Comment> ExtraBiomesXL </Comment>
  793.                     <Biome name='Clearing Border'/> <Comment> Twilight Forest </Comment>
  794.                     <Biome name='Twilight Clearing'/> <Comment> Twilight Forest </Comment>
  795.                     <Biome name='Enchanted Forest'/> <Comment> Twilight Forest </Comment>
  796.                 </Veins>
  797.             </IfCondition>
  798.                
  799.             <IfCondition condition=':= if(age
  800.                    &amp; (age.redstoneClusters + age.redstoneVeins + age.redstoneClouds > 0 )
  801.                     , age.redstoneClouds > 0, redstoneDist = "strategicClouds")'>
  802.                 <Cloud name='RedstoneCloud' block='73' inherits='PresetStrategicCloud'>
  803.                     <Comment> The name "oreRedstone" is ambiguous, so we have to use the block ID (73) </Comment>
  804.                     <Description>
  805.                         Diffuse redstone cloud surrounded by single-block "hint" veins, found in deserts.
  806.                     </Description>
  807.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  808.                     <WireframeColor>0x40550000</WireframeColor>
  809.                     <Setting name='DistributionFrequency' avg=':= 4.5 * redstoneFreq * if(age,max(age.redstoneClouds,1),1) * _default_'/>
  810.                     <Setting name='CloudRadius' avg=':= 0.65 * redstoneSize * _default_' range=':= 0.5 * redstoneSize * _default_'/>
  811.                     <Setting name='CloudThickness' avg=':= 0.7 * redstoneSize * _default_' range=':= 0.7 * redstoneSize * _default_'/>
  812.                     <Biome name='Desert'/>    
  813.                     <Biome name='DesertHills'/>          
  814.                     <Biome name='Mountainous\s*Desert'/> <Comment> ExtraBiomesXL </Comment>  
  815.                     <Biome name='Clearing Border'/> <Comment> Twilight Forest </Comment>
  816.                     <Biome name='Twilight Clearing'/> <Comment> Twilight Forest </Comment>
  817.                     <Biome name='Enchanted Forest'/> <Comment> Twilight Forest </Comment>
  818.                     <Veins name='RedstoneHintVeins' block='73' inherits='PresetHintVeins'>
  819.                         <DrawWireframe>:=drawWireframes</DrawWireframe>
  820.                         <WireframeColor>0x40550000</WireframeColor>
  821.                         <Setting name='MotherlodeFrequency' avg=':= 0.7 * _default_' range=':= _default_'/>
  822.                         <Setting name='MotherlodeRangeLimit' avg=':= 0.65 * redstoneSize * _default_' range=':= 0.65 * redstoneSize * _default_'/>                    
  823.                         <Replaces block='stone'/>
  824.                         <Replaces block='sandstone'/>            
  825.                     </Veins>        
  826.                 </Cloud>
  827.             </IfCondition>  
  828.        
  829.         </ConfigSection>          
  830.        
  831.         <!--*****************   Diamond   **********************-->
  832.         <ConfigSection>
  833.            
  834.             <IfCondition condition=':= if(age
  835.                    &amp; (age.diamondClusters + age.diamondVeins + age.diamondClouds > 0 )
  836.                     , age.diamondClusters > 0, diamondDist = "vanillaStdGen")'>
  837.                 <StandardGen name='DiamondStandard' block='oreDiamond' inherits='PresetStandardGen'>
  838.                     <Description> Equivalent to vanilla minecraft diamond distribution </Description>
  839.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  840.                     <WireframeColor>0x40336699</WireframeColor>
  841.                     <Setting name='Size' avg=':= 7/8 * diamondSize * _default_'/>
  842.                     <Setting name='Frequency' avg=':= 1/20 * diamondFreq * if(age,max(age.diamondClusters,1),1) * _default_'/>
  843.                     <Setting name='Height' avg=':= 8/64 * dimension.groundLevel' range=':= 8/64 * dimension.groundLevel'/>
  844.                 </StandardGen>
  845.             </IfCondition>
  846.                
  847.             <IfCondition condition=':= if(age
  848.                    &amp; (age.diamondClusters + age.diamondVeins + age.diamondClouds > 0 )
  849.                     , age.diamondVeins > 0, diamondDist = "layeredVeins")'>
  850.  
  851.                 <Comment> Normal worlds get "Kimberlite pipes" of diamonds and lava.
  852.                 Twilight forest gets Anonymous Viking's silverfish hollow pipes.
  853.                 Change: Make it a silverfish filled, instead of lava-filled, standard pipe.
  854.                 </Comment>
  855.  
  856.                 <Veins name="DiamondVeins" block='oreDiamond' inherits='PresetPipeVeins' seed='0xF186'>
  857.                     <Description> Short sparsely filled tubes starting at bedrock. </Description>
  858.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  859.                     <WireframeColor>0x40336699</WireframeColor>
  860.                     <Setting name='MotherlodeFrequency' avg=':= 0.8 * diamondFreq * if(age,max(age.diamondVeins,1),1) * _default_'/>
  861.                     <Setting name='MotherlodeHeight' avg='3.5' range='0'/>
  862.                     <Setting name='MotherlodeSize' avg=':= diamondSize * _default_' range=':= diamondSize * _default_'/>
  863.                     <Setting name='SegmentRadius' avg=':= diamondSize * _default_' range=':= diamondSize * _default_'/>
  864.                     <Setting name='OreDensity' avg=':= 1.0 * _default_'/>
  865.                 </Veins>
  866.                 <Veins name="DiamondVeinsLava" inherits='DiamondVeins' seed='0xF186'>
  867.                     <Description> Fills center of each tube with lava, forming "kimberlite pipes" </Description>
  868.                     <IfCondition condition=':= ( dimension.generator = "TwilightLevelSource" ) '>
  869.                       <Then>
  870.                         <Block>monsterStoneEgg</Block>   <!-- Twilight forest: Silverfish -->
  871.                       </Then> <Else> <Comment> Standard distribution if not twilight. </Comment>
  872.                         <Block>10</Block>   <!-- Others: Lava -->
  873.                     </Else></IfCondition>
  874.                     <Setting name='MotherlodeSize' avg=':= 0.5 * _default_'/>
  875.                     <Setting name='SegmentRadius' avg=':= 0.5 * _default_'/>
  876.                     <Setting name='OreDensity' avg='1' range='0'/>
  877.                     <Replaces block='stone'/>
  878.                     <Replaces block='dirt'/>
  879.                     <Replaces block='gravel'/>
  880.                     <Replaces block='oreDiamond'/>
  881.                 </Veins>
  882.             </IfCondition>
  883.                
  884.             <IfCondition condition=':= if(age
  885.                    &amp; (age.diamondClusters + age.diamondVeins + age.diamondClouds > 0 )
  886.                     , age.diamondClouds > 0, diamondDist = "strategicClouds")'>
  887.                 <Cloud name='DiamondCloud' block='oreDiamond' inherits='PresetStrategicCloud'>
  888.                     <Description>  Diffuse diamond cloud with no internal density noise. </Description>
  889.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  890.                     <WireframeColor>0x40336699</WireframeColor>
  891.                     <Setting name='DistributionFrequency' avg=':= 10 * diamondFreq * if(age,max(age.diamondClouds,1),1) * _default_'/>
  892.                     <Setting name='CloudRadius' avg=':= 0.5 * diamondSize * _default_' range=':= 0.5 * diamondSize * _default_'/>
  893.                     <Setting name='CloudThickness' avg=':= 0.2 * diamondSize * _default_' range=':= 0.17 * diamondSize * _default_'/>
  894.                     <Setting name='CloudHeight' avg=':= 14/64 * dimension.groundLevel' range=':= 5/64 * dimension.groundLevel'/>
  895.                     <Setting name='OreRadiusMult' avg='1' range='0.2'/>
  896.                     <Setting name='OreDensity' avg=':= 0.4 * _default_'/>                
  897.                     <Setting name='OreVolumeNoiseCutoff' avg='0'/>  
  898.                 </Cloud>
  899.             </IfCondition>
  900.        
  901.         </ConfigSection>          
  902.        
  903.         <!--***************   Lapis Lazuli   *******************-->
  904.         <ConfigSection>
  905.        
  906.             <IfCondition condition=':= if(age
  907.                    &amp; (age.lapisClusters + age.lapisVeins + age.lapisClouds > 0 )
  908.                     , age.lapisClusters > 0, lapisDist = "vanillaStdGen")'>
  909.                 <StandardGen name='LapisLazuliStandard' block='oreLapis' inherits='PresetStandardGen'>
  910.                     <Description> Equivalent to vanilla minecraft lapis lazuli distribution </Description>
  911.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  912.                     <WireframeColor>0x40000055</WireframeColor>
  913.                     <Setting name='Size' avg=':= 6/8 * lapisSize * _default_'/>
  914.                     <Setting name='Frequency' avg=':= 0.05 * lapisFreq * if(age,max(age.lapisClusters,1),1) * _default_'/>
  915.                     <Setting name='Height' avg=':= 16/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel' type='normal'/>
  916.                 </StandardGen>
  917.             </IfCondition>
  918.                
  919.             <IfCondition condition=':= if(age
  920.                    &amp; (age.lapisClusters + age.lapisVeins + age.lapisClouds > 0 )
  921.                     , age.lapisVeins > 0, lapisDist = "layeredVeins")'>
  922.                 <Veins name='LapisLazuliVeins' block='oreLapis' inherits='PresetVerticalVeins'>        
  923.                     <Description>
  924.                         Lapis Lazuli spawns in isolated veins that run vertically upward, much like redstone.  However,
  925.                         lapis veins are too deep to break the suface except occassionally under oceans.
  926.                     </Description>
  927.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  928.                     <WireframeColor>0x40000055</WireframeColor>
  929.                             <!-- Vertical veins length depends on ground level.
  930.                                  Half the length, twice as common -->
  931.                     <Setting name='MotherlodeFrequency' avg=':= 0.4 * lapisFreq * if(age,max(age.lapisVeins,1),1) * _default_'/>
  932.                     <Setting name='MotherlodeHeight' avg=':= 8/64 * dimension.groundLevel' range='4'/>
  933.                     <Comment> Redefine BranchLength in terms of the default.
  934.                             Default is 48/64*ground level. We want 36/64*ground level. That's only 36/48 of default
  935.                             Similar adjust for range.
  936.                     </Comment>
  937.                     <Setting name='BranchLength' avg=':= 36/48 * _default_' range=':= 12/16 * _default_' type='normal'/>
  938.                     <Setting name='BranchInclination' avg=':= -_default_' range=':=_default_'/>    
  939.                     <Setting name='SegmentRadius' avg=':= lapisSize * _default_' range=':= lapisSize * _default_'/>          
  940.                 </Veins>
  941.                 <Veins name='LapisLazuliVeinsOcean' inherits='LapisLazuliVeins'>
  942.                     <Description> This roughly triples the chance of finding lapis lazuli under oceans. </Description>
  943.                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
  944.                     <Replaces block='stone'/>
  945.                     <Replaces block='dirt'/>
  946.                     <Replaces block='sand'/>
  947.                     <Replaces block='clay'/>  <!-- BUG FIX! Clay was not replaced on the ocean bottom -->
  948.                     <Biome name='Ocean'/>
  949.                     <Biome name='Frozen\s*Ocean'/>      
  950.                     <Biome name='Twilight Stream'/> <Comment>Twilight Forest</Comment>
  951.                     <Biome name='Twilight Lake'/> <Comment>Twilight Forest</Comment>
  952.                     <Biome name='Lake Border'/> <Comment>Twilight Forest</Comment>
  953.                     <Biome name='Enchanted Forest'/> <Comment> Twilight Forest </Comment>
  954.                 </Veins>
  955.             </IfCondition>
  956.                
  957.             <IfCondition condition=':= if(age
  958.                    &amp; (age.lapisClusters + age.lapisVeins + age.lapisClouds > 0 )
  959.                     , age.lapisClouds > 0, lapisDist = "strategicClouds")'>
  960.                 <Cloud name='LapisLazuliCloud' block='oreLapis' inherits='PresetStrategicCloud'>
  961.                     <Description>  Diffuse lapis lazuli cloud surrounded by single-block "hint" veins, found under oceans </Description>
  962.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  963.                     <WireframeColor>0x40000055</WireframeColor>
  964.                     <Setting name='DistributionFrequency' avg=':= 2.5 * lapisFreq * if(age,max(age.lapisClouds,1),1) * _default_'/>
  965.                     <Setting name='CloudRadius' avg=':= 0.65 * lapisSize * _default_' range=':= 0.5 * lapisSize * _default_'/>
  966.                     <Setting name='CloudThickness' avg=':= 0.7 * lapisSize * _default_' range=':= 0.7 * lapisSize * _default_'/>
  967.                     <Replaces block='stone'/> <!-- BUG FIX! Replaces were missing from the ocean clouds -->
  968.                     <Replaces block='dirt'/>
  969.                     <Replaces block='sand'/>
  970.                     <Replaces block='clay'/>  <!-- BUG FIX! Clay was not replaced on the ocean bottom -->
  971.                     <Biome name='Ocean'/>
  972.                     <Biome name='Frozen\s*Ocean'/>  
  973.                     <Biome name='Twilight Stream'/> <Comment>Twilight Forest</Comment>
  974.                     <Biome name='Twilight Lake'/> <Comment>Twilight Forest</Comment>
  975.                     <Biome name='Lake Border'/> <Comment>Twilight Forest</Comment>
  976.                     <Biome name='Enchanted Forest'/> <Comment> Twilight Forest </Comment>
  977.                     <Veins name='LapisLazuliHintVeins' block='oreLapis' inherits='PresetHintVeins'>
  978.                         <DrawWireframe>:=drawWireframes</DrawWireframe>
  979.                         <WireframeColor>0x40000055</WireframeColor>
  980.                         <Setting name='MotherlodeFrequency' avg=':= 0.7 * _default_' range=':= _default_'/>
  981.                         <Setting name='MotherlodeRangeLimit' avg=':= 0.65 * lapisSize * _default_' range=':= 0.65 * lapisSize * _default_'/>                  
  982.                     </Veins>                    
  983.                 </Cloud>
  984.             </IfCondition>
  985.        
  986.         </ConfigSection>          
  987.  
  988.     </IfCondition>
  989.    
  990. <Comment>
  991. Gold - "Temperate hardwood" -- Forested Hills, Forested Islands, Rainforest, woodlands
  992. Redstone - Desert, Desert Hills, Mountain deserts - Clearings.
  993. Emerald - Extreme hills - Highlands
  994.  
  995. Twilight Forest
  996. Dense Twilight Forest -- think "Forested Hills" --
  997.  
  998. Enchanted Forest
  999.  
  1000. Dark Forest
  1001.  
  1002. Clearing Border
  1003. Twilight Clearing
  1004.  
  1005. Highlands - grass: Most is 57, some is 59. Water is 54/55. Stone is 4 blocks under the top (some 55, most 53)
  1006.  
  1007. Mushrooms
  1008. Lots of Mushrooms
  1009.  
  1010. Twilight Swamp
  1011.  
  1012. Twilight Stream
  1013. Lake Border
  1014. Twilight Lake
  1015.  
  1016. Snowy Forest
  1017. Glacier (dup!)
  1018.  
  1019. Fireswamp -- unknown!
  1020. </Comment>
  1021. </ConfigSection>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement