| Type: | Bug | ||
| Reporter: | [Mod] Avoma | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 66 |
| Labels: | glass_pane | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CHK: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Confirmation Status: | Confirmed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Category: |
Entities, Hitboxes
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Mojang Priority: | Low | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
| Comments |
| Comment by [Mod] Avoma [ 18/Oct/23 ] |
|
I tested this issue myself and it has indeed been fixed in 23w35a, so I've marked this ticket as fixed. Thank you! |
| Comment by syarumi [ 30/Aug/23 ] |
|
Yeah, what I meant by my comment was that i tested most of the mobs trying to attack through panes, even trapdoors and I wasn't able to reproduce this issue anymore. |
| Comment by Markku [ 30/Aug/23 ] |
|
It is almost never "safe to assume", but... It seems that the attack and pathing behaviors of zombies (and maybe spiders, too) have changed since I last tested this (i.e. very long time ago), too.. I could not reproduce with the old test method, not even to the point of zombies getting as close to glass panes as before (they don't "hug the pane" now, but stay about at the center of the full free block outside). And could not get them to even to try to attack as soon as there was glass in between. So whatever has changed (in addition to those other two issues), a proper fix or not, has apparently made them unable/unwilling to attack through at least glass panes (in normal situations). Spiders could get closer the glass pane (as they climb it), but no attacks through the pane. I tried with only 3 zombies simultaneously, so they didn't push each other much towards the pane, as they all tried to get to the center of the same block, not straight towards the player ... Or need new/better reproduction steps to catch the remaining situations, if any left. |
| Comment by syarumi [ 30/Aug/23 ] |
|
It's safe to assume this has been fixed in 23w35a due to the fixes for 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. |
| Comment by AMGAMES04 [ 16/Aug/23 ] |
|
Can confirm in 23w32a |
| Comment by Brain81505 [ 11/Feb/23 ] |
|
Can confirm in 23w06a |
| Comment by Brain81505 [ 01/Feb/23 ] |
|
Can confirm in 23w05a |
| Comment by Brain81505 [ 25/Jan/23 ] |
|
Can confirm in 23w04a |
| Comment by Brain81505 [ 18/Jan/23 ] |
|
Can confirm in 23w03a |
| Comment by Markku [ 23/Jul/22 ] |
|
@Hubbi GamingTV, slightly incorrect: as described in earlier comments, at least in earlier versions (I have not checked the bug lately), in certain situations one could go as close to the pane as possible without getting hit by zombies. If it was simply due to hitbox getting through the pane, zombies would have been able hit through the pane in all situations (where the player was close enough). |
| Comment by HubbiGamingTV [ 22/Jul/22 ] |
|
this is because you can walk so close to the glass panes that your hitbox passes through the glass pane. making you hittable through the panes |
| Comment by Dschinghis Khan [ 20/Jul/22 ] |
|
in 1.19.1 pre5 |
| Comment by [Mod] Avoma [ 24/Jun/22 ] |
|
Can confirm in 1.19. I'd be happy to take ownership of this ticket and keep it updated since the reporter is no longer active. |
| Comment by [Mod] Avoma [ 02/Mar/22 ] |
|
Can confirm in 1.18.2. |
| Comment by [Mod] Avoma [ 22/Jun/21 ] |
|
Can confirm in 1.17. |
| Comment by [Mod] Avoma [ 18/Mar/21 ] |
|
Can confirm in 21w11a. |
| Comment by [Mod] Avoma [ 18/Feb/21 ] |
|
Can confirm in 21w07a. |
| Comment by [Mod] Avoma [ 12/Feb/21 ] |
|
Can confirm in 21w06a. |
| Comment by [Mod] Avoma [ 04/Feb/21 ] |
|
Can confirm in 21w05b. |
| Comment by [Mod] Avoma [ 03/Feb/21 ] |
|
Can confirm in 21w05a. |
| Comment by [Mod] Avoma [ 22/Jan/21 ] |
|
Can confirm in 21w03a. |
| Comment by [Mod] Avoma [ 11/Jan/21 ] |
|
Can confirm in 20w51a. |
| Comment by RAFAEL SOLIZ JR [ 29/Jun/20 ] |
|
Confirmed in 1.16.1 |
| Comment by Conem [ 08/Jun/20 ] |
|
Confirmed in 1.16-pre2. |
| Comment by DG [ 24/May/20 ] |
|
Confirmed in 1.16 20w20b. A phantom was able to attack me through a wall of glass panes. |
| Comment by TheBoy358 [ 08/Nov/19 ] |
|
Confirmed in 1.14.4 and 19w45a. |
| Comment by TheBoy358 [ 08/Nov/19 ] |
|
Confirmed in 1.14.4 and 19w45b. |
| Comment by AzBo93 [ 12/Nov/18 ] |
|
Have no idea about the head movement, radius does seem to be higher for the beast, And I can reproduce with other mobs too. |
| Comment by Fabian Röling [ 08/Nov/18 ] |
|
Does that happen because it moves its head forwards maybe? Can you reproduce with other mobs? Is the radius higher for the beast? |
| Comment by Kraif [ 24/Aug/18 ] |
|
I couldn't reproduce this for 1.13.1. Second opinion? |
| Comment by Connor Steppie [ 06/Jul/18 ] |
|
Actually, said test was performed by throwing a snowball at a glass pane from a distance with a mob behind it; would that be considered a different issue? |
| Comment by Markku [ 21/Feb/17 ] |
|
At least with the zombies attacking through glass pane, back then years ago, it was not only attack distance; when the zombies could not hit through the pane, the player could go as close as he wanted and be safe (if i remember it correctly). But code may have changed since. Also, I probably never got to fully reverse engineer this case, so it is just educated guesses and speculation from me. (I probably did try to take a look at the code, though, but likely gave up after a while in this particular case.) Considering the door case / (For getting code analysis (or checks) from me nowadays: I have given up on doing the MCP level debugging on these Minecraft issues as it takes like hours to days for a single reverse-engineering, and few hours for a fix, but then, years for Mojang to do absolutely nothing about it... when they could probably find and fix most of the issues I've been meddling with in half the time, with no reverse-engineering phase needed. (There has been few exceptions, though, where Mojang has finally applied my fixes or at least gotten some benefit from the analysis. But too few fixes, way too rarely.) That is, the benefits for me digging into the obfuscated code are nearly zero, yet needing substantial effort from me.) Zombie glass panes could be part of |
| Comment by Marcono1234 [ 21/Feb/17 ] |
|
I did not look at the screenshots carefully enough. It looks like this report contains multiple bugs:
I hope the code analysis for Edit: After testing it, I still feel like this zombie glass pane part is |
| Comment by Markku [ 21/Feb/17 ] |
|
Did you try it using the trick of first removing removing one pane, moving against another, then replacing the removed pane (allowed at least mobs to get a bit closer)? (Described in earlier comments for zombies attacking player, but could possibly apply also for players; I didn't check players back then, since at that time this issue was only about mobs attacking players, at least according to description. For some reason, Also, a prime example of the dangers of too eagerly claiming issues as duplicates. In this case, if the player side is indeed fixed, apparently player (with e.g. bow) vs. mobs could be handled more or less differently (in the code), and thus should have kept their issues only as "related to". |
| Comment by Marcono1234 [ 21/Feb/17 ] |
|
Cannot confirm that you as a player are able to hit through glass panes in 17w06a (at least not when trying to hit other mobs). Zombies or other mobs being able to attack through them is |
| Comment by Fabian Röling [ 22/Jun/16 ] |
|
Confirmed for 1.10.1. |
| Comment by Fabian Röling [ 10/Jun/16 ] |
|
Confirmed for 1.10. |
| Comment by KingSupernova [ 17/Mar/16 ] |
|
When I say they are the same base issue, I don't mean it's the same code. I just mean that they are all the same problem- In this case, mobs attacking things behind blocks. I haven't looked at the code, I was just using "attack radius" as a clear way of describing the problem. To the naked eye, that is how the problem appears. |
| Comment by Markku [ 17/Mar/16 ] |
|
KingSupernova, unless you have confirmed in the code that they have indeed the same root cause, do not assume they are one issue. Minecraft's code is made in many places in ways (e.g. duplication) that causes same or similar issues for multiple things, yet need different fixes. And history proves Mojang devs are not very capable of handling such cases if they are under the same ticket. But certainly mark them all as related. Also, a bit of semantics, maybe, but the problem is not attack radius, per se, but more likely a bug in how entities can end up sort of inside things and/or how their line-of-attack is calculated. That is, their movement algorithms can think an entity is on one side, but attack code thinks it is already on the other side. (Or something, that is just my educated assumption, but an assumption nonetheless.) |
| Comment by KingSupernova [ 17/Mar/16 ] |
|
There are a number of bug reports about attack radius that are all very similar.
Most or all of these reports should be consolidated into one, as they are all caused by the same base issue. |
| Comment by Markku [ 18/May/14 ] |
|
Can reproduce still in 1.7.9, just follow the steps in earlier comments (i.e. open one pane, let a zombie hit, close the glass pane "wall" again fully... and the hitting zombie can still keep hitting through the glass wall). |
| Comment by Dlawso the Really Lucky Rabbit [ 18/May/14 ] |
|
Cannot reproduce in 1.7.9 |
| Comment by Privacy Issue [ 22/Nov/13 ] |
|
1.7.2 is also affected I actually believe this applies to any gamemode and all blocks, See both attachments where i hit someone behind a wall/glass, in a grief-protected spawn/area, while having creative mode: Glass: http://i.imgur.com/BcndZzd.png |
| Comment by _zombiehunter [ 30/Sep/13 ] |
|
Affects Versions: 1.6.4, .... can confirm this up to 13w39b ! |
| Comment by [Mod] CubeTheThird [ 30/Sep/13 ] |
|
Reopening |
| Comment by Markku [ 30/Sep/13 ] |
|
Nope, the bug is still there. Read my previous comment how to reproduce. (I use creative mode to first create a small "hut" from normal blocks and glass pane walls, leave one pane out, use some zombie eggs from outside, switch to creative, let zombie(s) to hit, add the missing glass pane, approach the wall again and zombie(s) keep hitting... Also, zombies can hit villagers through doors (another thin vertical block) in some situations, or at least could in 1.6.2, haven't tested yet on 1.6.4 or checked if there already exist another issue for that; both issues may or may not have the same cause. |
| Comment by [Mod] CubeTheThird [ 30/Sep/13 ] |
|
Seems to be fixed. |
| Comment by Zachary [ 29/Sep/13 ] |
|
Doesn't seem to be an issue for me anymore, I haven't been playing as much though. |
| Comment by [Mod] CubeTheThird [ 26/Sep/13 ] |
|
Is this still a concern in the current Minecraft version 1.6.4 / Launcher version 1.2.5 ? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. |
| Comment by Zachary [ 01/Jul/13 ] |
|
I am having the same issue in 1.6.1. To specify, I am on a pre-release server using the release client. (Because they did not add the updated server to minecraft.net) I am running windows 8 and it is survival. The server itself is Ubuntu Linux. Thanks! |
| Comment by Markku [ 07/Feb/13 ] |
|
I managed to repeat with Paul Davis' latest example. But only if the zombie was lured to the glass pane wall (with a hole) first, and then the wall was closed. Zombies that were a bit away, or which were pushed a little bit on the other side, could not punch me; only a zombie that had gotten a hit on me before the wall was closed could continue punching me. The zombies that could punch me through the pane were also sort of stuck in it; they could only move along the glass pane wall; e.g. when I moved to other side, they could not leave the glass wall to get to me. (EDIT: they could leave it eventually as I moved around; once the got unstuck, they couldn't punch me through the panes.) This could perhaps indicate that the zombies are actually somehow inside that glass pane. |
| Comment by Paul Davis [ 07/Feb/13 ] |
|
I can confirm it does work in the latest update. I made a cell with one wall made of glass panes. I removed a glass pane to bring the zombies I had spawned closer. after checking that they could hit me (I let one hit me) I replaced the glass pane. the wall was now solid, and walking right up to the glass pane made the zombie hit me again. |
| Comment by Tails [ 05/Feb/13 ] |
|
Unable to reproduce. Not even cave spiders are able to poison me through glass panes. |
| Comment by Paul Davis [ 05/Feb/13 ] |
|
Changed it, confirmed for the latest release. |
| Comment by Paul Davis [ 31/Oct/12 ] |
|
Thanks, this is my first bug report, so I was just hoping I'd done it right. |
| Comment by Do [ 30/Oct/12 ] |
|
Nice bug report. Don't worry about duplication across projects. |
| Comment by Robbie Lee [ 30/Oct/12 ] |
|
This happens to me too |