Veins

The Veins algorithm creates narrow spidery distributions that keep player moving while mining.

Veins Algorithm
The Veins algorithm creates a round central "motherlode" with branches radiating in all directions. The branches are composed of short straight "Segments" which are joined end-to-end in a chain extending away from the motherlode. Branches may fork, and the forks may themselves fork and so on, creating a tree structure rooted at the motherlode.

There are two distinct types of branches. For Ellipsoid branches the ore is placed in an ellipsoid (a 3D oval) along each segment. The segments are therefore thickest in the middle and thinest at the ends where they meet. These branches are faster to generate but are not very smooth. For Bezier branches, the ore is placed in a tube that curves smoothly from segment to segment. These branches are slower to generate but tend to be much easier to follow underground.

The  element creates a distribution using the veins algorithm. The  element creates a non-generating distribution that can be used as a source of default settings.  elements support all of the standard distribution features.

Attributes
The Veins algorithm may have the following attributes: * These attributes are only meaningful in debugging mode.

Settings
The Veins algorithm has the following settings:

Ore Blocks
 elements can be used to specify a mixture of ore blocks to spawn with fractional weights. The total weight of all ore blocks must be less than 1.0.

Replaces
 elements can be used to change which blocks a Veins distribution will replace (the default is just smooth stone).

Biome
 elements can be used to customize which biomes a Veins distribution will spawn in (the default is all biomes).

Parents and Nesting
A  element may be placed inside another Veins, Cloud, or StandardGen element. The parent distribution will continue to spawn normally, but the child will only spawn near it's parent. More accurately, the child distribution Motherlodes will only spawn near the motherlodes, clouds, or clusters of the parent distribution. The exact range is determined by the MotherlodeRangeLimit setting.