Armor stand removed when player hits it
Armor stand can't be removed by player, it was possible back in Paper version 173
spawn invisible armorstand
/summon minecraft:armor_stand ~ ~ ~ {Invisible:true}
nothing
This server is running Paper version git-Paper-183 (MC: 1.14.4) (Implementing API version 1.14.4-R0.1-SNAPSHOT)
Can confirm. Likely caused from this upstream commit.
Edit: Yup, the bD field is used for invisiblity, so invisible armorstands are not receiving damage.
So it's a spigot bug? I have to report it to spigot jira?
This surely would break a lot of plugins.. do you have any advice to fix my plugin since this seems to be a new introduced feature and not a bug? I need to detect players trying to break invisible armorstand
It's not intended, it's a bug.
SPIGOT-5290: Invulnerable and/or Marker armor stand triggers EntityDamageEvent
I think they added this as a feature
Invisibility is not part of that feature
Oh sorry I misread Invulnerable, so I have to report this to official Spigot jira?
Doesn't it make sense if something in invis you can't dmg it?
Doesn't it make sense if something in invis you can't dmg it?
No, because you can hit every other invisible entity in the game. Think about those invisible spiders that spawn in hard mode.. ;)
I'm trying to fix this, if my local Paper clone will behave :S
Doesn't it make sense if something in invis you can't dmg it?
No, because you can hit every other invisible entity in the game. Think about those invisible spiders that spawn in hard mode.. ;)
You can still see them tho, they aren't fully invisible. Armour stands are completely not there at all, anything else that can go invis has particles/sounds/some part visible. I don't think it'll be changed in Spigot back to what it normally was.
Are you sure this is a bug? Check in single player.
As far as I remember, invisible armor stand can only summoned with a command and deleted with the other command (/minecraft:kill @e and specify type and coords)
Sorry for bad english :D
Are you sure this is a bug? Check in single player.
As far as I remember, invisible armor stand can only summoned with a command and deleted with the other command (/minecraft:kill @e and specify type and coords)
Sorry for bad english :D
Its never worked like that in vanilla/SP, Spigot just finally got around to fixing it seems and people complaining because they used a bug for their plugin.
Ok so how can I detect players trying to remove an invisible armorstand? Without EntityDamageEvent I can't check if a user can destroy or not the furniture.
If anyone's interested I ended up using packets to detect this behaviour, but I still hope spigot will have a leftclick event implemented.
https://www.spigotmc.org/threads/check-if-armorstand-is-left-clicked-by-player.394264/#post-3542242
I have the same problem! my plugins with armor-stand have stopped working because events are not activated! EntityDamageEvent etc ... because they are invisible now the user cannot remove them! please why are you doing these things? Fixing this is not invulnerable if you are invisible or do not have to activate events please! fix this thanks!
Given Spigot has resovled it can we confirm Paper has fixed it? https://hub.spigotmc.org/jira/browse/SPIGOT-5309
Fixed by upstream, event is now fired as cancelled for this