Placed feature

Placed features are a combination of a Configured features and a list of placement modifiers. They are used in world generation to configure the placement of a feature. This includes position, rarity, count, filters, and more. They are stored as JSON files within a data pack in the path.

JSON format
When a placed feature is required inside the settings, it can either be provided with a string tag as the namespaced id of a placed feature, or with a compound tag as a nested definition.


 * The root tag.
 * : The configured feature.
 * : A list of placement modifiers. They are applied in order. A modifier takes in a block position and returns a list of block positions. This allows them to filter, transform and generate block positions.
 * : The placement modifier type.
 * Other parameters of this placement modifier, described below. Note that unlike configured features, these are not wrapped in a  object.
 * Other parameters of this placement modifier, described below. Note that unlike configured features, these are not wrapped in a  object.

The possible values for placement modifier and associated config:


 * biome&mdash;Either returns the current position or nothing. Only passes if the biome at the current position includes this placed feature. Important: This modifier cannot be used in placed features that are referenced from other configured features!


 * block_predicate_filter&mdash;Either returns the current position or nothing.


 * carving_mask&mdash;Returns a list of all positions in the current chunk that have been carved out by a carver. This does not include blocks carved out by noise caves.
 * The carving step. Either  or.


 * count&mdash;


 * count_on_every_layer&mdash;


 * environment_scan&mdash;


 * height_range&mdash;Returns a position with the Y coordinate modified. The new Y coordinate is determined by a height provider.
 * : A height provider used to set the new Y coordinate.


 * heightmap&mdash;


 * in_square&mdash;Returns a position with the X and Z coordinates modified. For both X and Z, it adds a random value between  and   (exclusive).


 * noise_based_count&mdash;


 * noise_threshold_count&mdash;


 * noise_based_count&mdash;


 * random_offset&mdash;Applies an offset to the current position


 * rarity_filter&mdash;Either returns the current position or nothing. The chance is calculated by.


 * surface_relative_threshold_filter&mdash;Either returns the current position or nothing. Checks if the surface is inside a range.
 * : The heightmap to use. One of,  ,  ,  ,  , or.
 * : The minimum allowed height.
 * : The maximum allowed height.


 * surface_water_depth_filter&mdash;Either returns the current position or nothing.
 * : The maximum allowed depth of the water.