How could i make a custom ore?

i want to make a custom ore and name it tungsten. I only have 1 possible idea on how i could do this which is during worldgen it replaces random blocks of stone with a special block that has components for a resource pack to display the texture on. not sure if that would or could work though. I hope somebody can help me.
Continue to help post