I've tried very hard to get the trading interface to return the villager trades. But no matter what I did nothing could be obtained, I got the table and realized quickly it's a table in a table. but when I checked what was in the lower table all it returned was a nil value this gives me the impression that the values simply don't exist or may be affected by mods that affect villager trades neither being a good thing because a lot of people will be playing with mods that change villager trades. I also took the liberty of checking if modded professions were compatible and they are so it is likely an issue with the return values simply not finding the trades.
I've tried very hard to get the trading interface to return the villager trades. But no matter what I did nothing could be obtained, I got the table and realized quickly it's a table in a table. but when I checked what was in the lower table all it returned was a nil value this gives me the impression that the values simply don't exist or may be affected by mods that affect villager trades neither being a good thing because a lot of people will be playing with mods that change villager trades. I also took the liberty of checking if modded professions were compatible and they are so it is likely an issue with the return values simply not finding the trades.