I've been looking around for a way to allow mobs to trade, and decided to try adding the task EntityAITradePlayer, but I couldn't get it to work. I found a post that brought up the code for a Cow that allows you to "Trade" an empty bucket for a milk bucket, but I was looking for something similar to the way villagers work. If anybody has any suggestions, I'd appreciate it.
I've been looking around for a way to allow mobs to trade, and decided to try adding the task EntityAITradePlayer, but I couldn't get it to work. I found a post that brought up the code for a Cow that allows you to "Trade" an empty bucket for a milk bucket, but I was looking for something similar to the way villagers work. If anybody has any suggestions, I'd appreciate it.