Is it possible to remove a certain entitiy with a command block?
//ads -- adsterra.com -- native banner
?>
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.
Best Answer
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.
Pictures about "Is it possible to remove a certain entitiy with a command block?"



How do you get rid of a specific entity in Minecraft?
ExamplesHow do you kill a certain entity with commands?
Typing just /kill will kill every entity in a loaded area, including your armor, stands, minecarts, and even your own player. To prevent killing your own player, make sure to limit the command from killing yourself as well. For example, /kill @e[type=! player] will kill every entity except for your own player.How do I delete specific entities?
Select Entity Configuration in the Administration navigation menu, then click Delete Entities. In the Select Entities dialog box, select the entities that you want to delete and click Select. The selected entities are displayed on the Delete Entities page.How do you delete a specific block in Minecraft?
1 AnswerMinecraft| How to get rid specific Mobs?
More answers regarding is it possible to remove a certain entitiy with a command block?
Answer 2
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
Answer 3
You could name the armorStand and then /kill @e[type=ArmorStand,name=NAME] (That's with a lowercase 'n')
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Ivan Babydov, Sarah Chai, Sora Shimazaki, Ivan Babydov
