I was AFK for about an hour at my automatic villager breeder. The villagers are protected by fences. When I came back from AFK, There were no villagers except two zombie villagers holding carrots. When I had converted the zombie villagers to start the breeding from the beginning, I entered a r]test world. I spawned a lot of villagers in the fenced off pen and spawned zombies on the outside. They were able to attack the villagers. They can also attack the villagers through stacked up fences.
To reproduce, go into a creative world and spawn a lot of villagers in a pen of one high fences. Then spawn lots of zombies on the outside. The zombies will attack the villagers. After that follow those steps again except this time using two high fences.
Related issues
duplicates
Attachments
Comments


I can confirm this is still an issue on 1.8-pre1 release. I put villagers in a fenced off area, and spawned zombies outside of the fence, and the zombies were able to attack and kill my villagers through the fence. This even happens with a 2 high wall of fences.

I have a similar problem with zombies attacking villagers behind doors.
Version 1.8
To recreate: build a small house, and place a villager or two in it next to the door. spawn some zombies outside and watch.
I think a simple solution would be to make the villager AI stay as far from the zombie as possible even if the door is closed.

sounds logical because the zombie stand against the fence and standing ontop of the block where the fence is placed if a villager does the same on the other side it can be hit because the fence hitbox is 1.5 blocks heigh but smaller from the sides so the zombie can reach the villagers

Still present 16w02a. Zombies can attack through a 2 high fence.

There are a number of bug reports about attack radius that are all very similar. MC-2310, MC-18326, MC-50668, MC-63965, MC-71834, and MC-74907 are all about the attack radius of mobs extending through blocks. (Some mobs are more bugged then others, but it’s the same basic problem). There are also a few related issues:
MC-1297 is the same as the above, but for players.
MC-3059 is the same as the above, but for arrows.
Most or all of these reports should be consolidated into one, as they are all caused by the same base issue.