본문으로 건너뛰기

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

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

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

Feature Documentation - minecraft:tree_feature​

Contents​

  • Acacia Canopy
  • Acacia Trunk
  • Base Cluster
  • Cherry Trunk
  • Description
  • Fallen Trunk
  • Fancy Trunk
  • Mangrove Roots
  • Mangrove Trunk
  • Mega Trunk
  • Poplar Canopy
  • Random Spread Canopy
  • Trunk

Places a tree in the world. A tree consists of a column that is anchored to a base block with set parameters for what it can be placed on and canopy that extends from the column. The trunk height can be randomized with a min and max value, as well as the canopy offset.

[!Note] This item requires a format version of at least 1.20.30.

Tree Feature Properties​

NameDefault ValueTypeDescription
acacia_canopynot setAcacia Canopy item
acacia_trunknot setAcacia Trunk item
base_blocknot setArray of strings
base_clusternot setBase Cluster itemClusters of blocks randomly replaced with "base_block" around the base of the tree.
canopynot setCanopy item
cherry_canopynot setCherry Canopy item
cherry_trunknot setCherry Trunk item
descriptionnot setDescription item
fallen_trunknot setFallen Trunk item
fancy_canopynot setFancy Canopy item
fancy_trunknot setFancy Trunk item
format_versionnot setString
mangrove_canopynot setKey/item pairs of Mangrove Canopy items
mangrove_rootsnot setMangrove Roots item
mangrove_trunknot setMangrove Trunk item
may_grow_onnot setArray of strings
may_grow_throughnot setArray of strings
may_replacenot setArray of strings
mega_canopynot setMega Canopy item
mega_pine_canopynot setMega Pine Canopy item
mega_trunknot setMega Trunk item
pine_canopynot setPine Canopy item
poplar_canopynot setPoplar Canopy item
poplar_trunknot setPoplar Trunk item
random_spread_canopynot setKey/item pairs of Random Spread Canopy items
roofed_canopynot setRoofed Canopy item
spruce_canopynot setObject
trunknot setTrunk item
Acacia Canopy​

Acacia Canopy Properties​

JSON path: acacia_canopy

NameDefault ValueTypeDescription
canopy_sizenot setInteger numberThe size of the canopy.
simplify_canopynot setBoolean true/falseIf true the canopy uses a simple pattern.
Acacia Trunk​

Acacia Trunk Properties​

JSON path: acacia_trunk

NameDefault ValueTypeDescription
branchesnot setBranches itemConfiguration object for branches.
trunk_decorationnot setTrunk Decoration itemConfiguration object for the trunk decoration.
trunk_heightnot setTrunk Height itemConfiguration object for the trunk height.
trunk_leannot setTrunk Lean itemConfiguration object for diagonal branches.
trunk_widthnot setInteger numberThe width of the tree trunk.

Branches​

Branches Properties​

JSON path: acacia_trunk > branches

NameDefault ValueTypeDescription
branch_canopynot setBranch Canopy itemConfiguration object for the canopy.
Branch Canopy​
Branch Canopy Properties​

JSON path: acacia_trunk > branches > branch_canopy

NameDefault ValueTypeDescription
acacia_canopynot setAcacia Canopy item
canopynot setCanopy item
cherry_canopynot setCherry Canopy item
fancy_canopynot setFancy Canopy item
mangrove_canopynot setKey/item pairs of Mangrove Canopy items
mega_canopynot setMega Canopy item
mega_pine_canopynot setMega Pine Canopy item
pine_canopynot setPine Canopy item
roofed_canopynot setRoofed Canopy item
spruce_canopynot setObject
Canopy​
Canopy Properties​

JSON path: acacia_trunk > branches > branch_canopy > canopy

NameDefault ValueTypeDescription
canopy_decorationnot setCanopy Decoration itemConfiguration object for the canopy decoration.
canopy_offsetnot setCanopy Offset itemCanopy position offset relative to the block above the trunk.
canopy_slopenot setCanopy Slope itemConfiguration object for the canopy slope.
min_widthnot setInteger numberMin width for the canopy.
variation_chancenot setArray of strings
Canopy Decoration​
Canopy Decoration Properties​

JSON path: acacia_trunk > branches > branch_canopy > canopy > canopy_decoration

NameDefault ValueTypeDescription
decoration_blocks_sequencenot setArray of objects
decoration_blocks_sequence (as Array of strings)not setArray of strings
num_stepsnot setInteger numberNumber of decoration blocks to place. (Will not be used if "decoration_blocks_sequence" given)
step_direction"<"down", "up", "out", "away"not setStringDirections to spread decoration blocks.
Canopy Offset​
Canopy Offset Properties​

JSON path: acacia_trunk > branches > branch_canopy > canopy > canopy_offset

NameDefault ValueTypeDescription
maxnot setInteger numberMax canopy position offset.
minnot setInteger numberMin canopy position offset.
Canopy Slope​
Canopy Slope Properties​

JSON path: acacia_trunk > branches > branch_canopy > canopy > canopy_slope

NameDefault ValueTypeDescription
risenot setInteger numberThe numerator for the slope fraction.
runnot setInteger numberThe denominator for the slope fraction.
Cherry Canopy​
Cherry Canopy Properties​

JSON path: acacia_trunk > branches > branch_canopy > cherry_canopy

NameDefault ValueTypeDescription
trunk_widthnot setInteger numberThe width of the tree trunk.
Fancy Canopy​
Fancy Canopy Properties​

JSON path: acacia_trunk > branches > branch_canopy > fancy_canopy

NameDefault ValueTypeDescription
heightnot setInteger numberNumber of layers for the canopy.
radiusnot setInteger numberThe radius of the canopy.
Mangrove Canopy​
Mangrove Canopy Properties​

JSON path: acacia_trunk > branches > branch_canopy > mangrove_canopy

NameDefault ValueTypeDescription
canopy_decorationnot setCanopy Decoration itemConfiguration object for the canopy decoration.
leaf_blocksnot setArray of strings
leaf_placement_attemptsnot setInteger numberMax number of attempts to create leaf blocks.
Mega Canopy​
Mega Canopy Properties​

JSON path: acacia_trunk > branches > branch_canopy > mega_canopy

NameDefault ValueTypeDescription
base_radiusnot setInteger numberRadius of the canopy.
core_widthnot setInteger numberWidth of the tree trunk.
simplify_canopynot setBoolean true/falseIf true the canopy uses a simple pattern.
Mega Pine Canopy​
Mega Pine Canopy Properties​

JSON path: acacia_trunk > branches > branch_canopy > mega_pine_canopy

NameDefault ValueTypeDescription
base_radiusnot setInteger numberRadius of the canopy.
core_widthnot setInteger numberWidth of the tree trunk.
Pine Canopy​
Pine Canopy Properties​

JSON path: acacia_trunk > branches > branch_canopy > pine_canopy

NameDefault ValueTypeDescription
base_radiusnot setInteger numberRadius of the canopy.
Roofed Canopy​
Roofed Canopy Properties​

JSON path: acacia_trunk > branches > branch_canopy > roofed_canopy

NameDefault ValueTypeDescription
canopy_heightnot setInteger numberRoofed canopies feature a base and a top layer, and an extra cap layer on some occasions, this value controls the number of layers in the middle.
core_widthnot setInteger numberWidth of the tree trunk.
inner_radiusnot setInteger numberRadius used for the middle layers.
outer_radiusnot setInteger numberRadius used for the base and top layers.

Trunk Decoration​

Trunk Decoration Properties​

JSON path: acacia_trunk > trunk_decoration

NameDefault ValueTypeDescription
decoration_blocks_sequencenot setArray of objects
decoration_blocks_sequence (as Array of strings)not setArray of strings
num_stepsnot setInteger numberNumber of decoration blocks to place. (Will not be used if "decoration_blocks_sequence" given)
step_direction"<"down", "up", "out", "away"not setStringDirections to spread decoration blocks.

Trunk Height​

Trunk Height Properties​

JSON path: acacia_trunk > trunk_height

NameDefault ValueTypeDescription
basenot setInteger numberMin height for the trunk.
intervalsnot setArray of strings
min_height_for_canopynot setInteger numberMin height where the canopy can be placed.

Trunk Lean​

Trunk Lean Properties​

JSON path: acacia_trunk > trunk_lean

NameDefault ValueTypeDescription
allow_diagonal_growthnot setBoolean true/falseIf true, diagonal branches will be created.
Base Cluster​

Base Cluster Properties​

JSON path: base_cluster

NameDefault ValueTypeDescription
cluster_radiusnot setInteger numberThe radius of each cluster.
may_replacenot setArray of strings
num_clustersnot setInteger numberNumber of clusters to generate.
Cherry Trunk​

Cherry Trunk Properties​

JSON path: cherry_trunk

NameDefault ValueTypeDescription
branchesnot setBranches itemConfiguration object for branches.
trunk_heightnot setTrunk Height itemConfiguration object for the trunk height.
Description​

Description Properties​

JSON path: description

NameDefault ValueTypeDescription
identifiernot setStringThe name of this feature in the form 'namespace_name:feature_name'. 'feature_name' must match the filename.
Fallen Trunk​

Fallen Trunk Properties​

JSON path: fallen_trunk

NameDefault ValueTypeDescription
trunk_decorationnot setTrunk Decoration itemConfiguration object for the trunk decoration.
Fancy Trunk​

Fancy Trunk Properties​

JSON path: fancy_trunk

NameDefault ValueTypeDescription
branchesnot setObjectConfiguration object for branches.
trunk_heightnot setTrunk Height itemConfiguration object for the trunk height.
trunk_widthnot setInteger numberThe width of the tree trunk.
Mangrove Roots​

Mangrove Roots Properties​

JSON path: mangrove_roots

NameDefault ValueTypeDescription
above_rootnot setObjectConfiguration object for blocks decorating the top of the roots.
max_root_lengthnot setInteger numberMax length for the roots.
max_root_widthnot setInteger numberMax width that the roots can occupy. The width increases up to the max width while moving downwards. When a max width is reached, roots will grow vertically.
root_decorationnot setRoot Decoration itemConfiguration object for the root decoration.
roots_may_grow_throughnot setArray of strings

Root Decoration​

Root Decoration Properties​

JSON path: mangrove_roots > root_decoration

NameDefault ValueTypeDescription
decoration_blocks_sequencenot setArray of objects
decoration_blocks_sequence (as Array of strings)not setArray of strings
num_stepsnot setInteger numberNumber of decoration blocks to place. (Will not be used if "decoration_blocks_sequence" given)
step_direction"<"down", "up", "out", "away"not setStringDirections to spread decoration blocks.
Mangrove Trunk​

Mangrove Trunk Properties​

JSON path: mangrove_trunk

NameDefault ValueTypeDescription
branchesnot setObjectConfiguration object for branches.
trunk_decorationnot setTrunk Decoration itemConfiguration object for the trunk decoration.
trunk_heightnot setTrunk Height itemConfiguration object for the trunk height.
trunk_widthnot setInteger numberThe width of the tree trunk.
Mega Trunk​

Mega Trunk Properties​

JSON path: mega_trunk

NameDefault ValueTypeDescription
branchesnot setBranches itemConfiguration object for branches.
trunk_decorationnot setTrunk Decoration itemConfiguration object for the trunk decoration.
trunk_heightnot setTrunk Height itemConfiguration object for the trunk height.
Poplar Canopy​

Poplar Canopy Properties​

JSON path: poplar_canopy

NameDefault ValueTypeDescription
radiusnot setArray of Radius items
radius (as Array of strings)not setArray of stringsRandomly selects a radius from this list based on their weighted value.
trunk_widthnot setInteger numberThe width of the tree trunk.

Radius​

Radius Properties​

JSON path: poplar_canopy > radius

NameDefault ValueTypeDescription
valuenot setInteger numberRadius of canopy.
weightnot setInteger numberWeight for this entry.
Poplar Trunk​

Same structure as Fallen Trunk.

Random Spread Canopy​

Random Spread Canopy Properties​

JSON path: random_spread_canopy

NameDefault ValueTypeDescription
leaf_blocksnot setArray of strings
leaf_placement_attemptsnot setInteger numberMax number of attempts to create leaf blocks.
Trunk​

Trunk Properties​

JSON path: trunk

NameDefault ValueTypeDescription
can_be_submergednot setCan Be Submerged itemSpecifies if the trunk can be submerged.
can_be_submerged (as Boolean true/false)not setBoolean true/falseSpecifies if the trunk can be submerged.
trunk_decorationnot setTrunk Decoration itemConfiguration object for the trunk decoration.

Can Be Submerged​

Can Be Submerged Properties​

JSON path: trunk > can_be_submerged

NameDefault ValueTypeDescription
max_depthnot setInteger numberDefines the max depth at which the trunk can be submerged.

Samples​

Example​

"minecraft:tree_feature": {
"format_version": "1.13.0",
"minecraft:tree_feature": {
"description": {
"identifier": "example:azalea_tree_feature"
},
"acacia_trunk": {
"trunk_width": 1,
"trunk_height": {
"base": 4,
"intervals": [
2
],
"min_height_for_canopy": 3
},
"trunk_block": {
"name": "minecraft:log",
"states": {
"old_log_type": "oak"
}
},
"trunk_lean": {
"allow_diagonal_growth": true,
"lean_height": {
"range_min": 2,
"range_max": 3
},
"lean_steps": {
"range_min": 3,
"range_max": 4
},
"lean_length": {
"range_min": 1,
"range_max": 2
}
}
},
"random_spread_canopy": {
"canopy_height": 2,
"canopy_radius": 3,
"leaf_placement_attempts": 50,
"leaf_blocks": [
[
"minecraft:azalea_leaves",
3
],
[
"minecraft:azalea_leaves_flowered",
1
]
]
},
"base_block": [
"minecraft:dirt_with_roots"
],
"may_grow_on": [
"minecraft:dirt",
"minecraft:grass_block",
"minecraft:podzol",
"minecraft:dirt",
"minecraft:farmland",
"minecraft:dirt_with_roots",
"minecraft:moss_block",
"minecraft:clay",
"minecraft:mycelium",
"minecraft:mud",
"minecraft:muddy_mangrove_roots"
],
"may_replace": [
"minecraft:oak_leaves",
"minecraft:spruce_leaves",
"minecraft:birch_leaves",
"minecraft:jungle_leaves",
"minecraft:acacia_leaves",
"minecraft:dark_oak_leaves",
"minecraft:azalea",
"minecraft:flowering_azalea",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
"minecraft:mangrove_leaves",
"minecraft:water",
"minecraft:flowing_water",
"minecraft:moss_carpet",
"minecraft:tallgrass",
"minecraft:grass_block",
"minecraft:air",
"minecraft:sunflower",
"minecraft:lilac",
"minecraft:tall_grass",
"minecraft:large_fern",
"minecraft:rose_bush",
"minecraft:peony"
],
"may_grow_through": [
"minecraft:dirt",
"minecraft:grass_block",
"minecraft:moss_carpet",
"minecraft:tallgrass",
"minecraft:sunflower",
"minecraft:lilac",
"minecraft:tall_grass",
"minecraft:large_fern",
"minecraft:rose_bush",
"minecraft:peony"
]
}
}
출처
id출처라이선스커밋접근일
ms-learnMinecraft Creator 문서 (Microsoft Learn)CC BY 4.0 (문서), MIT (코드)a9fd1c02026-11-13