
NBT 配方
添加了向配方json文件添加NBT数据的功能
NBT 配方
添加了向 JSON 配方结果添加 NBT 数据的能力,同时保留了读取带有 NBT 数据配方的能力。还添加了为烧炼、切石和锻造设置结果数量的能力。
合成 JSON 示例
{
"type": "minecraft:crafting_shaped",
"pattern": [
"#"
],
"key": {
"#": {
"item": "minecraft:diamond"
}
},
"result": {
"item": "minecraft:amethyst_shard",
"count": 3,
"data": {
"display": {
"Name": "[{\"text\":\"Example Item\",\"italic\":false}]",
"Lore": [
"[{\"text\":\"I am an example\",\"italic\":false}]"
]
},
"Enchantments": [{}]
}
}
}
烧炼 JSON 示例
{
"type": "minecraft:smelting",
"ingredient": {
"item": "minecraft:diamond"
},
"result": {
"item": "minecraft:amethyst_shard",
"count": 3,
"data": {
"display": {
"Name": "[{\"text\":\"Example Item\",\"italic\":false}]",
"Lore": [
"[{\"text\":\"I am an example\",\"italic\":false}]"
]
},
"Enchantments": [{}]
}
},
"experience": 1,
"cookingtime": 20
}
切石 JSON 示例
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:diamond"
},
"result": {
"item": "minecraft:amethyst_shard",
"count": 3,
"data": {
"display": {
"Name": "[{\"text\":\"Example Item\",\"italic\":false}]",
"Lore": [
"[{\"text\":\"I am an example\",\"italic\":false}]"
]
},
"Enchantments": [{}]
}
}
}
锻造 JSON 示例
{
"type": "minecraft:smithing_transform",
"template": {
"item": "minecraft:stick"
},
"base": {
"item": "minecraft:gold_ingot"
},
"addition": {
"item": "minecraft:diamond"
},
"result": {
"item": "minecraft:amethyst_shard",
"count": 3,
"data": {
"display": {
"Name": "[{\"text\":\"Example Item\",\"italic\":false}]",
"Lore": [
"[{\"text\":\"I am an example\",\"italic\":false}]"
]
},
"Enchantments": [{}]
}
}
}
正在加载版本记录…
正在加载评论…
评论在新手盒子客户端中发表,这里同步展示。