Give the villager 4 pumpkins, you will receive 1 emerald.
Note: Minify the command to avoid issues :)
Carrot Give
Pumpkin Give
Hopper Take
Potato Give
OP Armor! :D
Headshop
The Redstone Trader
A custom potion giver