手冊:Minecraft:crafting table (方塊元件)/1.18.0

出自Minecraft基岩版开发Wiki

模式[編輯]

object "minecraft:crafting_table" : opt
{
    string "custom_description"
    array "crafting_tags"[0,64]
    {
        string "<any array element>"
    }
}

結構[編輯]

  •  minecraft:crafting_table:根物件。
    • *custom_description:定義合成界面顯示的標題。
    • *crafting_tags:定義合成配方的標籤,最多64個元素。定義的標籤將用於配方JSON檔案中確定該配方可用的範圍。

範例[編輯]

"minecraft:crafting_table": {
  "custom_description": "Example Name",
  "crafting_tags": [
    "crafting_table",
    "custom_tag"
  ]
}