How can I kill all other entities except for tamed wolves and players? [duplicate]
//ads -- adsterra.com -- native banner
?>
I use this command kill @e[type=!Player] to kill everything except for players, but does anyone know how to make it not kill tamed wolves/dogs as well as players?
Best Answer
Similarly to how you are doing it for player. Both wolves and dogs have the same entity name, "Wolf", so use this:
/kill @e[type=!Wolf]
Note: Keep in mind that this targets everything except wolves, which means that it kills all players (which was what OP's original question asked before the eidt).
Pictures about "How can I kill all other entities except for tamed wolves and players? [duplicate]"
![How can I kill all other entities except for tamed wolves and players? [duplicate] - Book On A White Wooden Table How can I kill all other entities except for tamed wolves and players? [duplicate] - Book On A White Wooden Table](/assets/images/how_can_i_kill_all_other_entities_except_for_tamed_wolves_and_players_duplicate_1.jpeg)
![How can I kill all other entities except for tamed wolves and players? [duplicate] - Books On The Table How can I kill all other entities except for tamed wolves and players? [duplicate] - Books On The Table](/assets/images/how_can_i_kill_all_other_entities_except_for_tamed_wolves_and_players_duplicate_2.jpeg)
![How can I kill all other entities except for tamed wolves and players? [duplicate] - Halloween Candies How can I kill all other entities except for tamed wolves and players? [duplicate] - Halloween Candies](/assets/images/how_can_i_kill_all_other_entities_except_for_tamed_wolves_and_players_duplicate_3.png)
Is there a command to kill all mobs in Minecraft?
If you are trying to kill every mobs in different Minecraft Biomes except yourself, type the command /kill @e[type=! player].How do you delete all entities in Minecraft?
First, type /kill @e[type=item] in the chat and press enter to remove all dropped items in your Minecraft world instantly. However, you will need to have operator status and enable cheats in your world for this command to work.What is the command to kill all horses in Minecraft?
If you want to kill every zombie in the world, use /kill @e[type=Zombie] In your case, you want to kill all horses, so you'd use the command /kill @e[type=EntityHorse] . This can be applied to any entity in a world that you want to kill.How do I stop my dog attacking other players in Minecraft?
Tamed wolves will never attack fellow players, unless your fellow players attack them first. In short, tell your teammate to stop punching your dogs, and you'll be fine.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: Matheus Bertelli, Ylanite Koppens, Ylanite Koppens, Kristina Paukshtite
