Configured feature

From Minecraft Wiki
Jump to navigation Jump to search
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/feature folder.

JSON format

[edit | edit source]
  • [NBT Compound / JSON Object]: Root object.
    • [String] type: The ID of feature type. The properties depend on the value of [String] type, described below.

Feature types

[edit | edit source]
This section needs cleanup to comply with the style guide.
[discuss]
Please help improve this section. The talk page may contain suggestions.
Reason: Fix all the redirects in the transclusions, as the features have been moved to title case per MCW:TITLE

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.

​[upcoming: JE 26.4]

Configuration-less features

[edit | edit source]

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

History

[edit | edit source]
Java Edition
1.16.220w28a Added experimental support for configured features in data packs.
20w29a Renamed the minecraft:decorated_flower feature in minecraft:no_bonemeal_flower.
1.1720w45a Added minecraft:geode feature.
20w49a Added minecraft:dripstone_cluster, minecraft:large_dripstone, and minecraft:small_dripstone features.
21w03a Added minecraft:glow_lichen feature type.
1.1922w11a Added block field into glow_lichen (multiface_growth) feature config.
Added minecraft:sculk_patch feature type.
22w12a Leaves are now waterloggable. And foliage placers now always waterlog the blocks when replacing water, if the foliage block has a waterlogged block state.
22w13a Added extra_rare_growths field into sculk_patch feature config.
22w14a Renamed 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.
22w15a Merged 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.423w07a Added minecraft:cherry_foliage_placer and minecraft:cherry_trunk_placer into the minecraft:tree feature config.
1.2023w17a Added replaceable_blocks field into the minecraft:huge_fungus feature config.
1.21.424w44a The simple_block feature type has a new optional field: schedule_tick.
1.21.525w09a Added attached_to_logs field into the minecraft:tree feature config.
26.1snap6 Renamed forest_rock feature type to block_blob.
26.1 Removed random_patch, flower, and flower_no_bonemeal feature types. Instead, patches can be expressed as a sequence of count and random_offset placement modifiers.
26.2snap1 minecraft:geode: The fields cannot_replace and invalid_blocks in blocks section of feature configuration now also accept an ID and a list of IDs in addition to a tag.
minecraft:root_system: The field root_replaceable in the feature configuration now also accepts an ID or a list of IDs in addition to a tag.
minecraft:vegetation_patch: The field replaceable in the feature configuration now also accepts an ID and or a list of IDs in addition to a tag.
minecraft:waterlogged_vegetation_patch: The field replaceable in the feature configuration now also accepts an ID and or a list of IDs in addition to a tag.
pointed_dripstone has been renamed to speleothem.
dripstone_cluster has been renamed to speleothem_cluster.
Added the base_block, pointed_block, and replaceable_blocks fields to the renamed features, as well as the latter to large_dripstone.
Additional speleothem fields have been renamed (e.g. chance_of_taller_dripstone to chance_of_taller_generation) to account for the name changes.
Added minecraft:sequence feature type.
Added minecraft:template feature type.
snap5 minecraft:multiface_growth: The field block is now mandatory (defaulted to minecraft:glow_lichen).
snap6 Added the minecraft:weighted_random_selector feature type.
minecraft:large_dripstone: The maximum allowed value for column_radius has been reduced from 19 to 16.
minecraft:root_system: Added level_test_distance and field max_level_deviation fields.
26.3snap1 The worldgen/configured_feature registry has moved to worldgen/feature and configuration is now done inline in the root object rather than separated into a config field.
Added minecraft:end_podium feature type.
minecraft:tree feature type: added shelf_mushroom tree decorator type, added poplar_foliage_placer foliage placer type, added poplar_trunk_placer trunk placer type.
snap2 Renamed the following feature types:
  • basalt_columns to stepped_column_cluster
  • basalt_pillar to single_block_pillar
  • glowstone_blob to random_neighbor_spread
Added minecraft:overlay and minecraft:projected_random_patchy_square feature types.
snap3 Removed the following feature types:
  • minecraft:coral_mushroom
  • minecraft:kelp
  • minecraft:seagrass
  • minecraft:sea_pickle
minecraft:coral_claw and minecraft:coral_tree feature types: Added the feature field.
snap4 Removed the following feature types:
  • minecraft:nether_forest_vegetation
  • minecraft:twisting_vines
  • minecraft:weeping_vines
snap5 minecraft:sculk_patch feature type: Removed the extra_rare_growths and catalyst_chance fields.
snap8 Removed the minecraft:desert_well feature type.
Upcoming Java Edition
26.4snap1 Changed straight_trunk_placer: added the trunk_width field.
snap3 minecraft:speleothem_cluster feature type: Added the placement_options field.
Renamed large_dripstone feature type to large_speleothem and added the base_block field.
snap4 Added the minecraft:crevasse feature type.

Issues

[edit | edit source]

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

[edit | edit source]
[edit | edit source]