Full disclosure, I don't know how to code, set aside a smidge of C#, so this mod was made entirely by ChatGPT. If there is a bug or something, don't ask me to fix it because I probably won't know how to do it. That being said, I did a bunch of testing and everything seems to work very well. Also since I don't play Minecraft past version 1.20.1, I don't plan on updating this mod, however you could probably just ask ChatGPT to update it for you for newer versions. Finally this mod should work with mods, I haven't tested it, but ChatGPT said it would, so take that as you will.
This mod completely randomizes the trades, both the requested and given items. Every block, item, tool, potion, and enchantment book is in the pool, as well as Bedrock and Spawn Eggs (thought it would make it slightly more interesting). Each villager still needs to have a jobsite block, but that is purely cosmetic and doesn't effect their trades. You can get somewhat normal trades like 43 Kelp for 15 Podzel or have something a little more interesting like an Iron Sword with 93 durability remaining and enchanted with Protection 2 in exchange for a Splash Potion of Instant Damage.
Techinal things about the mod:
Enchanted Books (both requested and given) can occassionally have multiple enchantments, capping at 4 max.
Tools, Weapons, and Armor (both requested and given) can sometimes have random enchantments (capping at 4), and can also occassionally not be at full durability either. Sometimes these can even happen together, for example a Gold Helmet with two enchants and it has 79 durability left.
The enchants on Tools, Armor, Weapons, and Enchantment Books (both requested and given) are completely random. So if a trade wants a Diamond Pickaxe with Fire Resistance 2, that's intentional.
Like in vanilla Minecraft, sometimes a Villager will require two items for a trade, such as 38 Slime Blocks and 14 Golden Apples for 53 Torches. (I never said the trades were fair or balanced, it is called ChaosTrader for a reason!)
I didn't really even make this mod, so feel free to use it in any way you see fit.

