Armorstands detection destroyed by scoreboard?

Ja
7

How can I count how many Armorstand are destroyed with a scoreboard in Minecraft?

Te

You can create a listener via the EntityDeathEvent and query it as to whether the destroyed entity is an armorstand. If this condition is true, you can, for example, save the number of destroyed armorstands via a YamlConfiguration or something similar. You can then display this value via the YamlConfiguration or similar in the scoreboard.

Ja

Why doesn't that just work with Broken or Killed?

Te

What do you think? Do you mean the BlockBreakEvent? An armorstand is not a block, but an entity, so the event is only triggered via the EntityDeathEvent.

Ja

I mean / scoreboard objectives add xyz minecraft.broken / killed: minecraft.armor_stand I don't know what blockbreakevent is never heard of?

Te

Ahh, sorry thought it was about Spigot / Bukkit (Minecraft plugin) development. As far as I know, what you want to do is not possible without plugins, but to be honest I have no idea about the command you want to use.

Ja

Okay, thank you anyway

an

The question sounds like commands to me, not plugin development. "Per scoreboard" is typical of command logic.