Editing Armor Stand Properties

Editing Armor Stand Properties - Concentrated woman carrying stack of cardboard boxes for relocation

Is it possible to change the lifetime of an armor stand like an item? Such as whenever it is placed, it dies two seconds after. I have already searched on Google, but didn't find anything.



Best Answer

Since Armor Stands don't have a natural despawn condition this can be done using scoreboards.

First execute this command once for setup:

/scoreboard objectives add despawn dummy DespawnTimer

This sets up a new dummy stat called DespawnTimer.

Next, set up a fill or setblock clock and attach 2 command blocks to it. Put these commands in the blocks:

/scoreboard players add @e[type=ArmorStand] despawn 1

/kill @e[type=ArmorStand,score_despawn_min=40]

This will increase the "despawn" score of all armorstands once per tick (1/20 second) and kill the armorstand after 40 or more ticks (40/20 or 2 seconds).




Pictures about "Editing Armor Stand Properties"

Editing Armor Stand Properties - Interior of room with big glass doors tables and guitar on floor stand
Editing Armor Stand Properties - Man cleaning hands with towel while doing household works
Editing Armor Stand Properties - Couple dancing in light room near curtains



How do you customize armor stands?

How to use
  • Hold the editing tool in your main hand. ( flint by default)
  • Left/right click away from an armor stand to open menu.
  • Select the labeled menu options.
  • Left/Right Click the armor stand with the tool in hand to apply those options.


  • How do you use the armor stand editor?

    Bedrock Exclusive: Armor Stands can change poses, either by sending a Redstone signal into it, or by pushing the Pose button (available when crouching and looking at the Armor Stand).



    Armor Stand Editor Tutorial




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Andrea Piacquadio, Skylar Kang, Enric Cruz López, Gary Barnes