Nbt Crafting
About the Project
This Fabric mod extends Minecraft's standard recipe system, allowing the use of NBT data when crafting items on workbenches, furnaces, and other workstations. Everything works through the game's familiar interfaces without changing the visual appearance.
Main Features
The mod provides the ability to specify NBT tags for both ingredients and crafting results. This opens up new horizons for creating complex recipes that take into account specific item characteristics.
Additionally, Nbt Crafting adds support for new recipe types: potion brewing in cauldrons, using anvils and cauldrons for special transformations. The recipe book now displays the quantity of items obtained for all recipes.
Server Usage
The mod can be installed only on the server, which will cause minor visual artifacts on the client side but will not affect functionality.
Recipe Example
Creating a "Battle Axe" from a diamond sword with durability less than 41 and a diamond:
{
"type": "crafting_shapeless",
"ingredients": [
{
"item": "minecraft:diamond_sword",
"data": {
"require": {
"Damage": "$..40"
}
}
},
{ "item": "minecraft:diamond" }
],
"result": {
"item": "minecraft:diamond_axe",
"data": {
"display": {
"Name": "{\"text\":\"Battle Axe\"}"
},
"Enchantments": [
{
"id": "minecraft:sharpness",
"lvl": 10
}
]
}
}
}
Demonstration

Compatibility
The mod is compatible with all addons that use Minecraft's standard recipe system and the Ingredient class for ingredient verification.