summon villager ~ ~ ~ {Willing:0b,CustomName:'{"text":"Trader","color":"dark_gray","italic":false}',VillagerData:{level:99,profession:"minecraft:weaponsmith",type:"minecraft:plains"},Offers:{Recipes:[{rewardExp:0b,maxUses:2147483647,buy:{id:"minecraft:gold_ingot",Count:15b},sell:{id:"minecraft:diamond",Count:1b}},{rewardExp:0b,maxUses:2147483647,buy:{id:"minecraft:gold_ingot",Count:2b},sell:{id:"minecraft:emerald",Count:1b}},{rewardExp:0b,maxUses:2147483647,buy:{id:"minecraft:gold_ingot",Count:10b},sell:{id:"minecraft:ender_pearl",Count:1b}},{rewardExp:0b,maxUses:2147483647,buy:{id:"minecraft:gold_ingot",Count:6b},sell:{id:"minecraft:prismarine_crystals",Count:1b}},{rewardExp:0b,maxUses:2147483647,buy:{id:"minecraft:gold_ingot",Count:1b},sell:{id:"minecraft:slime_ball",Count:1b}}]}}
scoreboard players set i mob 0