mojira.dev
MC-48047

/kill not working on specific item entities

When trying to kill specific item entities with : kill @e[type=Item] {Item:{id:minecraft:<item>}}, a command block will come up with an error saying: You must specify which player you wish to perform this action on. If an OP attempts to use this command, they will be killed as if they just typed in: /kill. Removing the dataTag will cause the command to kill all item entities in the world. Replacing /kill with /testfor will cause the command block to recognize specific items without similar trouble, as shown in the screenshots below.

Linked issues

Attachments

Comments 3

Add:
When there are entitys nearby, the player is killed many time as the number of entitys, but if there is no entitys, the command doesn't seems to work. And still in 14w11b

Brendan Thompson

(Unassigned)

Unconfirmed

Minecraft 14w06b

Retrieved