mojira.dev
MCPE-24132

@e[name=...] doesn't work correctly!!

if you spawn ,for example, a cow and name it 'daisy' with a nametag and then you do the command '/testfor @e[type=cow, name= daisy]' it will find the cow!
Now if you rename the spawnegg in an anvil and you spawn the cow with the named spawnegg and you do again the command '/testfor @e[type=cow, name= daisy]' it will not find the cow!!!

Plz fix this BUG because it will be helpful in command block machines!!!

Thank you Mojang Team,
nikoskon

Linked issues

Comments 4

Try put /testfor @e[name="daisy"] Instead of just /testfor @e[name=daisy]

Try put /testfor @e[name="daisy"] Instead of just /testfor @e[name=daisy]

Herbet im not trying to find items but named mobs spawned from a spawnegg named, not naming them with nametag or the name of the item!

Herbet im not trying to find items but named mobs spawned from a spawnegg named, not naming them with nametag or the name of the item!

nikos kon

(Unassigned)

Unconfirmed

Windows

all

1.1.4.51, 1.2.0.2

Retrieved