Question: what do villagers need to trade?
Answer: Some villagers will trade for emeralds, while others will take them and give items. Farmer type villagers, known for their straw hats, will sell for things such as wheat, carrots, potatoes, and melon seeds for emeralds, or vice versa.