[MC-2310] Wrong attack radius calculation damages/kills entities through blocks and corners Created: 05/Nov/12  Updated: 22/Sep/23  Resolved: 14/Aug/23

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.3, Snapshot 13w05b, Minecraft 1.5.1, Minecraft 1.5.2, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.7.2, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 1.7.6-pre1, Minecraft 1.7.6-pre2, Minecraft 14w18b, Minecraft 1.8-pre1, Minecraft 1.8-pre2, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.3, Minecraft 1.8.8, Minecraft 15w33b, Minecraft 15w33c, Minecraft 15w47c, Minecraft 15w49a, Minecraft 1.8.9, Minecraft 15w50a, Minecraft 16w02a, Minecraft 16w05b, Minecraft 16w06a, Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.2, Minecraft 1.9.4, Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 6, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w03b, Minecraft 18w07c, Minecraft 18w21b, Minecraft 1.13-pre3, Minecraft 1.13, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43c, Minecraft 18w47b, Minecraft 18w50a, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w14a, Minecraft 1.14 Pre-Release 1, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 1, Minecraft 1.14.4 Pre-Release 3, Minecraft 1.14.4 Pre-Release 4, Minecraft 1.14.4 Pre-Release 5, Minecraft 1.14.4 Pre-Release 6, 1.14.4, 19w34a, 19w35a, 19w36a, 19w37a, 19w38b, 19w39a, 19w40a, 19w41a, 19w42a, 19w45b, 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 5, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w13a, 20w13b, 20w15a, 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 20w21a, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w20a, 1.17 Pre-release 2, 1.17 Release Candidate 1, 1.17, 1.17.1, 21w39a, 21w40a, 1.18 Pre-release 1, 1.18 Pre-release 5, 1.18, 1.18.1 Pre-release 1, 1.18.1, 22w05a, 22w06a, 1.18.2, 22w12a, 22w14a, 22w17a, 1.19, 1.19.1 Release Candidate 1, 1.19.1 Pre-release 5, 1.19.2, 1.19.3, 1.19.4, 23w13a, 1.20.1, 23w32a
Fix Version/s: 23w33a

Type: Bug
Reporter: [Mod] markderickson Assignee: [Mojang] Gnembon
Resolution: Fixed Votes: 243
Labels: attack, damage, kill

Attachments: PNG File 2016-05-28_21.13.28.png     PNG File after.png     GIF File attack_through_a_wall.gif     PNG File before.png     GIF File ravager-headbutt-through-door.gif     GIF File ravager-range-bug-slowmo.gif    
Issue Links:
Duplicate
is duplicated by MC-15127 Zombies can Hit NPCs Through Doors. Resolved
is duplicated by MC-18326 Hit by mob through solid wall Resolved
is duplicated by MC-20142 Zombies hit me through doors Resolved
is duplicated by MC-23919 Baby Zombies can attack through doors. Resolved
is duplicated by MC-24069 zombie glitch Resolved
is duplicated by MC-29270 Zombies can damage the player when br... Resolved
is duplicated by MC-29292 Zombies can damage villagers through ... Resolved
is duplicated by MC-40354 Door & Zombie bug Resolved
is duplicated by MC-40987 Zombies attack through doors Resolved
is duplicated by MC-50668 Mobs' Hitbox disregards Blocks Resolved
is duplicated by MC-63435 Zombies can attack villagers trough d... Resolved
is duplicated by MC-63965 Zombies can Attack Villagers through ... Resolved
is duplicated by MC-69551 Zombies turn/harm villagers through i... Resolved
is duplicated by MC-70772 Zombies attack through doors Resolved
is duplicated by MC-71235 Baby Zombie hit player through door. Resolved
is duplicated by MC-71834 Video: Cave Spiders attack through so... Resolved
is duplicated by MC-73341 In mine craft, if a zombie is behind ... Resolved
is duplicated by MC-74629 zombie through doors Resolved
is duplicated by MC-74905 mobs can interact with each other thr... Resolved
is duplicated by MC-74907 Iron Golems can hurt players and mobs... Resolved
is duplicated by MC-77499 Spiders can attack through blocks and... Resolved
is duplicated by MC-79382 Zombies turning villagers through doors Resolved
is duplicated by MC-88647 Glitchy spiders hitting through wall Resolved
is duplicated by MC-92896 Mobs can STILL be hit through corners Resolved
is duplicated by MC-96693 Unable to attack mobs through closed ... Resolved
is duplicated by MC-96860 Mobs continue to attack player when a... Resolved
is duplicated by MC-99135 Villagers dying in blocked doors. Resolved
is duplicated by MC-100083 Enemies with sword can attack through... Resolved
is duplicated by MC-100129 Zombies can attack through the corner... Resolved
is duplicated by MC-106854 zombies attacking through blocks Resolved
is duplicated by MC-106966 Zombies can attack through corners Resolved
is duplicated by MC-107078 Glitches Resolved
is duplicated by MC-110408 Certain mobs can attack diagonally Resolved
is duplicated by MC-116039 Cave spiders can hit the player throu... Resolved
is duplicated by MC-125826 Zombies can attack through doors Resolved
is duplicated by MC-126046 The spiders can attack you under a bl... Resolved
is duplicated by MC-129797 dolphins can hit Resolved
is duplicated by MC-131846 Phantoms can hit you through blocks. Resolved
is duplicated by MC-136341 Zombies Attack/Turn Villagers through... Resolved
is duplicated by MC-137849 Illager Beast can attack through blocks Resolved
is duplicated by MC-138903 Pillager Beast Resolved
is duplicated by MC-139210 The "illager beast" can hit players t... Resolved
is duplicated by MC-140962 new village style lets mobs kill vill... Resolved
is duplicated by MC-143305 Zombies see and attack residents thro... Resolved
is duplicated by MC-146425 Iron golem and ravager can attack the... Resolved
is duplicated by MC-146545 a 1.14 Bug and it needs to be fixed fast Resolved
is duplicated by MC-147211 Enderman can hit you through the slab... Resolved
is duplicated by MC-147928 Ravager can hit you through 1 block wall Resolved
is duplicated by MC-148521 Mini Zombies can attack you through c... Resolved
is duplicated by MC-151950 Ravagers are able to attack player th... Resolved
is duplicated by MC-152319 Ravanger can hit players through blocks Resolved
is duplicated by MC-152893 Spiders Resolved
is duplicated by MC-154751 Cave Spiders can hit you from a block Resolved
is duplicated by MC-154789 Pufferfish Deal damage through blocks Resolved
is duplicated by MC-154877 Mobs hitting through corners of walls. Resolved
is duplicated by MC-155446 Ravagers hit through blocks Resolved
is duplicated by MC-156313 Spider deals damage through half slabs Resolved
is duplicated by MC-158868 Ravager can hit and see through walls... Resolved
is duplicated by MC-159479 Bees sting through Glass Panes Resolved
is duplicated by MC-161491 The Ravager is able to kill players t... Resolved
is duplicated by MC-162382 Bees sting through glass panes Resolved
is duplicated by MC-162849 Iron golems can hurt players and mobs... Resolved
is duplicated by MC-164394 Pandas can attack through a full soli... Resolved
is duplicated by MC-167398 make the fence a complete block Resolved
is duplicated by MC-167784 Bees can attack through slim blocks Resolved
is duplicated by MC-168686 Died to Ravager in my home through wo... Resolved
is duplicated by MC-169158 Bee stung through glass pane Resolved
is duplicated by MC-169800 Iron Golem deals damage through the wall Resolved
is duplicated by MC-171356 Zombies can hit through doors Resolved
is duplicated by MC-172294 Bees sting through glass panes again ... Resolved
is duplicated by MC-172863 Enderman hitting though wall Resolved
is duplicated by MC-172864 Enderman hitting though wall Resolved
is duplicated by MC-172939 Iron Golem attack not just through do... Resolved
is duplicated by MC-175374 Spider can hit up through blocks Resolved
is duplicated by MC-177256 Spiders beat the player through half ... Resolved
is duplicated by MC-179312 Mobs hitting through walls Resolved
is duplicated by MC-181047 Pufferfish attacks through wall Resolved
is duplicated by MC-184710 Some mobs don't have appropriate "sto... Resolved
is duplicated by MC-186969 AFK bug or Alt+tab glitch Resolved
is duplicated by MC-188523 iron golem can hit the player from 1 ... Resolved
is duplicated by MC-190029 zombie atack villager through block Resolved
is duplicated by MC-192705 Bug where you can hit people with arr... Resolved
is duplicated by MC-192895 Zombies can attack through player-bui... Resolved
is duplicated by MC-194971 Enemies can hit through blocks. Resolved
is duplicated by MC-195335 Zombified Piglin can attack through b... Resolved
is duplicated by MC-196923 zombies can punch through fences Resolved
is duplicated by MC-198114 spiders can attack players through bl... Resolved
is duplicated by MC-198395 Bug in spiders Resolved
is duplicated by MC-198476 The Sweeping Attack can hit through c... Resolved
is duplicated by MC-199687 Spiders can hit through blocks Resolved
is duplicated by MC-201532 Spiders can be shot if they are right... Resolved
is duplicated by MC-202151 so piglin brutes can hit through walls. Resolved
is duplicated by MC-202426 Zombies can hit through blocks Resolved
is duplicated by MC-207383 Damage Through Walls Resolved
is duplicated by MC-209036 Mobs able to get you through corners Resolved
is duplicated by MC-211507 Mobs are able to hit you through blocks Resolved
is duplicated by MC-211695 Mobs can hit you through walls with n... Resolved
is duplicated by MC-211873 mobs Resolved
is duplicated by MC-215294 Magma Cubes are Deadly Resolved
is duplicated by MC-217006 Iron Golems can hit you through blocks. Resolved
is duplicated by MC-217360 Zombies are hitting me through blocks... Resolved
is duplicated by MC-218016 Mobs Hitting Players Through Walls Resolved
is duplicated by MC-218423 Endermen are broken. Please fix Resolved
is duplicated by MC-220315 zombie and the door bug Resolved
is duplicated by MC-220665 Attacked by zombified piglin through ... Resolved
is duplicated by MC-224513 Endermen can attack diagonally throug... Resolved
is duplicated by MC-227326 Spiders can attack player through slabs Resolved
is duplicated by MC-227631 Iron golems can hit you through wall Resolved
is duplicated by MC-228635 zombies hits me right through block Resolved
is duplicated by MC-229284 Spiders attacks through walls Resolved
is duplicated by MC-230134 i was play the new 1.17 when i found ... Resolved
is duplicated by MC-230627 Cave Spider Reach Resolved
is duplicated by MC-231751 Spiders can hit me through doors Resolved
is duplicated by MC-231753 Iron Golems can hit me Through walls Resolved
is duplicated by MC-233245 Spiders can hit the player from benea... Resolved
is duplicated by MC-241510 Spiders can go through walls Resolved
is duplicated by MC-241648 dead Resolved
is duplicated by MC-245806 Wither skeleton can hit the player th... Resolved
is duplicated by MC-250268 Bees can sting you through doors and ... Resolved
is duplicated by MC-253264 Ravagers can kill me through walls Resolved
is duplicated by MC-253637 Spiders can hit trough slabs/ground. Resolved
is duplicated by MC-258640 Ravagers hit through walls Resolved
is duplicated by MC-261497 Spiders being able to attack through ... Resolved
is duplicated by MC-261906 iron golems kill zombie villagers and... Resolved
Relates
relates to MC-198068 Some entities randomly stop attacking... Reopened
relates to MC-93478 End Portal teleport range is too larg... Resolved
relates to MC-108937 Attack ranges for certain mobs are in... Resolved
relates to MC-264915 Some mobs can still attack you throug... Resolved
relates to MC-116644 Filled water or powder snow cauldron ... Open
relates to MC-146524 Certain mobs attack while the player ... Open
relates to MC-252697 Frog can use its tongue to hurt the e... Open
relates to MC-252706 Ravager can ram with their head and r... Open
relates to MCPE-162607 Polar bear attacks passing through bl... Open
relates to MC-3059 Projectiles can pass through thin sur... Reopened
relates to MC-97042 Villagers not opening the correct door. Resolved
relates to MC-101015 Can use dismount to go through the wall Resolved
relates to MC-265029 Projectiles can enter the portal thro... Resolved
relates to MC-265134 Pufferfish can sting entities through... Resolved
relates to MCPE-66294 Creatures can attack through glass panes Resolved
relates to MC-1297 You can attack and be attacked throug... Resolved
CHK:
Confirmation Status: Confirmed
Category:
Entities, Hitboxes
Mojang Priority: Very Important
Area: Platform

 Description   

The bug

Mobs can attack you through blocks and corners due to miscalculation of attack radius.

How to reproduce

  1. Build a completely sealed off house with no windows or doors from opaque blocks like planks or cobblestone or the like, leave some blocks in the inventory for you to place in step 7.
  2. Make a two-block tall one-block wide empty doorway in the wall for you to go through and to seal off with blocks in step 7.
  3. Outside the house, spawn a Ravager.
  4. Switch to survival mode.
  5. The Ravager should start going for you.
  6. Run in the house, let it hit you once through the empty doorway.
  7. Seal off the doorway with two blocks.

Result: The Ravager is still able to hit the player, from about two blocks away, with a complete wall every possible place in between.
Expected: The Ravager can't attack the player any more.

Example

An example can be seen in this comment.

Old example

I just created a villager in MCEdit with the Create Shops filter to have a custom shop. I saved it and launched MC. The villager started to run around normally in his house but then he went to the door where a zombie was knocking at (wooden door on normal difficulty) and the villager blinked red and got damage and after a few hits he died. The zombie killed him through a closed door and the villager did not run away he always came back to the door until he died.

Additional informations

From kingsupernova:
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 than 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.

Code analysis

Based on 1.11.2 decompiled using MCP 9.35 rc1

The problem seems to be the method net.minecraft.entity.ai.EntityAIAttackMelee.checkAndPerformAttack(EntityLivingBase, double) and methods overriding it. They all only test if the mob to attack is in a certain radius to the attacker without testing if blocks are between them.

Possible solutions

Bounding box check

The current behavior would be replaced by only allowing mobs to attack other mobs when their bounding boxes intersect.

Ray casting

The current behavior would be extended to require a ray cast from the attacker to the mob to attack (excluding liquids and blocks without collision box) to return no colliding blocks. Possible use y + height / 1.5 as attack height or have a method for mobs to define their attack height(s?). The height at which the mob to attack will be attacked could for example be y + height / 2 or with multiple tries depending on the height of the mob, for example

for (int attackFraction = 0; attackFraction < height / 2; attackFraction++) {
    double attackHeight = y + height * ((attackFraction + 1.0) / (height / 2.0 + 1.0))
}


 Comments   
Comment by user-f2760 (Inactive) [ 19/Aug/23 ]

That's tracked in MC-264915.

Comment by Fabian Röling [ 19/Aug/23 ]

Still happens sometimes in 23w33a with spiders.

Comment by Jon1337 [ 15/Aug/23 ]

Woah, amazing to see this fixed.

Comment by windwend [ 15/Aug/23 ]

Finally, zombies can't hit you through doors anymore. Good job Gnembon!

Comment by Jon1337 [ 14/Aug/23 ]

In 23w32a

Comment by Chris6ix [ 14/Aug/23 ]

OMG NO WAY THEY FINALLY FIXED IT
After almost 11 years, against all odds, someone at Mojang finally fixed one of the most annoying issues in the game.

Whoever is the dev that fixed it: https://imgur.com/a/xFoTlWQ
We need to get this guy a dev of the year award.

Comment by Brevort [ 14/Jun/23 ]

Affects 1.20.1.

Comment by Brain81505 [ 01/Feb/23 ]

Can confirm in 23w06a

Comment by Uchinanchuu58 [ 13/Nov/22 ]

Tested in 1.18 thru 1.19.2
I've noticed that this happens once a mob has already started attacking, not before that.  I have a villager zombification/curing station wherein a villager in a minecart is in the corner and a zombie is on the outside of the corner.  With the flick of a lever, the blocks on one side of the corner are pulled away, allowing the zombie to attack.  If I deactivate the lever and push the zombie back outside BEFORE he attacks the villager, he will go idle, but if I let him attack the villager even one time before pushing him outside, he continues to attack the villager through the corner until the villager is zombified.  See attached screenshots: when the wall is open, the villager is being attacked.  Even after I close the wall, the zombie continues attacking over and over.

Comment by Dschinghis Khan [ 19/Aug/22 ]

Can confirm in 1.19.2

Comment by Dschinghis Khan [ 20/Jul/22 ]

test and confirm in 1.19.1-pre5

Comment by Chris6ix [ 23/Jun/22 ]

Can confirm in 1.19.1-pre1
Especially the Ravager can be very annoying due to this bug
I made 2 new small clips to show the issue (One is also with F3 if that helps the devs)

Edit: Apparently my videos don't work on this website (although they are normal mp4), so I uploaded them to Imgur...here is the link

Comment by esoij [ 29/Apr/22 ]

Can confirm 22w17a, 22w16a, and 22w15a.

Comment by [Mod] ampolive [ 03/Oct/21 ]

Can confirm in 21w39a.

Comment by Osmo Hyttinen [ 29/Jul/21 ]

Can confirm in 1.17.1
Ravagers can attack you through a completely sealed off wall if they are still targeting you behind it.
Steps to reproduce:

  1. Build a completely sealed off house with no windows or doors from opaque blocks like planks or cobblestone or the like, leave some blocks in the inventory for you to place in step 7.
  2. Make a two-block tall one-block wide empty doorway in the wall for you to go through and to seal off with blocks in step 7.
  3. Outside the house, spawn a Ravager.
  4. Switch to survival mode.
  5. The Ravager should start going for you.
  6. Run in the house, let it hit you once through the empty doorway.
  7. Seal off the doorway with two blocks.

Result: The Ravager is still able to hit the player, from about two blocks away, with a complete wall every possible place in between.
Expected: The Ravager can't attack the player any more.

Comment by Junio [ 16/Jul/21 ]

Can confirm in 1.17.1

Comment by not telling [ 20/Dec/20 ]

Seriously how long does it take to implement three lines of code?

How about stop adding stuff and start fixing stuff?

This bug is game ending. Like quitting playing the game ending.

Look at that Ravenger gif above. How is that fair after all the grinding the player has done to get to that point?

We have to abide by the rules so why can't the rest of MC?

 

Honestly? Shame on you guys.

Comment by hi there [ 20/Oct/20 ]

I'm not sure if the villager problem relates to hitboxes but I think if the door was placed incorrectly (on the block next to the doorway) then the villager keeps walking to it (I had it too). I had zombies outside an iron door incorrectly placed and the villager kept running there and died.

Comment by Scott Suhmann [ 22/Sep/20 ]

Ravegers are killing me 2 blocks away (me, block block, raveger) inside a building. I am playing on normal difficulty. Even with full iron armor and a shield I am dead in 2 hits and they instantly counter attack when hit. Finally, I can only escape them if I run straight, any deviation they will catch and kill me. This is too much for normal difficulty. I was also killed 23 time because the thing spawn camped me. I literally could not leave my hut. It doesn't help that I also had to deal with a mach 5 evoker spawning vexes like crazy, but that's a different ticket. I did not have this difficulty before 1.16. A raveger with a guy on top will stop to shoot giving me a chance to run at least. I had to use the other pillagers to kill this raveger.

Comment by Jhon Cena [ 27/May/20 ]

nighter made a comment on MC-147516 that these issues relating to the attack ranges of mobs could be related to this issue.

https://streamable.com/hph3g1

https://streamable.com/omr8d9

https://streamable.com/fj1dqj

I attempted to make an individual issue to the bug shown in the video. MC-184710

If you think that this issue does not address the above, you should reopen my issue. Now that it seems this issue might be fixed in 1.16 (It was assigned to Searge 4 hours ago) you might as well get to fixing the issue in the videos as its very similar.

Comment by RedCMD [ 04/Apr/20 ]

Golems can attack through over 1.5m solid thick walls

Comment by [Mod] Urielsalis [ 04/Apr/20 ]

Ticket has been reopeend

Comment by [Mod] violine1101 [ 04/Apr/20 ]

Technical difficulties... this ticket will be reopened as soon as Arisa will let us ^^

Comment by Hawk J [ 01/Apr/20 ]

This bug is extremely conspicuous with ravagers. I'm getting killed (on hard difficulty if I don't have full health) standing 2+ blocks away from a ravager, with a door in between. Its range is bigger than the player's!

Comment by Marcono1234 [ 13/Feb/20 ]

@Space-between-spaces, this issue is only for the Java Edition. Please search if this issue has already been reported for Bedrock Edition (MCPE), which includes the Nintendo Switch version, and if not create a new report. Note that there is already MCPE-48401 which sounds similar, but not quite the same.

Comment by Dale Gary [ 12/Feb/20 ]

I'm having the same problem in the Nintendo Switch version of this game. Clean through the f[redacted]ing walls, 40 f[redacted]ing levels are gone now. I'll be honest, I expect these types of malfunctions from Bethesda but Mojang really dropped the ball here.

Comment by Amy Lavandier [ 30/Dec/19 ]

Still in 1.15.1

Got stung by bee through glass pane (bee died)

For details: MC-169158

Comment by Adam Griggs [ 10/Dec/19 ]

It's very disappointing that this is still a bug 7 YEARS after being reported. I was very hopeful that it would be fixed before 1.15 comes out, but it doesn't look like that's going to happen.

Comment by TheBoy358 [ 08/Nov/19 ]

Confirmed in 19w45b.

Comment by [Mod] Anthony Cicinelli [ 27/Oct/19 ]

Confirmed for 19w42a

Comment by Oktay Bekar [ 19/Jul/19 ]

Still in 1.14.4

Comment by [Helper] ZeNico13 [ 17/May/19 ]

Still in 1.14.2 Pre-Release 1 and 1.14.2 Pre-Release 2

Comment by [Helper] ZeNico13 [ 13/May/19 ]

Still in 1.14.1 Release

Comment by [Helper] ZeNico13 [ 23/Apr/19 ]

Still in 1.14 Release

Comment by [Helper] ZeNico13 [ 19/Apr/19 ]

Still in 1.14 pre-5

Comment by Pink [ 17/Apr/19 ]

it still happens in 1.14 Pre-Release 3 and 4

Comment by [Helper] ZeNico13 [ 12/Apr/19 ]

Still in 1.14 Pre-Release 2

Comment by [Helper] ZeNico13 [ 10/Apr/19 ]

Still in 19w14b and 1.14 Pre-Release 1

Comment by [Helper] ZeNico13 [ 03/Apr/19 ]

Still in 19w14a

Comment by [Helper] ZeNico13 [ 27/Mar/19 ]

Still in 19w13a

Comment by [Helper] ZeNico13 [ 22/Mar/19 ]

Still in 19w12b

Comment by EclipsEyE [ 30/Jan/19 ]

Still happening in 19w05a

Comment by Fábio Schultz [ 13/Dec/18 ]

Confirmed for 18w50a, the majority of the villages are almost empty because all the villagers are being killed by that.

Comment by Jagur [ 12/Dec/18 ]

The villagers can also be damaged through diagonal wall spaces of the new huts usually ther 5x5 ones. appears in 18w50a

Comment by BLack_Tea_RGO [ 29/Nov/18 ]

Confirmed for 18w47b

Comment by Doctor5555 [ 28/Oct/18 ]

Can confirm for 18w43c - the zombie hurts the villager and does not attack the door between them.

Comment by Dave Jervis [ 27/Jul/18 ]

This potentially is caused by the same issue, as the Drowned attack radius while they are in the swimming animation extends to about 2 blocks away. Only occurs if they are 'horizontal', otherwise attack radius is normal. This becomes very bad if they get in a boat, as they are stuck in swim animation and have a large attack radius.

Comment by access transfarmer [ 24/Jul/18 ]

Confirmed for 1.13.

Comment by Jorge Munoz [ 21/Feb/18 ]

I like the ray cast solution, simple and elegant and the mechanisms are already in place

Comment by JochCool [ 21/Jan/18 ]

Confirmed for 18w03b

Comment by Greg Milson [ 26/Sep/17 ]

Confirmed in 1.12.2

Comment by Karuna Boyum [ 08/Aug/17 ]

Confirmed for 1.12.1. Zombies killed me even though I was boxed into a 1x2x1 hole. Hit diagonally through corners.

Comment by Fabian Röling [ 31/May/17 ]

MCBC and MCJava have two separate trackers. You can filter by using "project" in the search options. If you find a report there or, if there is none, make one, can you please comment here with the number of it so that it can be linked as related?

Comment by Caleb [ 30/May/17 ]

this bug is apperntly also in mc10 C++/PE as well not sure if i should find a report already or what

Comment by Greg Milson [ 17/May/17 ]

Confirmed for 1.12 Pre Release 2

Comment by Marcono1234 [ 21/Feb/17 ]

Added a code analysis and possible solutions I could come up with. Feel free to add own solutions as well.

Comment by Ambiopteryx [ 08/Feb/17 ]

I myself tested and confirmed for 1.9.4, 1.10.2, 1.11.2 both:

  • adult zombies hit through corners of a (diagonal) wall (sometimes an arm can be seen) and
  • adult zombies hit through a closed door.

Maybe it's not attack radius but something like hitbox or gaps or solidity of the object(s) between attacker an mob/player. (Seed -5821562820736002727 on 1.11.2 generates a village near the spawn - all villagers die because in the houses they are not safe against zombies.)

For similar description see the duplicates (whose problems are not solved, but there status is "resolved" only because they are duplicates).

My details: I tested with zombies on one side and villagers and player on the other side of a wall. I tested some types of stone and wood - all the same result. Hitting through the door is not affected by the orientation (inside/outside) of the door.

X = block of the wall
D = door (tested in both directions)
Z = zombie
V = villager (same with player)
o = nothing special (monospace did not work here)

oZXZo
ZXVXZ
XVoVX zombies hit villagers
ZXVXZ
oZXZo

ZZZZZZ
ZXXXXZ
ZXVVXZ zombies do not hit villagers
ZXVVXZ
ZXXXXZ
ZZZZZZ

XXXX
XoVDZ zombie hits villager if both near the door
XXXX

(Many villagers were harmed during this test.)

Comment by zero318 [ 07/Jan/17 ]

Confirmed for 1.11.2.

Comment by null (Inactive) [ 23/Jun/16 ]

Confirmed for 1.10 and 1.10.2.

Comment by José Roberto de Araújo Júnior [ 14/Jun/16 ]

An arrow can also hit living entities through corners.

Comment by SunCat [ 08/Jun/16 ]

Still in 1.10

Comment by Hawk J [ 24/Apr/16 ]

Confirmed in 1.9.2.

I just died in a new hardcore world because a zombie was able to hit me through the corner of a wall.

Comment by KingSupernova [ 17/Mar/16 ]

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.

Comment by SunCat [ 12/Mar/16 ]

Still in 1.9.1-pre3

Comment by SunCat [ 09/Mar/16 ]

Still in 1.9.1-pre1

Comment by Lara Miller [ 07/Mar/16 ]

Has anyone had the problem in 1.9 where you cover up the door with blocks and the villagers still die? It used to keep them safe, but I lost most of a village yesterday. I guess I'll have to build a whole little room in front of each door until I get the village walled and lit.

Comment by SunCat [ 27/Feb/16 ]

Still in 1.9-pre4

Comment by SunCat [ 24/Feb/16 ]

Still in 1.9-pre3

Comment by SunCat [ 23/Feb/16 ]

Confirmed for 1.9-pre2

Comment by Bren Rado [ 13/Feb/16 ]

Confirmed for 16w06a

Comment by Bren Rado [ 07/Feb/16 ]

This is confirmed for 16w05b, and it's also unfair how the Player is unable to attack through closed doors. My friend created an issue about the Player being unable to attack through closed doors. See MC-96993

Comment by Cameron Arnott [ 20/Jan/16 ]

confirmed 16w02a , through closed door and diagonally through corners of blocks and both at same time

Comment by Enoch Fox [ 09/Dec/15 ]

Confirmed for 15w50a

Comment by Commander Sealand [ 02/Dec/15 ]

Confirmed for 15w49a

Comment by Commander Sealand [ 21/Nov/15 ]

Confirmed for 15w47c

Comment by [Mod] Sonicwave [ 15/Aug/15 ]

Confirmed for 15w33c. It doesn't help that the villagers often press themselves against the door, even if a zombie is trying to break it - _ -

Comment by user-57e18 (Inactive) [ 26/Jun/15 ]

I think this relates to MC-3059 because what is probably happening in both is that the attack IN GENERAL is just going through the door.

Comment by Dlawso the Really Lucky Rabbit [ 17/Feb/15 ]

The Minecraft Wiki isn't considered a reliable source for bug reports. It basically documents the current behavior of the game.

Comment by David [ 17/Feb/15 ]

http://minecraft.gamepedia.com/Zombie

At "Behavoir" they say zombies are able to deal damage through a closed door.

Comment by Matthew [ 06/Jan/15 ]

I also have this problem, my villagers keep dying and I have to block the house entrances with dirt until the morning (damn it...).

Comment by Spiffycaius [ 04/Jan/15 ]

Edit: baby zombie bypassing the iron door is for 1.8,1.8.1 now this bug has ben fixed for 1.8.2 and it started after upgradeing from 1.7.10

Comment by Spiffycaius [ 04/Jan/15 ]

I got killed by a baby zombie going through a IRON DOOR!!!!

Comment by Martmists [ 29/Dec/14 ]

the problem is the hitbox of a zombie.
the hitbox of a zombie (which can be see by pressing F3 + B) can sometimes glitch in the hitbox of a door. however, i do believe this is just a directional glitch.
when the hitbox of a zombie and something it wants to hit collide, the zombie can actually hurt it.

Comment by [Mod] Sonicwave [ 16/Oct/14 ]

Confirmed for 1.8.1-pre1/pre2.

Comment by Aaron Rhodes [ 04/Sep/14 ]

There are quite a few problems with blocks that don't take up the whole 1m by 1m area. For doors, being attacked by mobs or being shot by an arrow through the door is probably possible because the player or entity's hitbox ends up outside of the door, allowing interaction with it. This has also occasionally happened with regular blocks in a corner where you can see the mob's arm, allowing you to kill a zombie through solid blocks.

PS Zombies will no longer break down doors on any gamemode or difficulty and it is intended to be that way.

Comment by Aaron Rhodes [ 04/Sep/14 ]

Using a splash potion of weakness then a regular golden apple should turn a villager zombie back into a normal villager. So instead of killing the zombies, you could have left them for when you got the potions and golden apples and you would have 7 villagers left. This might end up costing far too much gold though.

Comment by Jyn [ 04/Sep/14 ]

I created a new singe player game, in which a village was close by.
During the night, I heard the "oomph!" sound of a villager being damaged, so I went out of the building and saw a zombie on the outside and villager on the inside. I killed the zombie and went inside with the villager. Another zombie came and as the villager went by the door, it was hurt. I could hear other villagers hurt in another building. I protected my one villager until morning and I went to check on the other villagers.
There were no more villagers, but 6 new 'zombies' were let out of the building the villagers had been in and were promptly killed.
These were all spawned villages and it seems as though normal doors do not prevent villager/zombie damage. Im bummed because I only have 1 villager now.

Comment by Kawsiphek [ 22/Aug/14 ]

I can confirm this is still an issue on the 1.8-pre1 release. Zombies are able to kill villagers, as well as players, through any door when close enough to the closed door.

Comment by branza [ 08/May/14 ]

Only some zombies spawn with the ability to break doors, most of them can't break them.

Comment by Tokes [ 07/May/14 ]

This old a bug and none of you noted how it happens? This is old news. If a mob is standing in the block that the door is on ("in the alcove") they can hit through the door. This can be fixed by removing the door and replacing it so the alcove is on the inside of the house. I often go through newly found villages fixing the doors and changing the location of the doorway on the blacksmith (if you add a door in the old location it kills villagers, as they mistake the outside for the inside. The mods here have declared it "not a bug because Mojang doesn't intend players to fix up villages").

Also zombies break down doors on hard only. They half-break the doors on normal and easy (bang on the door causing it to crack but never get further than halfway broken).

Also related: Players can hit baby zombies through the door from the alcove. Only instance I know of where players get to hit through the door. Normally it's only monsters.

EDIT: if the alcove is on the inside and zombies are still getting kills through the door it's probably that other glitch. If multiple villagers are pushing each other and one is in the alcove they can be slightly pushed through the door. It corrects itself (like animals being pushed through fences usually corrects itself) but for a second the villager is vulnerable to hits from zombies outside. I think that's the same way wolves get kills on fenced in sheep.

Comment by christophe degraeve [ 07/May/14 ]

is this problem being fixed? cause i"m now in snapshot 14w18b and zombies can hit me trough doors.
never had this problem before this snapshot though :S ...

oh and btw: zombies don't break down doors anymore, maybe its related.

Comment by Ethan Wilson [ 04/Apr/14 ]

This bug is observed in 14w11b.

Comment by Omnimetatron [ 17/Feb/14 ]

Got attacked through an iron door by a Zombie Pigman earlier using snapshot version 14w07a.

Comment by Christopher Wassall [ 23/Jan/14 ]

This is still an issue in all versions up to and including 14w04a.

Comment by Tails [ 31/Oct/13 ]

Reopened? It was never resolved in first place.

Comment by NekoJonez [ 31/Oct/13 ]

Maybe this issue should be re-opened. I ran some tests in a creative world and it appears that villagers seem to crowd,mostly around the door, in one or several houses at night.

Because the zombies group before the door and then start hitting the villagers through the door somehow, if one villager turns into a zombie, your whole villager population is killed in one sweep.

Comment by Sam Corbin [ 22/Aug/13 ]

This is a really annoying problem which I hope is fixed soon. Confirmed to still be an issue on Mineraft 1.6.2 with Java 7 update 25 64-bit.

Comment by Soul Green [ 09/Jul/13 ]

This can sometimes happen to players (tested 1.6.2) and will always occur with baby zombies.

Comment by Andrew Anthony [ 23/Jun/13 ]

We're seeing this on naturally generated villages in our vanilla server.

Comment by Michael Irvine [ 05/Dec/12 ]

I know I'm not a mod but I think I know the problem. Zombies can't hit mobs but can break doors when they are closed. If the door is open, the zombie can hit mobs but can't break it down. If you place the door sideways, then put it in the open position, zombies can hit mobs (like the villager) through doors. Th other problem might be that Createshops filter was messing it up. If the zombie is making the banging noises than Createshops is the problem. If not it could be either one. I may also be completely wrong.

Generated at Sun Jan 12 11:57:26 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.