custom nbt crafting input

Is there a way to use custom nbt in the crafting input i want to make it so you can only use a custom item in the crafting and not the vanila item
Continue to help post