[1.16.4] How do I make my ore generate thru the world?

I have already registered the ore and it's in the game, I just want to know how I get the ore to generate like coal, iron, gold, and diamonds.
Yes, the method should be static though. You won't see any issues in a standalone, but with other mods it will bottleneck other features from generating due to how codecs are handled with unregistered objects.
    • Thanks