mojira.dev
MC-273882

Villagers become stuck inside animal pens if a farm is located right next to it

What I expected to happen was...:
I expected that vanilla village design be so that villagers can't get trapped in areas.

What actually happened was...:
A fenced in area is placed right next to a farm. Villagers jump up on the oak logs of the farm and then walk over the fence next to it falling into the fenced-in area trapping themselves. The fence should have 1 space of air next to it on both sides to prevent villagers or any other mob from crossing it. Or the fence should have the same properties as rails that prevents mobs from walking on them.

Steps to Reproduce:

  1. Create a world with the seed 6407707231971289126

  2. Teleport to the coordinates x: -224, z: -348

  3. Watch villagers jump up on oak logs and then fall into fenced-in areas and get stuck if gate is closed which by default, it is of course.

Linked issues

Attachments

Comments 2

Can confirm:

[media]

Also related to MC-151168 and possibly MC-146770

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

Terrell Havling

(Unassigned)

Community Consensus

Mob behaviour

1.21

Retrieved