mojira.dev
MC-89995

Villager AI (farming) broken

Farmers (and other brown-coated villagers) who were happily farming in 15w40 now stand around staring at ripe crops. They very occasionally remember how to break them, and then usually leave the drops on the ground to despawn and fail to replant.

The only time they seem to successfully do anything is when they "switch tasks" between farming and breeding attempts, farming and wandering, or farming and running for home at sunset. After one successful operation they get stuck again.

EDIT: Villagers who are pushed into the farm block can harvest/re-plant, so it appears to be an issue with the distance for walking to/from a crop and the distance for working on a crop/farmland block not matching up anymore.

Linked issues

MC-90122 Beetroot unknown to Villager AI Resolved MC-90310 Well for some reason the Villagers don't seem to be able to farm the new Beetroot... so ya I just wanted to report this problem... Resolved MC-90432 Villagers Wont Farm Resolved MC-90468 villagers no longer farming crops consistently Resolved MC-90724 Villagers can't farm Resolved

Attachments

Comments 24

It appears that farmers are not "close enough" to the block of farmland they are targeting. If nudged forward a little bit, they will harvest/plant the block.

Confirmed for me. Both my automatic wheat and beetroot farms have stopped working. Every 2-3 minutes the villager finally decides to harvest/replant a patch or two. More often than not, he harvests and doesn't replant at all. He's just constantly looking down, doing nothing, as if totally depressed!

Farmer villagers still harvest, but they don't pick up the items or replant. It seems that most of the mobs AI's are broken.
Maybe you should try putting pressure plates to detect when they harvest to trigger water that flows the crops into hoppers.

14 more comments

May be AI pathfinding has issues?

Villagers error:
1. Unable to farming.
2. Unable to correctly open the door. (MC-90397)
3. Unable to escape the zombies. (MC-91832)

I think that it is just a universal pathfinding issue, hence my link to the bug with zombies path finding.

Confirmed fixed in 15w45a

Zed Ontargs

(Unassigned)

Community Consensus

Minecraft 15w41b, Minecraft 15w42a, Minecraft 15w43a, Minecraft 15w43b, Minecraft 15w43c, Minecraft 15w44a, Minecraft 15w44b

Minecraft 15w45a

Retrieved