Feature and feature rule reference (9/14)
This page excerpts the reference from MS Learn (MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0). Relative links in the original are removed.
(Source: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/minecraftUnderwater_cave_carver_feature.md)
Features Documentation - minecraft:underwater_cave_carver_feature
minecraft:underwater_cave_carver_feature carves a cave through the world in the current chunk, and in every chunk around the current chunk in an 8-block radial pattern. This feature will specifically target creating caves only below sea level.
This feature will only work when placed specifically in the pass "pregeneration_pass".
Schema
object "minecraft:underwater_cave_carver_feature" : opt
{
object "description"
{
string "identifier" // The name of this feature in the form 'namespace_name:feature_name'. 'feature_name' must match the filename.
}
block_reference "fill_with" : opt // Reference to the block to fill the cave with.
molang "width_modifier" : opt // How many blocks to increase the cave radius by, from the center point of the cave.
int "skip_carve_chance"<1-*> : opt // The chance to skip doing the carve (1 / value).
int "height_limit" : opt // The height limit where we attempt to carve.
float_range "y_scale" : opt // The scaling in y.
float_range "horizontal_radius_multiplier" : opt // Horizontal radius multiplier.
float_range "vertical_radius_multiplier" : opt // Vertical radius multiplier.
float_range "floor_level" : opt // Floor Level.
block_reference "replace_air_with" : opt // Reference to the block to replace air blocks with.
}
Example
Carve caves normally
{
"format_version": "1.13.0",
"minecraft:underwater_cave_carver_feature": {
"description": {
"identifier": "example:underground_cave_carver_feature"
},
"fill_with": "minecraft:water",
"width_modifier": 0.0,
"replace_air_with": "minecraft:flowing_water"
}
}
(Source: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/minecraftVegetation_patch_feature.md)
Features Documentation - minecraft:vegetation_patch_feature
minecraft:vegetation_patch_feature scatters vegetation in an area. The vegetation feature's appearance can be modified by adjusting the radius and depth that it will generate.
Schema
object "minecraft:vegetation_patch_feature" : opt
{
object "description"
{
string "identifier" // The name of this feature in the form 'namespace_name:feature_name'. 'feature_name' must match the filename.
}
array "replaceable_blocks"
{
"<any array element>" : opt // Blocks that can be replaced by the ground blocks on the patch.
}
"ground_block" // Block used to create a base for the vegetation patch.
feature_reference "vegetation_feature" // Feature that will be placed by the patch.
string "surface" : opt // Determines if a vegetation patch will grow from the ceiling or the floor.
"depth" // Depth of the base covered by the ground blocks.
float "extra_deep_block_chance" : opt // Probability of putting the ground blocks one block deeper. Adds some randomness to the bottom of the patch.
int "vertical_range" // Vertical range used to determine a suitable surface position for the patch.
float "vegetation_chance" : opt // Probability of spawning vegetation on the patch. Larger numbers create a denser vegetation patch.
"horizontal_radius" // Horizontal area that the vegetation patch will cover.
float "extra_edge_column_chance"<0.000000-*> : opt // Probability of spawning vegetation on the edge of the patch radius.
bool "waterlogged" : opt // If true, waterlogs the positions occupied by the ground blocks.
}
Example
{
"format_version": "1.13.0",
"minecraft:vegetation_patch_feature": {
"description": {
"identifier": "example:clay_pool_with_dripleaves_feature"
},
"replaceable_blocks": [
"minecraft:clay",
"minecraft:moss_block",
"minecraft:sand",
"minecraft:gravel",
"minecraft:dirt",
"minecraft:coarse_dirt",
"minecraft:podzol",
"minecraft:dirt_with_roots",
"minecraft:grass_block",
"minecraft:mycelium",
"minecraft:stone",
"minecraft:cave_vines",
"minecraft:cave_vines_body_with_berries",
"minecraft:cave_vines_head_with_berries"
],
"ground_block": "minecraft:clay",
"vegetation_feature": "minecraft:dripleaf_feature",
"surface": "floor",
"depth": 3,
"vertical_range": 5,
"vegetation_chance": 0.1,
"horizontal_radius": {
"range_min": 4,
"range_max": 8
},
"extra_deep_block_chance": 0.8,
"extra_edge_column_chance": 0.7,
"waterlogged": true
}
}
(Source: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/minecraftWeighted_random_feature.md)
Features Documentation - minecraft:weighted_random_feature
minecraft:weighted_random_feature randomly selects and places a feature based on a weight value. Weights are relative, with higher values making selection more likely.
-
Succeeds if the selected feature is placed.
-
Fails if the selected feature fails to be placed.
Schema
object "minecraft:weighted_random_feature" : opt
{
object "description"
{
string "identifier" // The name of this feature in the form 'namespace_name:feature_name'. 'feature_name' must match the filename.
}
array "features"[1,*]
{
array "<any array element>"[2] : opt // Collection of weighted features that placement will select from.
{
feature_reference "[0..0]" // Named reference to a feature.
float "[1..1]" // Weight used in random selection. Value is relative to other weights in the collection.
}
}
}
Example
Selecting and placing a variant of a flower
{
"format_version": "1.13.0",
"minecraft:weighted_random_feature": {
"description": {
"identifier": "example:select_flower_feature"
},
"features": [
[ "example:white_flower_feature", 1 ],
[ "example:red_flower_feature", 2 ],
[ "example:blue_flower_feature", 1 ],
[ "example:yellow_flower_feature", 4 ]
]
}
}
(Source: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/minecraft_aggregate_feature.md)
Feature Documentation - minecraft:aggregate_feature
Places a collection of features in an arbitrary order. All features in the collection use the same input position. Features should not depend on each other, as there is no guarantee in which order the features will be placed. Succeeds if at least one feature is placed successfully. Fails if all features fail to be placed.
[!Note] This item requires a format version of at least 1.20.30.
Aggregate Feature Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| description | not set | Description item | |
| features | not set | Array of strings | Collection of features to be placed one by one. No guarantee of order. All features use the same input position. |
| format_version | not set | String |
Description
Description Properties
JSON path: description
| Name | Default Value | Type | Description |
|---|---|---|---|
| identifier | not set | String | The name of this feature in the form 'namespace_name:feature_name'. 'feature_name' must match the filename. |
Samples
Example
"minecraft:aggregate_feature": {
"format_version": "1.13.0",
"minecraft:aggregate_feature": {
"description": {
"identifier": "example:monument_with_flowers_feature"
},
"features": [
"example:monument_feature",
"example:scatter_white_flowers_feature",
"example:scatter_yellow_flower_feature"
]
}
}
(Source: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/minecraft_beards_and_shavers.md)
Feature Documentation - minecraft:beards_and_shavers
[!IMPORTANT] This type is internal to vanilla Minecraft usage, and is not functional or supported within custom Minecraft content.
Carves or fills terrain within a defined bounding box during world generation. 'Beard' operations add blocks below structures to connect them to ground, while 'shaver' operations remove blocks above to create clearance. Used for natural integration of structures like villages into varied terrain.
Beards And Shavers Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| bounding_box_max | not set | Array of strings | Dimensions of the Bounding Box |
| bounding_box_min | not set | Array of strings | Dimensions of the Bounding Box |
| description | not set | Description item | |
| format_version | not set | String |
Description
Description Properties
JSON path: description
| Name | Default Value | Type | Description |
|---|---|---|---|
| identifier | not set | String | The name of this feature in the form 'namespace_name:feature_name'. 'feature_name' must match the filename. |
(Source: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/minecraft_cave_carver_feature.md)
Feature Documentation - minecraft:cave_carver_feature
Carves a cave through the world in the current chunk, and in every chunk around the current chunk in an 8 radial pattern. This feature only works when placed in the pass "pregeneration_pass".
[!Note] This item requires a format version of at least 1.20.30.
Cave Carver Feature Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| description | not set | Description item | |
| format_version | not set | String | |
| height_limit | not set | Integer number | The height limit where we attempt to carve. |
| skip_carve_chance | not set | Integer number | The chance to skip doing the carve (1 / value). |
| width_modifier | not set | Molang | How many blocks to increase the cave radius by, from the center point of the cave. |
Description
Description Properties
JSON path: description
| Name | Default Value | Type | Description |
|---|---|---|---|
| identifier | not set | String | The name of this feature in the form 'namespace_name:feature_name'. 'feature_name' must match the filename. |
Samples
Example
"minecraft:cave_carver_feature": {
"format_version": "1.13.0",
"minecraft:cave_carver_feature": {
"description": {
"identifier": "example:underground_cave_carver_feature"
},
"fill_with": "minecraft:air",
"width_modifier": 0,
"skip_carve_chance": 15
}
}
(Source: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/minecraft_conditional_list.md)
Feature Documentation - minecraft:conditional_list
[!IMPORTANT] This type is internal to vanilla Minecraft usage, and is not functional or supported within custom Minecraft content.
Evaluates conditions and places features from the first matching entry. Each entry has a condition expression and associated feature—when the condition passes, that feature generates and later entries are skipped. Enables biome-dependent variants or terrain-responsive structure selection during world generation.
Conditional List Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| conditional_features | not set | Array of Conditional Features items | |
| conditional_features (as Array of strings) | not set | Array of strings | Array of features, and their associated conditions, for attempted placement. These features will be evaluated as ordered. |
| description | not set | Description item | |
| early_out_scheme"<"condition_success", "placement_success", "none" | not set | String | Denote whether placement should end on first successful placement ('placement_success'), first passed condition ('condition_success'), or evaluate all features ('none'). Defaults to 'none'. |
| format_version | not set | String |
Conditional Features
Conditional Features Properties
JSON path: conditional_features
| Name | Default Value | Type | Description |
|---|---|---|---|
| condition | not set | Molang | Condition for placing associated Feature. If omitted, always places. |
Description
Description Properties
JSON path: description
| Name | Default Value | Type | Description |
|---|---|---|---|
| identifier | not set | String | The name of this feature in the form 'namespace_name:feature_name'. 'feature_name' must match the filename. |
(Source: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/minecraft_crevasse_feature.md)
Feature Documentation - minecraft:crevasse_feature
Crevasse Feature Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| description | not set | Description item | |
| max_length | not set | Integer number | Maximum end-to-end length of the crevasse, in blocks. |
| max_width | not set | Integer number | Maximum width of the crevasse cross-section, in blocks. |
| min_footprint | not set | Integer number | Minimum connected horizontal footprint required before carving begins, in blocks. |
Description
Description Properties
JSON path: description
| Name | Default Value | Type | Description |
|---|---|---|---|
| identifier | not set | String | The name of this feature in the form 'namespace_name:feature_name'. 'feature_name' must match the filename. |
(Source: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/minecraft_fossil_feature.md)
Feature Documentation - minecraft:fossil_feature
Generates a skeletal structure composed of bone blocks and parametric ore blocks. Succeeds if the fossil is placed. Fails if the fossil is not placed because it overlaps with another structure or because its bounding box has too many corners occupied by air or fluid.
[!Note] This item requires a format version of at least 1.20.30.
Fossil Feature Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| description | not set | Description item | |
| format_version | not set | String | |
| max_empty_corners | not set | Integer number |
Description
Description Properties
JSON path: description
| Name | Default Value | Type | Description |
|---|---|---|---|
| identifier | not set | String | The name of this feature in the form 'namespace_name:feature_name'. 'feature_name' must match the filename. |
Samples
Example
"minecraft:fossil_feature": {
"format_version": "1.13.0",
"minecraft:fossil_feature": {
"description": {
"identifier": "example:fossil_feature"
},
"ore_block": "minecraft:coal_ore",
"max_empty_corners": 4
}
}
(Source: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/minecraft_geode_feature.md)
Feature Documentation - minecraft:geode_feature
generates a rock formation to simulate a geode. Each layer of, and block within, the geode can be replaced. Succeeds if at least one block within the geode is placed. Fails if all blocks within the geode fail to be placed.
[!Note] This item requires a format version of at least 1.20.30.
Geode Feature Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| crack_point_offset | not set | Integer number | An offset applied to each distribution point that forms the geode crack opening. [0,10] |
| description | not set | Description item | |
| format_version | not set | String | |
| inner_placements | not set | Array of strings | |
| invalid_blocks_threshold | not set | Integer number | The threshold of invalid blocks for a geode to have a distribution point in before it aborts generation entirely. |
| max_distribution_points | not set | Integer number | The maximum number of points inside the distance field that can get generated. The distance field is the area consisting of all points with a minimum distance to all destribution points. [0,20] |
| max_outer_wall_distance | not set | Integer number | The maximum distance each distribution point can be from the outer wall. [0,20] |
| max_point_offset | not set | Integer number | The highest possible value of random offset applied to the position of each distribution point. [0,10] |
| max_radius | not set | Integer number | The maximum possible radius of the geode generated. |
| min_distribution_points | not set | Integer number | The minimum number of points inside the distance field that can get generated. The distance field is the area consisting of all points with a minimum distance to all destribution points. [0,10] |
| min_outer_wall_distance | not set | Integer number | The minimum distance each distribution point must be from the outer wall. [0,10] |
| min_point_offset | not set | Integer number | The lowest possible value of random offset applied to the position of each distribution point. [0,10] |
| placements_require_layer0_alternate | not set | Boolean true/false | If true, the potential placement block will only be placed on the alternate layer0 blocks that get placed. |
placements_require_layer0_alternate
If true, the potential placement block will only be placed on the alternate layer0 blocks that get placed. Potential placement blocks are blocks that depend on the existance of another block to be placed. The latter are the layer0 alternate blocks.
Description
Description Properties
JSON path: description
| Name | Default Value | Type | Description |
|---|---|---|---|
| identifier | not set | String | The name of this feature in the form 'namespace_name:feature_name'. 'feature_name' must match the filename. |
Samples
Example
"minecraft:geode_feature": {
"format_version": "1.13.0",
"minecraft:geode_feature": {
"description": {
"identifier": "minecraft:diamond_geode_feature"
},
"filler": "minecraft:air",
"inner_layer": "minecraft:diamond_block",
"alternate_inner_layer": "minecraft:emerald_block",
"middle_layer": "minecraft:calcite",
"outer_layer": "minecraft:obsidian",
"inner_placements": [
{
"name": "minecraft:amethyst_cluster",
"states": {
"amethyst_cluster_type": "small"
}
}
],
"min_outer_wall_distance": 4,
"max_outer_wall_distance": 7,
"min_distribution_points": 3,
"max_distribution_points": 5,
"min_point_offset": 1,
"max_point_offset": 3,
"max_radius": 16,
"crack_point_offset": 2,
"generate_crack_chance": 0.95,
"base_crack_size": 2,
"noise_multiplier": 0.025,
"use_potential_placements_chance": 0.35,
"use_alternate_layer0_chance": 0.083,
"placements_require_layer0_alternate": true,
"invalid_blocks_threshold": 1
}
}
| id | Source | License | Commit | Accessed |
|---|---|---|---|---|
ms-learn | Minecraft Creator documentation (Microsoft Learn) | CC BY 4.0 (documentation), MIT (code) | a9fd1c0 | 2026-11-13 |