en 1.8 /summon Villager Shops A Villager That wants a 10 iron ingots and is going to give you a diamond sword