mojira.dev
MC-73398

Item data tags don't work on item entities

If I apply data tags to an item, and then drop it, the entity is not properly detected by using said data tags.

Example:
Item CMD:

give @p stick 1 0 {display:{Name:Wand}}

Detection CMD:

scoreboard players set @e[type=Item] shouldkill 1 {Item:{display:{Name:Wand}}}

Based on past experience this should work, but after various tests I have determined this is a bug.

Comments 2

I think you have to use:

{Item:{tag:{display:{Name:Wand}}}}

Just try it out and say if it worked 🙂

yeah, Morcono is right, so this bug is invalid

Connor Scialdone

(Unassigned)

Unconfirmed

Minecraft 1.8.1-pre2

Retrieved