Configured feature

This feature is exclusive to Java Edition.
 

A configured feature is the configuration of a feature type. They can be used in placed features to define the features that are placed in a world.

Configured features are stored as JSON files within a data pack in the data/<namespace>/worldgen/configured_feature folder.

JSON format

  • [NBT Compound / JSON Object]: Root object.
    • [String] type: The ID of feature type.
    • [NBT Compound / JSON Object] config: Configuration of this configured feature. The properties depend on the value of [String] type, described below.

Feature types

A feature type determines how and what a configured feature should generate. They are hardcoded, thus new ones cannot be added through datapacks. Most feature types have configuration options that can be set using a configured feature. The following lists all feature types and their configuration options.

Configuration-less Features

These features have files in the data/<namespace>/worldgen/configured_feature folder, but none of them have any configuration options in current versions.

History

Java Edition
1.16.220w28aAdded experimental support for configured features in data packs.
20w29aRenamed the minecraft:decorated_flower feature in minecraft:no_bonemeal_flower.
1.1720w45aAdded minecraft:geode feature.
20w49aAdded minecraft:dripstone_cluster, minecraft:large_dripstone, and minecraft:small_dripstone features.
21w03aAdded minecraft:glow_lichen feature type.
1.1922w11aAdded block field into glow_lichen (multiface_growth) feature config.
Added minecraft:sculk_patch feature type.
22w12aLeaves are now waterloggable. And foliage placers now always waterlog the blocks when replacing water, if the foliage block has a waterlogged block state.
22w13aAdded extra_rare_growths field into sculk_patch feature config.
22w14aRenamed the glow_lichen feature type to multiface_growth.
Added surface_disk feature type.
Added can_origin_replace field into the minecraft:disk feature config. Must be a block ID or a block tag, or a list of block IDs. The feature origin must in these blocks to generate the feature.
Added root_placer field into the minecraft:tree feature config.
Added attached_to_leaves decorator into the minecraft:tree feature config.
Added probability field into the leave_vine decorator of the minecraft:tree feature config.
Added upwards_branching_trunk_placer trunk placer into the minecraft:tree feature config.
22w15aMerged the surface_disk and ice_patch feature types into the disk type.
Added state_provider and targets fields into the minecraft:disk feature config, replacing state, targets and can_origin_replace fields.
Added trunk_offset_y and above_root_placement fields into the root placer in the minecraft:tree feature config.
Removed the y_offset field of the mangrove_root_placer root placer in the minecraft:tree feature config. Moved all other additional fields of mangrove_root_placer into an object [NBT Compound / JSON Object] mangrove_root_placement.
1.19.423w07aAdded minecraft:cherry_foliage_placer and minecraft:cherry_trunk_placer into the minecraft:tree feature config.
1.2023w17aAdded replaceable_blocks field into the minecraft:huge_fungus feature config.
1.21.424w44aThe simple_block feature type has a new optional field: schedule_tick.

Issues

Issues relating to "Configured feature" are maintained on the bug tracker. Issues should be reported and viewed there.

External links

Navigation