I've been working on a machine and require the command to kill all Mooshrooms with a certain name and in a specific radius. I have tried:
/kill @e[type=Mooshroom,r=(radius),name=(name)]
/kill @e[type=Mushroom_Cow,r=(radius),name=(name)]
/kill @e[type=Mushroom_cow,r=(radius),name=(name)]
/kill @e[type=MushroomCow,r=(radius),name=(name)]
And none work. The command /kill @e[type=MushroomCow]
seems to work in chat, but not in command blocks.
Now, I don't actually mind about the name too much, so if anyone could tell me the command to just kill Mooshrooms within a certain radius, that would be great thanks!
Best Answer
The following command, which you have given in your question, should work:
If it does not, then it is not the command itself causing the problem. Make sure that:
(radius)
and(name)
with an integer number and string without spaces respectively, e.g:/kill @e[type=MushroomCow,r=10,name=Dave]