手册:minecraft:growing_plant_feature

From Minecraft基岩版开发Wiki
minecraft:growing_plant_feature
模式
所属域
features
类型
生长植物地物
加入版本
?

用于在天花板或地面生成柱状植物。

语法[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”的漏洞在国际版中由漏洞追踪器维护,请在此报告漏洞。

Template:Navbox schema