How to implement trades in the pigmen.json file for minecraft modding in 1.14
After searching around for something to code because python was getting boring, I found something I love doing. Modding.
I'm trying to make a piglin like trading system for 1.14 pigmen, or just make it so I can trade with them like they're villagers.
I'm using the milking mechanic as of now, but it's really buggy and doesn't exactly work. Can anyone help me implement trading into pigmen?