mojira.dev
MCPE-47166

Farmers refusing to harvest crops but their inventory is clearly not full

I was walking around my village and noticed a lot of yellow on the villager small wheat farm, And what caused it? The villagers not harvesting crops! How to reproduce? Good question, I think you will need a bunch of farmers to see if any of them will refuse to harvest crops.
(Note: Mob Griefing is ON!)

If you cannot reproduce I can give out a world download to the specific affected world, So you can see the problem more carefully! (Give me instructions on where to post the world download and I will give you the link, The coords to the village are in the screen during the video)

Videos and Screenshots below!

(Please dont mind the lag, It was only on the videos for some reason)

New:
I have done some experiments, Take a look at results:

1-Farmers DO re-plant, They dont just harvest them just as you can see here: Image
(That is way more grown than one of the images below)

2-If I clone the world in creative mode they work normally (?

[media]

?

[media]

)

Image of the villagers from a good distance

Video 1

Video 2

This issue was fixed for Java Edition in Snapshot 19w12a MC-145857

Additional information by

@unknown
The problem is that farmers who have 3 or more bread in their inventory will not harvest crops. They also will not share bread with another villager unless they have at least 6 (that's by design), so there's no way to reduce their bread enough to get them harvesting again.

Steps to reproduce:

  1. Open the attached world MCPE-47166 Harvesting demo.mcworld. This is a flat world with 2 villagers, a farmer and a butcher. The butcher's inventory is empty. The farmer has 4 bread but is otherwise empty. The world has 8 crops, 2 each of beetroot, carrots, potatoes, and wheat. The daylight cycle is disabled and the time is 5000.

  2. Set the random tick speed to 100, or just wait for the crops to mature. Notice that the farmer wanders away from its job site occasionally, but never harvests any of the crops.

  3. Exit the world and use a world editor to reduce the number of bread in the farmer's first slot to less than 3.

  4. Open the world again. Notice that the farmer now harvests crops.

Update 7 July:
Farmers will also stop harvesting when they have 12 carrots or 12 potatoes. Since this isn't enough for them to share and they have no way to get any more, the only way for them to resume producing and distributing food is for a player to supplement their inventory, allowing them to share and reduce their inventory below 12. They will then harvest again, but will immediately get back into the same state, so it's not even useful as a workaround.

Linked issues

Attachments

Comments 9

For those who are trying to build an automated crop farm and can use a crop other than wheat, a workaround is to ensure your farmer's inventory never gets 3 bread in it. One way to do that is to quickly isolate a newborn baby from villagers who would try to throw food to it. Once it grows up, you can install it in a farm that doesn't include any wheat and it should continue harvesting forever.

Auldrick, As I said on MCPE 44268, which was raised prior to this one but now closed as a duplicate of this one, the beetroot farmer will farm beautifully, the carrot farmer will stop (a change recently because those used to farm well too) but the potato farmer does nothing except maybe plant a few if you do the harvesting for them.

I always and deliberately create new famers to ensure they have never had access to corn/bread but they still will not farm properly. Either this is a different problem or the fact that only the beetroot farmer will do the job is an iOS issue only.

Please can I emphasise that your workaround does not work for iOS.

Morgwenna: I'm glad you pointed that out, because it seems there are issues among the so-called duplicate reports that I neglected, such as the issue that farmers don't share potatoes.

All: I have split MCPE-44268 back into a separate issue. If you stopped watching it when it was linked as a duplicate, you may want to resume watching it.
I will also be reviewing the other duplicates for additional issues and will let you know if I split them out again.

Thank you Auldrick..

After extensive testing in MCPE-44268, I have realized that this issue is a bit broader than previously recognized.

A farmer will stop harvesting crops when it has any of:

  • 3 or more bread

  • 12 or more carrots

  • 12 or more potatoes

In the cases of bread and potatoes, the stoppage is essentially permanent because it can only share items in excess of the surplus_amount found in the behavior pack, which is 6 for bread and 24 for potatoes. Since it only has 3 bread and/or 12-13 potatoes and is no longer harvesting crops, the situation cannot be changed by game mechanics.

In the case of carrots, the surplus_amount is 4, so once it's able to share carrots with another villager it can resume harvesting until it again has 12 carrots.

A replacement world (MCPE-47166 Harvesting demo 2.mcworld) has been provided that can easily be used to test these conditions.

It happened to me that the villagers wouldn't even pick up the crops (carrots) if I dropped them right where they were standing (MCPE 1.13.0.4 - Android 9.0)

@unknown: That would almost certainly be because there's no room in their inventories. Although you can't see them, villagers have an inventory with 8 slots in it. Naturally, each slot can only hold one kind of item. They can only pick up items if they have an empty slot, or already have a slot containing a partial stack of that item.

At the moment, the MC feedback website states that this bug should be fixed in v1.13.0.13 beta. https://feedback.minecraft.net/hc/en-us/articles/360033322932-Minecraft-Beta-1-13-0-13-Xbox-One-Windows-10-Android-

Was actually fixed in 1.13.0 release.

GolfinhoVoador

(Unassigned)

228697

Confirmed

Windows

An Computer, Windows 10 version 1803

AI, Villager-Profession

1.11.4

1.14.0

Retrieved