Since the beginning of version 1.12 and the introduction of the Recipe Book, there is a bug related to this book that prevents ingredients containing NBT data from being automatically transferred to the crafting grid when clicking on a book.
The following video shows the bug with leather containing a compound tag :
https://streamable.com/x2t23
The recipes are normally not sensitive to NBT data, which allows the recipe but prevents adding the ingredients.
The error is only server side and related to a player inventory method that is only used for the recipe book.
Related MCP Mappings :
PlayerInventory.findSlotMatchingUnusedItem(ItemStack p_194014_1_)
ServerRecipeBookHelper.func_194325_a(Slot p_194325_1_, ItemStack p_194325_2_)
Affected method: net.minecraft.world.entity.player.Inventory.findSlotMatchingUnusedItem(ItemStack)
(Mojang name)
The check Inventory.isSameItem(ItemStack, ItemStack)
makes all subsequent checks irrelevant.
Linked issues
is duplicated by
Comments
I'll edit it np 🙂
Yes, i just help you to identify the trouble but it looks the same bug 🙂

And also MC-116905 – I think that's why the game explicitly ignores NBT, to avoid using enchanted items.
no this method checks nbt & enchant & damage, so it just needs to remove the nbt check
// MCP
if (!((ItemStack)this.mainInventory.get(i)).isEmpty() && this.stackEqualExact(p_194014_1_, this.mainInventory.get(i)) && !((ItemStack)this.mainInventory.get(i)).isItemDamaged() && !itemstack.isItemEnchanted() && !itemstack.hasDisplayName())

Perhaps a better title for this report would be "The recipe book doesn't move ingredients that have NBT tags".

Thanks, changed (minus the RAS syndrome 🙂)

In 20w29a.

Related to MC-153160 - same issue but with trading instead of crafting.
This does not work as intended, fix your game
Nothing to fix, this is by design. This place is not a place to spread your opinions, but to report issues and get them fixed. This is not a bug.
@Dhranios this is not by design, i will say the same to you, i dont care what you think, its a bug and this is not the place to spread your opinion either. Please refer to MC-153160 where it is a widespread bug that affects everything using AUTO crafting with NBT. Please do your research before you speak.
It was resolved as Works As Intended by Mojang themselves, that means it is by design. That's a non-debatable fact.
Villagers and crafting are entirely different things. Additionally, that report has not been triaged by Mojang and can still get resolved as intended by them. A non-triaged report does not mean it is a bug.

This may be working as intended, but the side-effect of it may not be. It doesn't make sense to have a recipe book that doesn't allow you to auto-fill the dispenser recipe (the reason I came to see if there was a bug report). I doubt Mojang intentionally made it where you couldn't auto-complete the dispenser recipe.
Not allowing ingredients with NBT data is likely intentional, but breaking certain auto-complete recipes almost certainly is not.
I would start a separate issue about that, but all of them are resolved as duplicates of this, despite them being different.
Is this going to be fixed or not?
Resolution:Works As Intended
The issue MC-269738 and it's status as triaged may be relevant to this issue.
Sorry, but bug reports are only accepted in English.