Need help on /kill command an usage of @e [duplicate]
![Need help on /kill command an usage of @e [duplicate] - High angle of crop person holding hands with ethnic boy stuck in dirty puddle in poor village Need help on /kill command an usage of @e [duplicate] - High angle of crop person holding hands with ethnic boy stuck in dirty puddle in poor village](/assets/images/need_help_on_kill_command_an_usage_of_e_duplicate_0.jpeg)
Hi everybody I need some help with minecraft.
I an a command : /kill @e[type=!Player,ArmorStand]
and it didn't work
What I wanted : A command that kills every entity except ArmorStand and Players. Could someone help me?
Best Answer
Target selectors cannot accept multiple arguments of the same type.
To get around this, you should first create a dummy scoreboard objective like this:
/scoreboard objectives add Kill dummy
Then, in this order, run the following commands:
/scoreboard players set @e Kill 1
/scoreboard players set @e[type=ArmorStand] Kill 0
/scoreboard players set @a Kill 0
Now every entity that you want to kill should have a Kill score of 1, and Players/ArmorStands a kill score of 0.
All you have to do next is kill all entities with a kill score of at least 1:
/kill @e[score_Kill_min=1]
Pictures about "Need help on /kill command an usage of @e [duplicate]"
![Need help on /kill command an usage of @e [duplicate] - Concentrated child showing usage of gamepad to father while playing on game console and resting on sofa together with family Need help on /kill command an usage of @e [duplicate] - Concentrated child showing usage of gamepad to father while playing on game console and resting on sofa together with family](/assets/images/need_help_on_kill_command_an_usage_of_e_duplicate_1.jpeg)
![Need help on /kill command an usage of @e [duplicate] - Frustrated female driver in white t shirt and jeans sitting on ground near damaged car with hands on head during car travel in sunny summer day Need help on /kill command an usage of @e [duplicate] - Frustrated female driver in white t shirt and jeans sitting on ground near damaged car with hands on head during car travel in sunny summer day](/assets/images/need_help_on_kill_command_an_usage_of_e_duplicate_2.jpeg)
![Need help on /kill command an usage of @e [duplicate] - Homeless people in night shelter for homeless Need help on /kill command an usage of @e [duplicate] - Homeless people in night shelter for homeless](/assets/images/need_help_on_kill_command_an_usage_of_e_duplicate_3.jpeg)
What does kill @E mean in Minecraft?
To kill the player executing the command: kill @s. To kill the player Steve: kill Steve. To kill item entities: kill @e[type=item]How do you kill a specific item in Minecraft?
The kill command or \u201c/kill @e[type=item]\u201d can remove all the dropped items in the Minecraft world instantly. You'll need operator status and cheats to be enabled to use the kill command. If you want to clear all the dropped items within a specific radius, use the \u201c/kill @e[type=item, r=x]\u201d command.What is the command to kill mobs in Minecraft?
Using the Kill Command to Kill a Certain Mob Open the chat and type /kill @e[type=pillager] Hit Enter once you are sure the command is correct.How do you kill an 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.Kill Command Explained
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Ahmed akacha, Ketut Subiyanto, Gustavo Fring, Plato Terentev