Ores/yue

礦物係遊戲進程裏面需要嘅主要原材料物品. 佢哋基本上都要先喺Furnace/yue燒成Bars/yue之後先至可以用嚟製作必要嘅Tools/yue、Weapons/yue、Armor/yue同埋其他Items/yue. 與此同時有啲物品嘅製作亦都會需要用返原礦本身個方塊，呢啲物品最常見嘅包括Bricks/yue同Potions/yue. 而原礦方塊自己亦都可以用嚟作為裝飾用嘅方塊.

礦物通常都會喺地底層或之下以一脈放好嘅Blocks/yue形式出現. 礦物需要用Pickaxes/yue或者係Drills/yue去進行挖掘. 較低等級嘅礦可以喺Layers/yue附近嘅泥土入面，又或者係Floating Island/yue之內搵到. 有啲礦物淨係會喺Bosses/yue身上面掉落，呢啲Boss怪包括Eye of Cthulhu/yue、Eater of Worlds/yue、Brain of Cthulhu/yue、仲有.

Extractinator/yue同Fishing/yue所出嘅Wooden Crate/yue隨機開出嚟嘅獎勵亦都可能包括礦物.

礦物有分級數，而一個世界基本上每一等只會出現一種礦物（喺世界生成嘅時候隨機決定）. 譬如話一個世界可能會得銅同Iron Ore/yue，而另一個世界就淨係得銅同Lead Ore/yue（更多資訊可以喺下面嘅表格度揾到）. 另外嗰種嘅礦物唔會自動生成，但係有其他方式可以獲得，例如話透過Crates/yue、、Slimes/yue掉落物或者用變廢為寶機呢啲方式. Hardmode/yue嘅礦物種類就係喺玩家摧毀一個祭壇嘅時候決定. 遊戲入面總共有 21／ 20種唔同嘅礦物.

頭三等嘅Hardmode/yue礦物係透過摧毀惡魔或者嚟生成. 摧毀佢哋需要一個有80%以上鎚力值嘅Hammers/yue，譬如話係Pwnhammer/yue. Chlorophyte Ore/yue喺開始咗之後會自己生成，只不過要等到討伐完所有Mechanical bosses/yue之後先可以挖. 至於Luminite/yue係唔會自己生成嘅；呢兩種抗都唔會受到祭壇摧毀嘅影響.


 * 鈷／鈀既生成率大概係精金／鈦嘅兩倍，而秘銀／山銅大概喺佢哋之間.

生成
摧毀祭壇嘅時候生成嘅礦脈數量係用以下嘅算式來決定：

$ores-math-1-yue$
 * 係下取整函數.
 * 係世界寬度除以4200——小世界會出1，中世界出1.524，大世界出2.
 * 係礦物嘅挖掘等級：
 * {| class="terraria lined"

! colspan=2 | 種類 !! 取值
 * || || 0
 * || || 1
 * || || 2
 * }
 * 就係取決於礦物嘅種類，令到同一等入面嘅兩種礦物有些許嘅稀有度分別：
 * {| class="terraria lined"
 * }
 * 就係取決於礦物嘅種類，令到同一等入面嘅兩種礦物有些許嘅稀有度分別：
 * {| class="terraria lined"

! colspan=2 | 種類 !! 取值
 * colspan=2 | || 1.05
 * || || 1
 * colspan=2 | || 0.945
 * || || 0.9
 * }
 * 所以如果某個世界生成咗鈀、山銅同鈦嘅話，佢平均嚟講會比生成鈷、秘銀同精金嘅世界少10%礦物左右.
 * || || 0.9
 * }
 * 所以如果某個世界生成咗鈀、山銅同鈦嘅話，佢平均嚟講會比生成鈷、秘銀同精金嘅世界少10%礦物左右.
 * 所以如果某個世界生成咗鈀、山銅同鈦嘅話，佢平均嚟講會比生成鈷、秘銀同精金嘅世界少10%礦物左右.

下面嘅表格係呢條公式運算出嘅結果；如果一個世界入面被摧毀嘅祭壇達到264座，噉之後所有被摧毀嘅祭壇都只會生成一條礦脈.
 * 以上係基於一個小世界計出嚟嘅數值.

All Hardmode ores will avoid spawning in the outer 100 tiles of the world. The highest location for Cobalt and Palladium to spawn is just below the surface, Mythril and Orichalcum start to spawn from the top of the Cavern layer, and Adamantite and Titanium start to spawn in the Cavern layer, lower than Mythril/Orichalcum. All ores stop spawning at 150 tiles above the world's bottom border, i.e. about one fourth into the Underworld.

The amount of altars smashed does not affect the size of ore veins, only the amount. As the generation of each vein is heavily randomized, it is difficult to give exact high and low values from "optimal" veins. Instead, a table of "good luck" vein amounts and "bad luck" vein amounts is shown below. Average yield is likely between 30–40% due to occasional lost ore.


 * Note that this is not related to the mechanic.

Note however, that the above table assumes that all the ore actually replaces blocks. Ore will not spawn if it attempts to spawn over any block not listed below.

In addition to this, Hardmode ores will not generate over Granite Blocks, Marble Blocks, or any hardened sands, and as such cannot be found in the, , and biomes without replaceable blocks already existing there.

Tips

 * Each Hardmode ore is chosen at the moment the first three altars in the world are broken. Ores can be "chosen" by quitting the world without saving (by ending the task or killing the process) after smashing the first altars. It is more easily done with a server, using the  command.
 * As of 1.4, using the drunk world seed will generate all six hardmode ores after smashing six altars.
 * All ores except Hellstone and Obsidian are highlighted by the Spelunker buff, making it easy to find veins of ore. Hellstone is not lit up by the buff, but it is by a Dangersense Potion. Obsidian is easily found and made around lava.
 * Using a Crate Potion will improve the chances of obtaining crates and as such the ore-bearing Wooden Crates.
 * Filling in caves with spare natural blocks such as dirt before destroying altars can cause Hardmode ores to spawn in them. They can then also be seen on the minimap, presenting an easy way to convert extra blocks into ores with knowing their exact location.
 * In the, the Palladium Pickaxe and Drill can mine Adamantite and Titanium.
 * Most ores sell for the same as or more than the bars made from them. Prior to 1.4, the exceptions are the late pre-Hardmode ores (Meteorite, Demonite/Crimtane, Hellstone), and Chlorophyte, all of which are far more profitable as bars. (Hellstone and Obsidian are unsaleable as ores, and there is no Obsidian Bar).
 * However, as of 1.4, the sell values of Demonite, Crimtane, and Chlorophyte ores were increased, such that the respective bars sell for as much as their components. Hence, it is more efficient to simply sell the ores.
 * Meteorite and Hellstone remain exceptions, although raw Hellstone can now be sold.
 * Two ways to quickly find Hardmode ores is to use previously discovered Abandoned mine shaft s or search along the ceiling of The Underworld. Both of these methods feature large cave systems along a significant horizontal distance, the minecart tracks allow the player to outrun dangerous enemies, and pre-Mechanical boss Hardmode enemies in the Underworld spawn rarely and are easy to avoid.

Trivia

 * Hellstone's item sprite is a recolor of that of Silver Ore.
 * Hellstone is the only ore that cannot be infinitely generated within a single world. Others can be obtained from sources such as crates, an Extractinator, bosses, duplicable liquids, Meteorite crashes, and mud. Prior to 1.4.0.1, Chlorophyte was limited by the amount of mud (and dirt) in the world, however with the addition of Dirt Bombs, dirt can be infinitely created, which can be crafted into mud, which can be used to infinitely create chlorophyte.
 * Before the 1.4.0.1 update, Iron and Lead ores did not have bricks.
 * Prior to 1.4, despite being a late-game ore, Chlorophyte Ore only sold for per ore. This could have been because it can be farmed indefinitely, but its bar (and derivative bars) fell right into sequence pricewise.
 * As of 1.4, Chlorophyte Ores now sells for each, which is exactly in line with their bar's value.
 * Luminite sells for the most of any ore, per piece.
 * Palladium, Cobalt, and Titanium are the only Hardmode ores named after real metals.
 * Luminite is the only ore that does not use either a Furnace or Hardmode Forge to craft bars, instead requiring the Ancient Manipulator.
 * As of 1.4, both ores of each tier can be mined in the seed "05162020" that was teased in Red's tweet here. This is just one example of the unusual world generation effects that happen on this seed. A case of this can be seen in the picture to the right. For more oddities like this, see Drunk World.
 * Another oddity is that both evil biomes' ores (Demonite and Crimtane) are spawned.