Is there a way to modify the emeralds in villager trades?

Hi, I'm trying to make a currency datapack for a server and i wanted to modify the villager currency to match ours. Also, i'd need a way to delete items with an attribute taken from anvils or atleast make it impossible to get them

Continue to help post