手册: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"
  ]
}