Using durability of a tool in a recipe.
Is it possible to have a recipe that uses a tool, keeps it in the item grid and also removes durability from it?
Eg. In a crafting shapeless recipe
Ingredients: wool, shear[durability:100] result: string[count:4], shear[durability:96]
I know on some level that items can be left in a crafting grid as it works with cake but I am not sure how and where that behaviour is defined.
Thanks in advance