This is a tutorial: How to make a datapack/crafting + crafting with nbt's I hope that help a lot of people. If you want to craft a nbt pickaxe in a crafting table, you can make as the result a minecraft:knowledge_book and in the function as the first command write "clear @s minecraft:knowledge_book" and then give the pick axe. In this video is only "How to make a custom crafting recipe and activate a function when crafting this. Sry for bad English!
--------------------------------------------------------------------------------
Links
--------------------------------------------------------------------------------
recipe website:
https://crafting.thedestruc7i0n.ca/
advancement website:
https://advancements.thedestruc7i0n.ca/
--------------------------------------------------------------------------------
pack.meta
--------------------------------------------------------------------------------
{"pack":{
"pack_format": 5,
"description":"§a you can change this, that is the description"
} }
-------------------------------------------------------------------------------
credits
-------------------------------------------------------------------------------
Background Music for Videos: https://www.soundotcom.com
Gabrie_19: Gabrie_19
Editor: Gabrie_19