我配置了一个牛奶的烧炼配方,但是我想让牛奶烧完之后剩下空桶,应该怎么在代码中写?
你好,这个只能在工作台实现,比如说做蛋糕的时候剩下空桶
{
"format_version": "1.12",//此档案的版本,可以改
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:cake"//被合成物品的ID
},
"tags": [ "crafting_table" ],
"pattern": [
"AAA",
"BEB",
"CCC"//合成表
],
"key": {
"A": {
"item": "minecraft:bucket",
"data": 1
},
"B": {
"item": "minecraft:sugar"
},
"C": {
"item": "minecraft:wheat"
},
"E": {
"item": "minecraft:egg"//用什么合成?
}
},
"result": [
{ "item": "minecraft:cake" },//出现在合成表之后的格子的物品
{ "item": "minecraft:bucket", "count": 3, "data": 0 }//出现在合成栏的物品。
]
}
}
"format_version": "1.12",//此档案的版本,可以改
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:cake"//被合成物品的ID
},
"tags": [ "crafting_table" ],
"pattern": [
"AAA",
"BEB",
"CCC"//合成表
],
"key": {
"A": {
"item": "minecraft:bucket",
"data": 1
},
"B": {
"item": "minecraft:sugar"
},
"C": {
"item": "minecraft:wheat"
},
"E": {
"item": "minecraft:egg"//用什么合成?
}
},
"result": [
{ "item": "minecraft:cake" },//出现在合成表之后的格子的物品
{ "item": "minecraft:bucket", "count": 3, "data": 0 }//出现在合成栏的物品。
]
}
}