Locator#
When defined in a FEATURE config, distributors determine what Y levels a structure can be placed at.
Locators iterate through each block within a column of blocks in the world (typically within a constrained Y level range defined by the specific locator), and return either true or false if structures should generate at that position or not.
Types#
Different types of Locator
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 Locator
are listed below:
SURFACE#
*Type requires the ‘config-locators’ addon to use
TOP#
*Type requires the ‘config-locators’ addon to use
RANDOM#
*Type requires the ‘config-locators’ addon to use
Default: 0
GAUSSIAN_RANDOM#
*Type requires the ‘config-locators’ addon to use
Default: 0
PATTERN#
*Type requires the ‘config-locators’ addon to use
ADJACENT_PATTERN#
*Type requires the ‘config-locators’ addon to use
Default: false
SAMPLER#
*Type requires the ‘config-locators’ addon to use
SAMPLER_3D#
*Type requires the ‘config-locators’ addon to use
AND#
*Type requires the ‘config-locators’ addon to use
OR#
*Type requires the ‘config-locators’ addon to use
XOR#
*Type requires the ‘config-locators’ addon to use
Uses#
Used by 4 parameters: