Skip to content
Andrew Sage edited this page Nov 8, 2016 · 3 revisions

Veins are spherical motherlodes of ore with zero or more branches of ore extending from the motherlode. Note that if a preset is inherited within the vein’s element, the defaults will change to the preset’s defaults, which are usually defined in the CustomOreGen_Config.xml file.

Motherlode Settings

Motherlode Frequency

Default: 0.025 (or 2.5% chance to generate per chunk)

The number of motherlodes generated per 16 by 16 block chunk. Setting this value higher than 1.0 will cause multiple motherlodes to generate per chunk while lower than 1.0 will have a chance for a motherlode to generate in a given chunk.

Motherlode Range Limit

Default: 16.0 to 48.0 meters

Maximum horizontal distance that a motherlode may be from its parent distribution, in meters. This can be useful when defining veins within clouds or other distributions, as is done with the ‘hint’ veins in the default configs.

Motherlode Size

Default: 2.0 to 3.0 meters

Radius of a motherlode, in meters. Large numbers can create significantly huge spheres of ore while small numbers will just create a small handful of ores. You can potentially estimate the amount of ore in a motherlode with this formula: ‘pi * size^3 * density’.

Motherlode Height

Default: 16.0 to 48.0 meters The height of a motherlode, in meters. This controls the Y level of the motherlode.

Branch Settings

Branches can be either bezier or ellipsoid, with bezier being the default. This is defined inside the veins element in the XML file.

Branch Frequency

Default: 2 to 4 branches

Number of branches. With an “ave” of 4 and a “range” of 2, the number of branches generated will be 3 to 5.

Branch Inclination

Default: -0.265 to +0.265 radians

Branch angle from a horizontal plane, in radians. 1 radian is approximately equal to a 60° angle.

Branch Length

Default: 60.0 to 180.0 meters

Length of an individual branch, in meters.

Branch Height Limit

Default: 16.0 meters

The maximum vertical distance a branch may travel above or below the motherlode, in meters

Segment Settings

Segments are branches off of a branch - a branch may split from a single branch into multiple segments.

Segment Fork Frequency

Default: 0.2

The rate at which a branch may fork into multiple segments.

Segment Fork Length Multiplier

Default: 0.5 to 1.0 (50% to 100%)

The multiplier for the branch’s remaining length per segment. The remaining branch continues, but that branch might get longer or shorter depending on this setting if it does split into segments. By default, the branch will almost always be shorter, but never get longer if it forks into segments.

Segment Length

Default: 12.0 to 18.0 meters

The length of an individual segment, in meters.

Segment Angle

Default: 0.0 to 1.0 radians

Angle at which the segment diverges to the left or right from the original branch, in radians.

Segment Pitch

Default: 0.0 to 0.1 radians

Angle at which the segment diverges by rising or falling from the original branch, in radians. This setting was added in version 1.2.18. It was added because 45° (0.78 radians) turn up or down could quickly cause a vein to terminate due to hitting the branch height limit.

Individual Ore Settings

Ore Density

Default: 1.0 (100%)

This setting multiplies the chance that a specific ore that is generated will actually generate.

Ore Radius Multiplier

The radius multiplier for an individual generated ore.