en 1.8,1.9 /summon Villager Shops You can give him 20 emerald block and he will give you 10 diamond block