Small tweak to villager AI, when the player is holding an item that the villager want to trade for (and villager holds the corresponding item to show this) they would follow/approach the player to trade. I imagine the following to be similar to the way passive mobs do with their respective item (wheat/seeds/carrot).
This would make moving villagers a little bit easier as well as making it a bit easier to trade rather than having the villager just walk away.
I think following/approaching should follow normal path finding so that it does not break existing villager cells or have them walking off edges.
Please sign in to leave a comment.
1 Comments