본문으로 건너뛰기

피처와 피처 룰 레퍼런스 (5/14)

MS Learn(MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0)의 레퍼런스를 발췌한 쪽이다. 원문의 상대 링크는 제거했다.

(출처: ms-learn, creator/Reference/Content/FeaturesReference/Examples/FeatureList.md)

Features Documentation​

FeaturesDescription
minecraft:aggregate_featurePlaces a collection of features in an arbitrary order.
minecraft:cave_carver_featureCarves a cave through the world in the current chunk, and in every chunk around the current chunk in an 8 radial pattern.
minecraft:crevasse_feature
minecraft:fossil_featureGenerates a skeletal structure composed of bone blocks and parametric ore blocks.
minecraft:geode_featuregenerates a rock formation to simulate a geode.
minecraft:growing_plant_featurePlaces a growing plant in the world.
minecraft:height_difference_filter_feature
minecraft:horizontal_tree_decoration_feature
minecraft:multiface_featurePlaces multiface blocks on floors/walls/ceilings.
minecraft:multipart_block_column_feature
minecraft:multi_block_featurePlaces a multi-block in the world as a biome decoration feature.
minecraft:nether_cave_carver_featureCarves a cave through the Nether in the current chunk, and in every chunk around the current chunk in an 8 radial pattern.
minecraft:ore_featurePlaces a vein of blocks to simulate ore deposits.
minecraft:partially_exposed_blob_featureGenerates a blob of the specified block with the specified dimensions.
minecraft:scatter_featureScatters a feature throughout a chunk.
minecraft:search_featureSweeps a volume searching for a valid placement location for its referenced feature.
minecraft:sequence_featurePlaces a collection of features sequentially, in the order they appear in data.
minecraft:single_block_featurePlaces a single block in the world.
minecraft:snap_to_surface_featureSnaps the y-value of a feature placement pos to the floor or the ceiling within the provided vertical_search_range.
minecraft:structure_template_featurePlaces a structure in the world.
minecraft:surface_relative_threshold_featureDetermines whether the provided position is below the estimated surface level of the world, and places a feature if so.
minecraft:tree_featurePlaces a tree in the world.
minecraft:underwater_cave_carver_featureCarves a cave through the world in the current chunk, and in every chunk around the current chunk in an 8-block radial pattern.
minecraft:vegetation_patch_featureScatters vegetation in an area.
minecraft:weighted_random_featureSelects and places a feature randomly based on weighted probabilities.
minecraft:multi_block_featurePlaces a multi-block in the world.

Internal/Deprecated Components​

These components are either deprecated or internal to Minecraft and not usable in custom content.

FeaturesDescription
beards_and_shaversCarves or fills terrain within a defined bounding box during world generation.
conditional_listEvaluates conditions and places features from the first matching entry.
rect_layoutArranges features in a rectangular grid pattern during world generation.
scan_surfaceSearches for valid terrain surface positions before placing features.
sculk_patch_featureGenerates clusters of sculk blocks with veins spreading across surfaces, as found in Deep Dark biomes and Ancient Cities.

(출처: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/feature_document.md)

Feature Documentation - minecraft:feature_document​

A Minecraft Bedrock Edition feature definition document. Features are world generation elements like ore deposits, trees, geodes, and other placeable structures. They define the blocks to place and how to arrange them.

Feature Document Properties​

NameDefault ValueTypeDescription
format_versionnot setVersionThe format version of this feature file. Use '1.13.0' or later.

(출처: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/feature_rule_conditions.md)

Feature Documentation - minecraft:feature_rule_conditions​

Feature Rule Conditions.

Feature Rule Conditions Properties​

NameDefault ValueTypeDescription
minecraft:biome_filternot setObjectList of filter tests to determine which biomes this rule will attach to.
placement_passnot setStringWhen the feature should be placed relative to others. Earlier passes in the list are guaranteed to occur before later passes. Order is not guaranteed within each pass.

(출처: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/feature_rule_definition.md)

Feature Documentation - minecraft:feature_rule_definition​

Feature Rule Definition.

Feature Rule Definition Properties​

NameDefault ValueTypeDescription
conditionsnot setObjectParameters to control where and when the feature will be placed.
descriptionnot setObjectIdentifier for the Feature Rule and Feture to place.
distributionnot setDistribution itemParameters controlling the initial scatter of the feature.
Distribution​

Controls the scatter distribution of features during world generation.

Distribution Properties​

JSON path: distribution

NameDefault ValueTypeDescription
coordinate_eval_orderxzyCoordinate Eval Order choicesThe order in which coordinates will be evaluated. Should be used when a coordinate depends on another. Defaults to 'xzy'.
iterations1Integer numberNumber of scattered positions to generate. Can be an integer or a Molang expression.
scatter_chance1Decimal numberProbability that this scatter will occur (0.0 to 1.0 or Molang expression). If not triggered, no iterations will run.
x0Integer numberDistribution for the X coordinate (evaluated each iteration). Can be an integer, range object, or Molang expression.
y0Integer numberDistribution for the Y coordinate (evaluated each iteration). Can be an integer, range object, or Molang expression.
z0Integer numberDistribution for the Z coordinate (evaluated each iteration). Can be an integer, range object, or Molang expression.
Coordinate Eval Order choices​
ValueTitleDescription
undefined
undefined
undefined
undefined
undefined
undefined

(출처: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/feature_rule_description.md)

Feature Documentation - minecraft:feature_rule_description​

Feature Rule Description.

Feature Rule Description Properties​

NameDefault ValueTypeDescription
identifiernot setStringThe name of this feature rule in the format 'namespace_name:rule_name'. 'rule_name' must match the filename.
places_featurenot setStringNamed reference to the feature controlled by this rule.

(출처: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/minecraftAggregate_feature.md)

Features Documentation - minecraft:aggregate_feature​

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.

Schema​
object "minecraft:aggregate_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,*] // Collection of features to be placed one by one. No guarantee of order. All features use the same input position.
{
feature_reference "<any array element>" : opt
}
enumerated_value "early_out"<"none", "first_failure", "first_success"> : opt // LIKELY TO BE CHANGED: Do not continue placing features once either the first success or first failure has occurred.
}
Example​

Scattering multiple different plants around a monument

{
"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"
]
}
}

(출처: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/minecraftCave_carver_feature.md)

Features Documentation - minecraft:cave_carver_feature​

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".

Schema​
object "minecraft: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.
}
Example​

Carve caves normally.

{
"format_version": "1.13.0",
"minecraft:cave_carver_feature": {
"description": {
"identifier": "example:underground_cave_carver_feature"
},
"fill_with": "minecraft:air",
"width_modifier": 0.0,
"skip_carve_chance": 15
}
}

(출처: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/minecraftFossil_feature.md)

Features Documentation - minecraft:fossil_feature​

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.

Schema​
object "minecraft:fossil_feature" : opt
{
object "description"
{
string "identifier" // The name of this feature in the form 'namespace_name:feature_name'. 'feature_name' must match the filename.
}
"ore_block"
int "max_empty_corners"
}
Example​

Fossil composed of bone blocks and coal ore blocks.

{
"format_version": "1.13.0",
"minecraft:fossil_feature": {
"description": {
"identifier": "example:fossil_feature"
},
"ore_block": "minecraft:coal_ore",
"max_empty_corners": 4
}
}

(출처: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/minecraftGeode_feature.md)

Features Documentation - minecraft:geode_feature​

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.

Schema​
object "example:geode_feature" : opt
{
object "description"
{
string "identifier" // The name of this feature in the form 'namespace_name:feature_name'. 'feature_name' must match the filename.
}
"filler" // The block to fill the inside of the geode.
"inner_layer" // The block that forms the inside layer of the geode shell.
"alternate_inner_layer" // The block that has a chance of generating instead of inner_layer.
"middle_layer" // The block that forms the middle layer of the geode shell.
"outer_layer" // The block that forms the outer shell of the geode.
array "inner_placements"[1,*] : opt
{
"<any array element>" // A list of blocks that may be replaced during placement. Omit this field to allow any block to be replaced.
}
int "min_outer_wall_distance"<1-10> // The minimum distance each distribution point must be from the outer wall. [0,10]
int "max_outer_wall_distance"<1-20> // The maximum distance each distribution point can be from the outer wall. [0,20]
int "min_distribution_points"<1-10> // 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 distribution points. [0,10]
int "max_distribution_points"<1-20> // 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 distribution points. [0,20]
int "min_point_offset"<0-10> // The lowest possible value of random offset applied to the position of each distribution point. [0,10]
int "max_point_offset"<0-10> // The highest possible value of random offset applied to the position of each distribution point. [0,10]
int "max_radius" // The maximum possible radius of the geode generated.
int "crack_point_offset"<0-10> // An offset applied to each distribution point that forms the geode crack opening. [0,10]
float "generate_crack_chance"<0.000000-1.000000> // The likelihood of a geode generating with a crack in its shell. [0,1]
float "base_crack_size"<0.000000-5.000000> // How large the crack opening of the geode should be when generated. [0,5]
float "noise_multiplier" // A multiplier applied to the noise that is applied to the distribution points within the geode. Higher = more noisy.
float "use_potential_placements_chance"<0.000000-1.000000> // The likelihood that a special block will be placed on the inside of the geode. [0,1]
float "use_alternate_layer0_chance"<0.000000-1.000000> // The likelihood that a block in the innermost layer of the geode will be replaced with an alternate option. [0,1]
bool "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 existence of another block to be placed. The latter are the layer0 alternate blocks.
int "invalid_blocks_threshold" // The threshold of invalid blocks for a geode to have a distribution point in before it aborts generation entirely.
}
Example​

Diamond geodes with emerald blocks inside and obsidian on the outside

{
"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.0,
"generate_crack_chance": 0.95,
"base_crack_size": 2.0,
"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
}
}

(출처: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/minecraftGrowing_plant_feature.md)

Features Documentation - minecraft:growing_plant_feature​

minecraft:growing_plant_feature places a growing plant in the world. A growing plant is a column that is anchored either to the ceiling or the floor, based on its growth direction. The growing plant has a body and a head, where the head is the tip of the plant, and the body consists of the remaining blocks.

This feature can be used to define growing plants with variable body and head blocks, e.g. Cave Vines.

Schema​
object "minecraft:growing_plant_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 "height_distribution"[1,*]
{
array "<any array element>"[2] // Collection of weighted heights that placement will select from.
{
"[0..0]" // Plant height.
float "[1..1]" // Weight used in random selection. Value is relative to other weights in the collection.
}
}
string "growth_direction" // Direction that the plant grows towards. Valid values: UP and DOWN
"age" : opt // Age of the head of the plant.
array "body_blocks"[1,*]
{
array "<any array element>"[2] // Collection of weighted block descriptor that placement will select from for the body of the plant.
{
"[0..0]" // Plant body block.
float "[1..1]" // Weight used in random selection. Value is relative to other weights in the collection.
}
}
array "head_blocks"[1,*]
{
array "<any array element>"[2] // Collection of weighted block descriptor that placement will select from for the head of the plant.
{
"[0..0]" // Plant head block.
float "[1..1]" // Weight used in random selection. Value is relative to other weights in the collection.
}
}
bool "allow_water" : opt // Plant blocks can be placed in water.
}
Example​

Defining a growing plant feature with variable body and head blocks and height distribution

{
"format_version": "1.13.0",
"minecraft:growing_plant_feature": {
"description": {
"identifier": "example:cave_vine_feature"
},
"height_distribution": [
[{ "range_min": 1, "range_max": 13 }, 2],
[{ "range_min": 1, "range_max": 2 }, 3],
[{ "range_min": 1, "range_max": 7 }, 10]
],
"growth_direction": "DOWN",
"age": { "range_min": 17, "range_max": 26 },
"body_blocks": [
["minecraft:cave_vines", 4],
["minecraft:cave_vines_body_with_berries", 1]
],
"head_blocks": [
["minecraft:cave_vines", 4],
["minecraft:cave_vines_head_with_berries", 1]
],
"allow_water": true
}
}

(출처: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/minecraftMulti_block_feature.md)

Features Documentation - minecraft:multi_block_feature​

minecraft:multi_block_feature places a multi-block in the world as a biome decoration feature. A multi-block must be defined with the minecraft:multi_block trait. The required places_block field supports a single block, it must be a multi-block and it must be be the first part of a multi-block i.e. the minecraft:multi_block_part state must have a value of 0. The optional may_replace field is an allowlists which specifies what blocks each part of the multi-block can replace. If this field is omitted, the multi-block parts can be placed anywhere. However, they may not replace other multi-block parts. The optional randomize_rotation field will randomize the multi-blocks cardinal orientation. If this field is enabled then the multi-block must have the cardinal direction state. The optional enforce_placement_rules field will check if each part of the multi-block may be placed on top of existing blocks. If the multi-block defines a minecraft:placement_filter component then each part is also checked against the blocks defined in that component.

Succeeds if: all parts of the multi-block are successfully placed in the world.

Fails if: The any block part fails to be placed or fails one of the optional checks above.

Schema​
object "minecraft:multi_block_feature" : opt
{
object "description"
{
string "identifier" // The name of this feature in the form 'namespace_name:feature_name'. 'feature_name' must match the filename.
}
"places_block" // Reference to the multi-block to be placed, must be the first part of a multi-block.
bool "enforce_placement_rules" : opt // If true, enforce the multi-blocks mayPlace checks.
bool "randomize_rotation" : opt // If true, randomizes the block's cardinal orientation.
array "may_replace" : opt
{
"<any array element>" : opt // A list of blocks that may be replaced during placement. Omit this field to allow any block to be replaced, except other multi-blocks.
}
}
Example - Placing a horizontal log multi-block where the direction is randomized, it may replace 3 types of blocks, and it must respect any blocks in the placement filter component.​
{
"format_version": "1.26.50",
"minecraft:multi_block_feature": {
"description": {
"identifier": "example:horizontal_log_feature"
},
"places_block": "example:horizontal_log",
"randomize_rotation": true,
"enforce_placement_rules": true,
"may_replace": [
"minecraft:air",
"minecraft:grass",
"minecraft:dirt"
]
}
}

(출처: ms-learn, creator/Reference/Content/FeaturesReference/Examples/Features/minecraftMultiface_feature.md)

Features Documentation - minecraft:multiface_feature​

minecraft:multiface_feature places multiface blocks on floors/walls/ceilings. Despite the name, any block can be placed by this feature. During placement, existing world blocks are checked to see if this feature can be applied to them based on the list in the can_place_on field. If no can_replace_on field is specified, the place_block block can be placed on any existing block. This feature will also try to spread the place_block block around the location the feature is placed.

Succeeds if: At least one block is successfully placed.

Fails if: All block placements fail.

Schema​
object "minecraft:multiface_feature" : opt
{
object "description"
{
string "identifier" // The name of this feature in the form 'namespace_name:feature_name'. 'feature_name' must match the filename.
}
"places_block" // Reference to the block to be placed.
int "search_range"<1-64> // How far, in blocks, this feature can search for a valid position to place.
bool "can_place_on_floor" // Can this feature be placed on the ground (top face of a block)?
bool "can_place_on_ceiling" // Can this feature be placed on the ceiling (bottom face of a block)?
bool "can_place_on_wall" // Can this feature be placed on the wall (side faces of a block)?
float "chance_of_spreading"<0.000000-1.000000> // For each block placed by this feature, how likely will that block spread to another?
array "can_place_on"[1,*] : opt
{
"<any array element>" : opt // A list of blocks that the block in this feature can be placed on. Omit this field to allow any block to be placed on.
}
}
Example​

Blue vines in caves

{
"format_version": "1.13.0",
"minecraft:multiface_feature": {
"description": {
"identifier": "example:blue_vines_feature"
},
"places_block": "example:blue_vine",
"search_range": 64,
"can_place_on_floor": true,
"can_place_on_ceiling": true,
"can_place_on_wall": true,
"chance_of_spreading": 0.5,
"can_place_on": [
"minecraft:stone"
]
}
}
출처
id출처라이선스커밋접근일
ms-learnMinecraft Creator 문서 (Microsoft Learn)CC BY 4.0 (문서), MIT (코드)a9fd1c02026-11-13