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.

| improve this question | | | | |
  • 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 '14 at 1:37
  • 1
    @colorfusion At a specific location – Detroit Rock City Dec 27 '14 at 1:46
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.

| improve this answer | | | | |
  • Don't forget to mark @colorfusion's answer as the correct answer (faded tick under the down arrow) – aytimothy Dec 31 '14 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

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

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

| improve this answer | | | | |
  • That assumes that he gave each armor stand a distinct name. – MBraedley Dec 27 '14 at 16:02
  • That just killed every mob on the game. – Detroit Rock City Dec 27 '14 at 17:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.