A gameplay mechanic that allows players to trade with villagers, exchanging emeralds for items and earning emeralds by selling items.