mojira.dev
MC-251765

Animals Phasing Through Fences

Put the summary of the bug you're having here

What I expected to happen was...:
Animals stay inside of fences

What actually happened was...:
They would pile up at the corners where I had placed Logs with slabs on top rather than fences and would sometimes just avoid the fence/log collision altogether. Doesn't seem to be a mob cap issue

Steps to Reproduce:
1. Make an enclosed fence area (square/rectangular)

2. In the corners replace the fences with a block and a slab on top of that
3. Increase the number of animals (I had this problem with cows and sheep, I am unsure of other mobs) until they get stuck in the corners

Related issues

Attachments

Comments

migrated
[media]
migrated

Thank you for your report!
We're tracking this issue in MC-2025, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

migrated

(Unassigned)

Unconfirmed

1.18.2

Retrieved