mojira.dev
MC-4661

Chickens (And small mobs) cannot path when standing in/next to fences

I've noticed since the latest snapshots that small animals, when they are pressed up against say, a cobblestone wall, they won't ever move away from it, as if they think they're stuck inside of it with nowhere to 'path out of the block', even if they aren't actually stuck inside said block.

I've noticed this happening in 12w49a as well as the version tagged above. (This could also have been happening in 1.4.5, but I wasn't paying much attention to it at that point)

The screenshot below is just showing the chickens all crowded up in the walls, and have been like that... for in game weeks.

Edit: It seems to happen most frequently around the corners of wall blocks and fences.

Related issues

MC-3288 Non-natural chick position MC-5151 Chickens get stuck in all fences and walls MC-12228 Chickens stuck in cobblestone walls and cannot move away anymore MC-12352 Chicken movement bias MC-12765 My animals get stuck on fences. MC-14784 Chikens Are Cra ! MC-16970 Chickens get stuck in fences MC-18499 Chickens getting stuck in the corners of wooden fenced in areas. MC-19202 Chickens get stuck in fence corners MC-22213 Mobs get stuck in corner of iron bars and we cant hit them MC-25746 Chickens get stuck in cobblestone walls MC-44135 the chickens seem to like cobble walls to much MC-49514 Wooden Fence MC-49646 Chickens getting stuck in fence corners MC-52908 Chickens keep going to fencecorners MC-55414 Chickens stuck in Fence Corners MC-55443 Animals stuck in fence corners MC-58001 Animals stuck in corners of fences MC-59844 Rabbits get stuck at fences & blocks MC-61001 Rabbit always stuck in glass MC-62395 Rabbit stuck in glass MC-62671 Rabbit & glass MC-86885 Passive Mobs Get Stuck In Fence Blocks

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media]
migrated

A better view, you can see the chickens stuck next to the corner blocks of the walls, and watching me, as if they're trying to get to the seeds, but can't. (The second picture)

migrated

I also have this problem in 1.4.7, chickens glitch into the cobblestone walls when they go between the wall and a chest.

migrated

Still occurring in snapshot 13w07a.

migrated

I'd just like to add that while in this state the player cannot interact with the mob, at least when stuck in the "corner" of a fenced area.

eg. If you try to feed a "stuck" chicken, you can't, and if you try to attack it, you will hit the wall instead of the mob.

It really seems like the mob is stuck inside the wall block from more than just a pathing perspective.

migrated

As a temporary solution, you can throw snowballs or eggs at the chickens just over the fences (Thier hitboxes are taller) to dislodge them

migrated

I believe it is due to the fact that the corner fences visual hitbox doesn't match up with its physical hitbox. The chickens can walk into the corner because the physical hitbox allows them to, then they don't move out because they are inside the visual hitbox. Note in the screenshot I just attached that I am not looking at the fence's physical hitbox but its visual hitbox is still visible. I presume this happened in 13W06A when the physical hitbox of the corner fence was revised.

migrated

This is still happening in 1.5.1. Chicken can be fed seed in the wall and produce eggs and chicks but they never move out of the corner even when enticed with seeds. They can be killed and will drop feathers and chicken.

migrated

It's not just corner walls they get stuck in, they can get stuck anywhere along the walls, but strangely not in fence gates.

migrated

I am having this problem as well. Only way to fix it is kill the mob or break the fence block and push them out. At least, that is the only way I have figured out so far.

migrated

You can test this yourself in the world attached. Fly above the chickens with seeds and watch them follow you, (or bug out and just stand in the walls). (if they're not in their pens, then that's another bug...)

migrated

this also works with creepers. if a creeper is against a cobblestone wall he will not chase you.

migrated

I have 1.6.2 and it's still happening. You can either push them to a gate and they get free or you can dig out the dirt from beneath them. Or kill them.

migrated

Okay, this issue affects the gameplay in 1.6.2 and the latest snapshot (13w37b) as well. (My spec: Asus N55SL, NVidia 635m (2 GB vram), 8GB ram, Java 1.7.0_15-b03, Win 7 64-bit (with latest updates) )

migrated

It happened to me in 1.6.4.

migrated

also in 1.7.2

migrated

It's possible to hit/interact with chickens when they're stuck like this, but it's hard to. F3+B reveals that there's a very specific angle from which you can aim at its hitbox without hitting that of the fence.
Please fix.

migrated

This issue seems fixed in 14w11b.

migrated

Surely not fixed in 14w28b: http://www.twitch.tv/ezerarch/b/546712944 (bug occurs after 1:00)

EDIT: http://redd.it/2af8m3

Bentroen

This can be clearly seen with the new NoAI tag from 14w32:
http://i.imgur.com/weHYRWG.png

migrated

The intent of the NoAI tag is to stop all AI ticks from affecting that mob. That includes movement.

galaxy_2alex

Is this still a concern in the current Minecraft version 1.8.1 Prerelease 3 / Launcher version 1.5.3 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

migrated

This is still a concern in the latest version. They are still getting stuck in the corners of fences.

galaxy_2alex

Reopened, thanks.

migrated

It is present in PlayStation 4 version.
Applies for at least adult chickens and cows.

migrated

I can no longer reproduce this issue in the latest version of PC minecraft (16w02a)

migrated

(Unassigned)

Community Consensus

animal, chicken, fence, pathing

Snapshot 12w50b, Minecraft 1.4.7, Snapshot 13w01a, Snapshot 13w02a, Snapshot 13w09a, ..., Minecraft 1.7.5, Minecraft 1.7.9, Minecraft 14w20b, Minecraft 14w28b, Minecraft 1.8.1-pre3

Minecraft 16w02a

Retrieved