Some mobs can still attack you through blocks
Despite the fix of MC-2310, some mobs can still hit you through walls and corners, when they're aggravated. The list of mobs is as follows:
- Bee
- Iron golem
- Panda (aggressive)
- Polar bear
- Spider
- Cave spider
- Ravager (might be intended?)
These mobs can still attack you diagonally through blocks or even if there's thin blocks in between, like trapdoors. The rest of mobs like zombies, hoglins and wardens (melee) are unable to attack through blocks as expected.
How to reproduce
- Spawn one of the mobs on the list, either inside a box with no outer corners or beside a wall of trapdoors.
- Apply slowness if necessary.
- Aggravate the mob by letting it see you, then quickly hide on the other side of the wall(s) very close to its hitbox.
- Notice you get hit by the mob.
Expected result
These mobs would be unable to hit you through walls/corners, as they're unable to see the player, like how the rest of mobs do.
Observed result
These mobs can still hit you through walls and corners, even if the conditions haven't been met.
Linked Issues
is duplicated by1
relates to9
Created Issue:
Some mobs can still attack you through blocks
Despite the fix of
MC-2310, some mobs can still hit you through walls, when they're aggravated. The list of mobs is as follows:
- Bee
- Iron golem
- Panda (aggressive)
- Polar bear
- Spider
- Cave spider
- Ravager (might be intended?)
These mobs can still attack you diagonally through blocks or even if there's thin blocks in between, like trapdoors. The rest of mobs like zombies, hoglins or wardens (melee) are unable to attack through blocks as expected.
How to reproduce
- Spawn one of the mobs on the list, either inside a box with no corners or beside a wall of trapdoors.
- Apply slowness if necessary.
- Aggravate the mob by letting it see you, then quickly hide on the other side of the wall(s) very close to its hitbox.
- Notice you get hit by the mob.
Expected result
These mobs would be unable to hit you through walls, as they're unable to see the player, like how the rest of mobs do.Observed result
These mobs can still hit you through walls, even if the conditions haven't been met.
Despite the fix of
MC-2310, some mobs can still hit you through walls, when they're aggravated. The list of mobs is as follows:
- Bee
- Iron golem
- Panda (aggressive)
- Polar bear
- Spider
- Cave spider
- Ravager (might be intended?)
These mobs can still attack you diagonally through blocks or even if there's thin blocks in between, like trapdoors. The rest of mobs like zombies, hoglins
orwardens (melee) are unable to attack through blocks as expected.How to reproduce
- Spawn one of the mobs on the list, either inside a box with no corners or beside a wall of trapdoors.
- Apply slowness if necessary.
- Aggravate the mob by letting it see you, then quickly hide on the other side of the wall(s) very close to its hitbox.
- Notice you get hit by the mob.
Expected result
These mobs would be unable to hit you through walls, as they're unable to see the player, like how the rest of mobs do.Observed result
These mobs can still hit you through walls, even if the conditions haven't been met.Despite the fix of
MC-2310, some mobs can still hit you through walls and corners, when they're aggravated. The list of mobs is as follows:
- Bee
- Iron golem
- Panda (aggressive)
- Polar bear
- Spider
- Cave spider
- Ravager (might be intended?)
These mobs can still attack you diagonally through blocks or even if there's thin blocks in between, like trapdoors. The rest of mobs like zombies, hoglins and wardens (melee) are unable to attack through blocks as expected.
How to reproduce
- Spawn one of the mobs on the list, either inside a box with no outer corners or beside a wall of trapdoors.
- Apply slowness if necessary.
- Aggravate the mob by letting it see you, then quickly hide on the other side of the wall(s) very close to its hitbox.
- Notice you get hit by the mob.
Expected result
These mobs would be unable to hit you through walls/corners, as they're unable to see the player, like how the rest of mobs do.Observed result
These mobs can still hit you through walls and corners, even if the conditions haven't been met.
relates to
relates to
relates to
is duplicated by
relates to
That's tracked in MC-264915.
The ravager is being tracked at MC-264915
according to MC-264915, this issue will/might be fixed in the next snapshot
Thank you for your report!
We're resolving and linking this ticket forward as a duplicate of MC-264915, as that ticket contains more detailed information and/or has already been triaged by Mojang.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
It's safe to assume this has been fixed in 23w35a due to the fixes for MC-2310 & MC-264915, at least for mobs. There's still the other minor issue that is already stated in the title, which is players being able to attack through panes/blocks, but that one could be considered a completely different issue.
In certain protected areas, such as the spawn protection in servers, the player can attack other entities through blocks, because when the player breaks a block client-side, the gap remains for a few milliseconds until it regenerates, giving the player the opportunity to strike the entity behind, as can be seen in these screenshots:
However, i haven't tested this so i don't know if it's still the case in 1.20.1. If it is, the report should probably be centered around that, or either be covered in a new report.







Judging by the duplicates of
MC-2310, the list may be incomplete, as i haven't tested dolphins and pufferfish.Can confirm. Endermen can still hit you through corners.
Jon1337, are you sure? i intentionally didn't put endermen on the list because from my testing they weren't affected, you have to make sure the mob doesn't have any way to see you through the wall, in the case of endermen the wall/corner needs to be 3-block tall.
Ravagers are intended per the changelog:
(Emphasis added by me.) The image attached shows a less-than-single-block thick wall, not a few blocks.Partial duplicate of
MC-264900.Nevermind, I had
MC-264908so the version was actually 23w32 the whole time...