I am trying to make a custom villager that will have 5 trades, 1 trade for each of the gem types provided by Xisumavoids Treasure gem datapack (multiple villagers if necessary). Ideally the villager will accept 1 of the gems from Xisumavoids Treasure Gems datapack and give 1 Moneybag from the Minecraft Heads website. The moneybag will be used on a separate villager as currency to buy custom items (already working). Using MCStacker I can create a villager that will accept the Gems from Minecraft Heads and trade them for Moneybags but apparently the heads provided by Minecraft Heads are different from those in the Treasure Gems datapack as the villager wont accept gems from Xisumavoids datapack.
Any help would be greatly appreciated. It would be amazing if anyone is using a similar villager and could provide the string to input into the command block .