Custom block that when you break it, it drops a custom item

Hey does somebody have a video or tutorial of how to make this in a datapack?
Continue to help post