mojira.dev
MC-49267

Cannot have more than one target selector argument

I expected all three Creepers, Zombies and Skeletons to die when a command block got activated with the command "kill @e[type=Creeper,type=Skeleton,type=Zombie]"

But only the Zombie died

Steps to Reproduce:
1. spawn some different type of mobs in a loaded chunk
2. type in a command "/kill @e[type=mob1,type=mob2,type=mob3 etc.]"
3. Only the last type of mob in the command ex:'mob3' gets killed

Linked issues

Comments 1

This is how parameters work; the latest-existing parameter will always be the priority if there are multiple of it, so you cannot have more than one of the same parameter at a time. As such, feature requests should be made on the forums or on reddit.

Lim Jia Ming

(Unassigned)

Unconfirmed

Minecraft 14w08a

Retrieved