Ore (feature)

A blob,  also referred to as a mineral vein or ore vein, is a terrain feature consisting of a natural deposit of ores or other blocks in the ground.

Generation
Players can come across these veins in caverns or anywhere where there is natural stone. Underground deposits of dirt and gravel are generated in this step, followed by the more precious ores: coal, iron, gold, redstone, diamond, emerald (in mountains biomes) and lapis lazuli. They can form only in stone, andesite, diorite and granite (also in their polished variants, replacing parts of structures), and do not replace each other or any other block. Note that two or more mineral veins can form next to each other and make it look like a mineral vein made of more than one material.

The Nether
{{missing information|section|Java Edition patches, do they match Bedrock; 20w21a basalt deltas changes; does soul sand truly generate as a mineral vein? apparently it doesn't show up in the same region of code}|type=code}}