When summoning ArmorStand with the Invisible tag, it can't be hit
Command used:
/summon ArmorStand ~ ~ ~ {Invisible:1}
Linked issues
Attachments
Comments 22
Still present in 14w32d. It should also be noted that not even players in creative mode can destroy it.
WAI per Searge from MC-66068:
Invisible armor stand can't be destroyed by hitting them.
@unknown Could you please elaborate why this poses an issue for you?
1) Does setting the Invisibility-tag back to true to see (and thus punch/destroy) Marker-false-AS not suffice?
2) Or is it Marker-true-AS where you want a change, that even Invisible-true-Marker-true-AS can be punched?
If 2), only Creative gamemode, or also Survival?
This bugpost here is a duplicate, but depending on what your exact issue is, is where people here could point you, be it Mojira Reddit, Suggestion Reddit, or, if it'd be a true issue for mapmakers, potentially then a new bugpost.
1. Setting Invisible:1b automatically makes the AS invulnerable regardless of any other tag put on it, even Invulnerable:0b . It is immune to all damage, and creative & survival players can't damage them.
2. Invulnerable:0b should make the AS able to take damage.
As long as that AS has its Marker set to false, but is invisible, I agree that it should be hypothetically damageable, as this would be an easy way how mapmakers could use them to create e.g. some form of mob without the AS showing optically, or the need to somehow cover the exterior of the AS with models, or a retexture of the AS texture PNG (= using only Vanilla pack).
"Invisible" is used a lot in the code (various things depend on it), so there might be a good reason it behaves like that for AS, and it could also be that mapmakers rely on the as-is-behaviour, and changing this would break some of what they created.
If you can think of extremely good reasons to have Mojang touch that code, so they would consider revising it, then you could give it a shot and open a new bugpost. But no promises it won't be closed as WaI.
Imo it should not be closed at least as Invalid/suggestion, as it seems like an inconsistency, considering AS are entities (imo they should not be part of EntityLiving at all though), and you can also hit e.g. an invisible spider; however, AS have always been quite funky and special, and up to this day there might be a fair amount of mapmakers relying on them, in one way or another, so changing anything about them would imo have to outweigh by a lot the problems that change could in theory cause.
If you open a new bugpost for this, I'd emphasize on the apparent inconsistency with other invisible entities, and also make it clear it's solely about AS with Marker false, or else it might be closed rightaway as Invalid/suggestion, but I have no idea how the Mojira mods here will handle this case.
Good luck!
@unknown marked MC-66068, which this report is resolved as a duplicate of, as Works as Intended. Any new reports would also be resolved as duplicates of MC-66068. The bug tracker is simply not the correct avenue to convince Mojang to change this, and I would recommend pursuing other means of building support for such a change, such as the feedback site or the suggestions subreddit.
@unknown I can see where you're coming from, and usually I'd fully agree, but I learnt from an insightful comment-reply of yours here on the bugtracker years ago that not everything that gets resolved as "WaI" won't hypothetically ever be fixed - sometimes it can be that at that point in time it couldn't be fixed due to the state of the code for example, but that it could be revisited later, which is also what I've read from Devs. We all know that things can change in Minecraft over the years, and that "WaI" or "Won't Fix" is not set into stone, and if this change would benefit mapmakers, this should be taken into consideration, even more so considering this seems to be an inconsistency as I tried to explain in my previous comment, and Mojang seems to not be adverse towards fixing inconsistencies.
On the other hand, I can see how changing this could potentially affect other parts negatively, and thus I won't continue to argue 🙂
Just trying to explain a different perspective on this, and that others, who'd bump into this bugpost would not potentially be aggravated towards a decision Mojang or you Mojira-mods did, or at least can understand the reasons, why. Uncertainty and assumptions often lead to disappointment and sometimes even hate, toxic criticism, more or less hidden from public, which can accumulate, whereas knowledge, background intel, can hypothetically lead to an understanding and may lead to constructive criticism as well as input (e.g. on the suggestion website).
If you truly can't see hope for such a bugpost due to the aforementioned reasons (potential benefit, apparent inconsistency, changes of the code and potential new fixes over time), then, of course, the only way remaining for @unknown would be to make a suggestion.
confirmed