手冊:minecraft:growing_plant_feature
用於在天花板或地面生成柱狀植物。
語法 edit
結構 edit
範例 edit
下面的範例用於生成蒼鬱洞窟裡的螢光莓。類似螢光莓這樣的柱狀生長植物具有(可變的)主體方塊和頂部方塊。
{
"format_version": "1.16.0",
"minecraft:growing_plant_feature": {
"description": {
"identifier": "minecraft: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
}
}
歷史 edit
基岩版 | |||||
---|---|---|---|---|---|
? | ? | 加入了minecraft:growing_plant_feature。 |
錯誤 edit
關於「minecraft:growing_plant_feature」的錯誤在國際版中由錯誤追蹤器維護,請在此回報錯誤。