Paper
Paper copied to clipboard
Recipe Book clicking only matches material when placing items into the crafting grid
Expected behavior
With a recipe that requires an item with custom model data (or other modified attributes), when clicking a recipe in the Recipe Book, it will result in the exact item being placed into the crafting grid.
Observed/Actual behavior
With a recipe that requires an item with custom model data (or other modified attributes), when clicking a recipe in the Recipe Book, it only matches the material of the item and will place any item that matches that material into the crafting grid.
Example can be found below.

Steps/models to reproduce
- Create a recipe that requires an ingredient with attributes/custom model data/nbt.
- Put an item in your inventory that has the same material, but not the attributes/custom model data/nbt.
- Click on the recipe book to move the items from your inventory to the crafting grid, it will move that item that matched the material.
Plugin and Datapack List
None, other than the plugin that registered the recipe.
Paper version
Paper #333 1.18.2
Other
Discussed this with Machine Maker in #paper-help on Discord on 5/14/2022 at 1:58 P.M. PST, further context can be found there.