Gems

Gems are a valuable material that can only be found in veins underground, embedded in Stone blocks, which will drop the gem when mined. As of 1.2, all gems can be placed after being mined.

Each gem type can be used to create a Phaseblade of the matching color, though each color Phaseblade has identical attributes. Gems can also be combined with torches to create a colored torch. Topaz can also be used to craft the Sandgun, and Rubies for the Gold Crown and the Robe. Additionally, each component of the Jungle armor requires 2 different gems to be crafted; crafting a full set requires a gem of all types. With the 1.2 update, 12 of any gem may be crafted into a colored grappling hook at an anvil. This can be used to avoid farming skeletons and pirhanas for hooks; however these gem grappling hooks cannot be upgraded to the Ivy Whip.

Gem rarity is not affected by depth; you will find as many gems near the surface as right above the Underworld. However, gems are far more common in the Underground Jungle. Some gems are less common than others; refer to the list below for each gem's rarity, in descending order.

Types
In order of rarity and value (rarest at the top):

History
Gemme Gem Gem Драгоценные камни