Ore (feature)

An ore is a feature consisting of a natural deposit of ores or other blocks in the ground.
== Generation ==
The ore feature has two types: ore blobs and scatter ores.
An ore blob is an ellipsoidal cluster of blocks. In the overworld, underground deposits of dirt and gravel are generated in this form, followed by the more precious ores, like coal, copper, iron, gold, redstone, diamond, emerald (in mountains biomes) and lapis lazuli. They can form only in stone, deepslate, andesite, diorite, granite and tuff. Two or more ores can form next to each other and appear as an ore made of more than one material.
Each ore blob has a spawn size. The maximum number of generated blocks in a blob each spawn size corresponds to is shown in the table belowThis table is based on .:
Spawn size	Max number of blocks
0 	0
1 	0
2 	0
3 	4
4 	5
5 	8
6 	9
7 	10
8 	10
9 	13
10 	16
11 	17
12 	23
13 	24
14 	24
15 	29
16 	32
17 	37
18 	46
19 	52
20 	52
21 	60
22 	68
23 	68
24 	74
25 	82
26 	94
27 	104
28 	106
29 	120
30 	128
31 	135
32 	149
33 	160
34 	180
35 	190
36 	204
37 	212
38 	228
39 	246
40 	262
41 	276
42 	292
43 	308
44 	324
45 	344
46 	360
47 	381
48 	403
49 	429
50 	452
51 	480
52 	500
53 	530
54 	558
55 	584
56 	616
57 	634
58 	664
59 	694
60 	730
61 	760
62 	790
63 	826
64 	864
A scatter ore is a slightly dispersed cluster of blocks. Currently only ancient debris is generated in this form. Scatter ores also have a spawn size value. The maximum number of generated blocks in a scatter ore is just the spawn size.
There was also a deprecated ore type, which generates only one block in each generation attempt. It was used by emerald ore before 1.18.
== List ==
Dimension 	Block	Can replace
Overworld 	
 (Only in lush caves)
 
 (Only in mountains and windswept hills biomes)
 (Only in mountains and windswept hills biomes)	
Overworld 	
 (Only in lush caves)
 
 (Only in mountain biomes and windswept hills biomes)
 (Only in mountain biomes and windswept hills biomes)	
The Nether	 	
The Nether	 	
The Nether	 	
=== Overworld ===
Blocks	Spawn size	Spawn tries per chunk	Minimum height	Maximum height	Ore concentrateOres generate using either uniform distribution, or triangle distribution. Uniform distribution have all ores spread in same frequency at any height, while triangle generate more frequent in center height.	Skipped when air exposedWhen an ore block is about to be placed, if it is exposed to air then it has this chance of being skipped instead.	Biomes
 	33 	7 	0 	160 	 	0 	All
 	33 	46 	-64 	256 	 	0 	
 	33 	14 	-64 	320 	 	0 	All
 	64 	2 	0 	60 	rowspan="2" 	0 	All
 	64 	 	64 	128 	 	0 	All
 	64 	2 	0 	60 	rowspan="2" 	0 	All
 	64 	 	64 	128 	 	0 	All
 	64 	2 	0 	60 	rowspan="2" 	0 	All
 	64 	 	64 	128 	 	0 	All
 	64 	2 	-64 	0 	 	0 	All
 	17 	20 	0 	192 	 	0.5 	All
 	17 	30 	136 	320 	 	0 	All
 	17 	020 	128 	156 	 	0 	
 	4 	10 	-64 	72 	 	0 	All
 	910 	10 	-24 	56 	 	0 	All
 	910 	90 	80 	384 	 	0 	All
 	10 	16 	-16 	112 	rowspan="2" 	0 	Other
 	20 	16 	-16 	112 	 	0 	
 	8 	4 	-64 	15 	 	0 	All
 	8 	8 	-96 	-32 	 	0 	All
 	7 	2 	-32 	32 	 	0 	All
 	7 	4 	-64 	64 	 	1 	All
 	9 	4 	-64 	32 	 	0.5 	All
 	9 	 	-64 	-48 	 	0.5 	All
 	9 	50 	32 	256 	 	0 	(Unused)(Unused)(Unused)
 	4 	7 	-144 	16 	 	0.5 	All
 	8 	4 	-144 	16 	 	1 	All
 	12 	 	-144 	16 	 	0.7 	All
 	3 	100 	-16 	480 	 	0 	(Unused)(Unused)
 	9 	14 	-640 	6364 	 	0 	(Unused)(Unused)
=== The Nether ===
Blocks	Spawn size	Spawn tries per chunk	Minimum height	Maximum height	Ore concentrateOres generate using either uniform distribution, or triangle distribution. Uniform distribution have all ores spread in same frequency at any height, while triangle generate more frequent in center height.	Skipped when air exposedWhen an ore block is about to be placed, if it is exposed to air then it has this chance of being skipped instead.	Biomes
 	3324 	48 	27 	36 	 	0 	All
 	14 	16 	10 	117 	rowspan="2" 	0 	Others
 	14 	3216 	10 	117 	 	0 	
 	10 	10 	10 	117 	rowspan="2" 	0 	Others
 	10 	2010 	10 	117 	 	0 	
 	3 	12 	8 	24 	 	1 	All
 	2 	13 	8 	119 	 	1 	All
 	12 	12 	0 	3132 	 	0 	
 	33 	2 	5 	4136 	 	0 	
 	33 	2 	5 	3136 	 	0 	
== Data values ==
=== ID ===
:
:
== History ==
== Gallery ==
MultipleOreBlobs.png|Multiple ores generated above an underground lava lake.
UnderwaterCoal.png|A coal ore generated underwater.
Oreblobmultiples.png|Multiple ore ores in a cave. Diamond ore and redstone ore as well as coal ore and gold ore are visible in the distance.
Nether Magma Block.png|Magma ores.
Iron ore blob.png|An ore of iron ore.
== References ==
fr:Éléments minéraux
es:Mancha
ja:鉱石（生成物）
pl:Układy generowane
pt:Aglomerado
zh:团簇