Linked Questions

3
votes
1answer
28k views

Killing all entities except players and armor stands [duplicate]

Is there a way to kill every entity except players and armor stands? I've tried with /kill @e[type=!Player,!ArmorStand] and /kill @e[type=!Player;!ArmorStand] But it doesn't work. How can I do ...
-2
votes
1answer
12k views

How can I kill all other entities except for tamed wolves and players? [duplicate]

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?
-1
votes
1answer
4k views

What is the minecraft command to kill all mobs except players and villagers? [duplicate]

I want to make a command block to make sure that anything that spawns in a village, dies, except players and villagers. Please help me.
4
votes
3answers
1k views

How to select players who are not two specific players in Minecraft? [duplicate]

Say I want to have a command that applies to everyone on a server except 2 people. Is there a target selector for that?
0
votes
1answer
969 views

How do you kill all the entities that enter a certain radius except for villagers and players? [duplicate]

I have been trying to make a safezone for a map. I want to make it kill any mobs that come into the safezone except for villagers (for trading) and players within a certain radius. I have looked at ...
3
votes
1answer
521 views

How to tag two Players in one /testfor command? [duplicate]

I'm searching how to tag two Players using one /testfor command. I'm actually using this command which works for one person : /testfor @a[name=!<pseudo>,r=15] But it doesn't work for two ...
-3
votes
1answer
128 views

How to not kill more than 2 entities using /kill without using scoreboard in minecraft [duplicate]

I am trying to kill all entities that are not a player and a sheep called test catch but I can't use /kill @e[type=!Player,!sheep] so how could it be done WITHOUT scoreboard because I don't want to ...
-4
votes
1answer
347 views

How do I kill every entity except arrows and players? [duplicate]

I was trying to make a world where arrows, if shot at a player, will destroy items, but keep the player alive. However when I use the command /kill @e[type=!Player], the arrows will be destroyed.
-1
votes
1answer
177 views

Need help on /kill command an usage of @e [duplicate]

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. ...
-3
votes
1answer
126 views

Can you use multiple selectors for @e[type=!entity]? [duplicate]

If I can, Using the type=! Or, everything except selector, can I exclude multiple entities? My code is /execute @e[type=lightning_bolt] summon lightning_bolt. I also want to exclude the player.
13
votes
4answers
469k views

How do I use the /kill command to ONLY kill mobs?

I have a Redstone Power loop that connects to a Command Block that is set to kill all entities except for myself (/kill @e[type=!Player]), because I'm building a creative map, but don't want slimes ...
9
votes
4answers
377 views

How can I test my command block contraptions for multiplayer compatibiltiy?

I like making command block contraptions. Occasionally, I make a contraption that I want to use on a multiplayer server (or offer to server operators), but I don't know of a way to test that it'll ...
0
votes
2answers
2k views

Is there a way to make a visible health bar for mobs other than ender dragons and withers?

I would like to create other mobs that have health bars like the ones you see when fighting withers or the ender dragon; or like name tags that have health displayed. I want it to work for Minecraft 1....