0

I'm making a map where armor stands can move towards you, and I need help with a command. Is it possible to remove a certain armor stand with a command? If it is, I need the command.

2
  • 1
    What armorstand do you want to remove? Is it one at a specific location? Or one wearing something specific? Or one named something?
    – SirBenet
    Dec 27, 2014 at 1:37
  • 1
    @colorfusion At a specific location Dec 27, 2014 at 1:46

3 Answers 3

3

To remove an armorstand at a specific location:

/kill @e[type=ArmorStand,x=XCOORD,y=YCOORD,z=ZCOORD,r=0,c=1]

Replace XCOORD, YCOORD and ZCOORD with its location.

1
  • Don't forget to mark @colorfusion's answer as the correct answer (faded tick under the down arrow)
    – aytimothy
    Dec 31, 2014 at 5:30
1

Assuming that this is not a fixed location I would suggest executing on the player:

/execute @a ~ ~ ~ kill @e[type=ArmorStand,r=5]

This will kill every armorstand within 5 blocks of the player

1
  • I prefer this over @SirBenet 's answer as entering coordiniates can be tedious.
    – 3ronco
    Aug 6, 2017 at 6:52
-1

You could name the armorStand and then /kill @e[type=ArmorStand,name=NAME] (That's with a lowercase 'n')

2
  • That assumes that he gave each armor stand a distinct name.
    – MBraedley
    Dec 27, 2014 at 16:02
  • That just killed every mob on the game. Dec 27, 2014 at 17:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .