A fabric mod which allows you to add/change JSON crafting/cooking/etc. recipes to use nbt input and output.
Everything is kept nicely visualized in the vanilla gui.
This can be achieved through the reintroduced data
attribute.
You can find more information in the wiki.
A simple recipe allowing to craft wooden swords with 20 damage from diamond swords with 2 damage.
{
"type": "crafting_shapeless",
"ingredients": [
{
"item": "minecraft:diamond_sword",
"data": {
"require": {
"Damage": 2
}
}
}
],
"result": {
"item": "minecraft:wooden_sword",
"data": {
"Damage": 2
}
}
}
Due to some additions made with this mod the recipe book displays also the output amount of all recipes - yay!
This mod is available under the Apache 2.0 License.