The Ore Magnet is an item from Twilight Forest mod. It can be found inside of Hollow Hill treasure chests. It is a horseshoe-shaped magnet. Each ore magnet will bring 24 blocks, and perhaps a few more to the surface.
The magnet pulls up an ore vein in the ground up to the surface.
Point the ore magnet at the ground, charge it up, and release. If you are lucky, the ore magnet will bring anything from an ore block to a whole vein right up to the surface for you.
The ore magnet does not work on coal, but will otherwise work on any ore. It will even attempt to find ore blocks added by other mods, as long as they have "Ore" in their name. It attempts to find blocks by searching through solid rock in the direction the player is facing, with a range of 32 blocks.