Results¶
Basically every recipe output has an additional data
property:
{
"type": "crafting_shapeless",
"ingredients": [
{
"item": "minecraft:apple",
}
],
"result": {
"item": "minecraft:diamond_axe",
"data": ...
}
}
The data attribute represents the items nbt tag in JSON. Additionally dollars may be used for advanced recipes.
It may look like this:
"data": {
"display": {
"Name": "{\"text\":\"Battle Axe\"}"
},
"Enchantments": [
{
"id": "minecraft:sharpness",
"lvl": 10
}
]
}