
NBT Recipes
This mod expands the capabilities of working with recipes in Minecraft, allowing you to add NBT data to the results of crafting, smelting, stone cutting, and blacksmithing. At the same time, compatibility with existing recipes containing NBT data is maintained.
Main Features
The mod provides developers with flexible tools for creating complex items with custom properties. You can set the number of items received and add various NBT tags, including display name, description, and enchantments.
Crafting Recipe Example
{
"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": [{}]
}
}
}
Smelting Recipe Example
{
"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
}
Stone Cutting Recipe Example
{
"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": [{}]
}
}
}
Blacksmithing Recipe Example
{
"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": [{}]
}
}
}