Skip to content

方块粉碎配方 (Block Crush Recipe)

方块粉碎配方用于将方块粉碎成更小的方块或物品。

基本结构

json
{
  "type": "anvilcraft:block_crush",
  "input": {
    "blocks": "minecraft:cobblestone"
  },
  "result": {
    "id": "minecraft:gravel",
    "count": 1
  }
}

字段说明

type

固定值 anvilcraft:block_crush,标识这是一个方块粉碎配方。

input

配方所需的输入方块。元素包含:

  • blocks: 方块ID(可以是单个方块ID字符串或方块ID数组)

result

配方的输出物品。元素包含:

  • id: 物品ID
  • count: 物品数量

使用示例

将圆石粉碎成沙砾:

json
{
  "type": "anvilcraft:block_crush",
  "input": {
    "blocks": "minecraft:cobblestone"
  },
  "result": {
    "id": "minecraft:gravel",
    "count": 1
  }
}

Released under the CC-BY-NC-SA 4.0 License.