mojira.dev
MC-236230

Villagers take food that they have just shared

Sometimes, when a villager "shares" food with another villager, the food item is immediately picked up by the villager that threw it. This can prevent villager "breeder" contraptions from working well, unless both villagers already have sufficient food in their inventory.

To reproduce:

  1. Spawn 2 villagers near pathable beds (beds may be optional)

  2. Drop 24+ carrots (as a single entity works best) near the villagers, which one of them will pick up

  3. Keep both villagers in close proximity

  4. The villager that picked up the food will attempt to "share" food with the other by throwing food entities at the latter

  5. The thrown food entities will often get picked up by the same villager who threw them, depriving the second villager of the necessary food to begin the breeding process

While this issue could be overcome by simply overloading both villagers' inventories with food, that is inefficient and inelegant.

My suggestion would be to add a "pickup cooldown" to any villager who is sharing food that would prevent them from picking up food at the same time they are throwing it.

I've attached a video of the process in action. I also have the world save that the video came from, if that might help

Linked issues

Attachments

Comments 4

Can confirm in 1.17.1

As an aside, I might also suggest that baby villagers be blocked from picking up anything either (and prevent adults from throwing items at them), as it steals items away from the breeding process as well

Affects 24w04a.

[media]

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.

Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Captain Timeforboat

(Unassigned)

Community Consensus

Mob behaviour

1.16.1, 1.17.1, 24w04a

Retrieved