Distributor#

When defined in a FEATURE config, distributors determine which columns in the world structures can be placed in.

Distributors operate in 2D. For each set of 2D coordinates, a distributor will return either true or false, where true means a structure may generate within that column.

Types#

Different types of Distributor provide different behaviours and may have additional parameters for configuring that behavior.

The type is specified by setting the type parameter to the name of the type. If the same name is used by two different addons, you can prefix the name with ADDON_NAME: to specify which one to use.

A list of available types for Distributor are listed below:


SAMPLER#

*Type requires the ‘config-distributors’ addon to use

sampler NoiseSampler

threshold Float

Default: 0.0


POINTS#

*Type requires the ‘config-distributors’ addon to use

points Set<Point>


PADDED_GRID#

*Type requires the ‘config-distributors’ addon to use

padding Integer

salt Integer

width Integer


AND#

*Type requires the ‘config-distributors’ addon to use

distributors List<Distributor>


OR#

*Type requires the ‘config-distributors’ addon to use

distributors List<Distributor>


XOR#

*Type requires the ‘config-distributors’ addon to use

distributors List<Distributor>


YES#

*Type requires the ‘config-distributors’ addon to use


NO#

*Type requires the ‘config-distributors’ addon to use

Uses#

Used by 4 parameters: