手冊: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