Lost Miner

The Lost Miner is a Villager added by Primitive Mobs. Unlike other Villagers it never appears in Villages, instead it randomly spawns in the Overworld between y-levels 20 and 50.

Initially it appears "scared", in this state it will follow nearby players, will visibly cry and will not despawn. Once it reaches a place that can see the sky and is either above y-level 50 or near a door, it will stop being scared. In this state, right clicking it will cause it to drop 6-11 Emeralds (or 4-7 if it cannot see the sky when clicked) and it will start to act as a normal Villager.

The Villager profession of a rescued Lost Miner can either be an Ore Miner, a Stone Miner or a Gem Miner, each with unique trades.