手册:minecraft:snap_to_surface_feature

来自Minecraft基岩版开发Wiki
minecraft:snap_to_surface_feature
模式
所属域
features
类型
对齐至表面地物
加入版本
?

用于将地物固定在指定y轴范围内的天花板或地面。

语法[编辑]

结构[编辑]

  •  minecraft:snap_to_surface_feature:根对象。
    • *description:描述。

示例[编辑]

下面的示例将把minecraft:cave_vine_feature固定在天花板上。

{
  "format_version": "1.16.0",
  "minecraft:snap_to_surface_feature": {
    "description": {
      "identifier": "minecraft:cave_vine_snapped_to_ceiling_feature"
    },
    "feature_to_snap":  "minecraft:cave_vine_feature",
    "vertical_search_range":  12,
    "surface": "ceiling"
  }
}

历史[编辑]

基岩版
??加入了minecraft:snap_to_surface_feature

漏洞[编辑]

关于“minecraft:snap_to_surface_feature”的漏洞在国际版中由漏洞追踪器维护,请在此报告漏洞。

Template:Navbox schema