[MCPE-24132] @e[name=...] doesn't work correctly!! Created: 02/Aug/17  Updated: 05/Aug/21  Resolved: 22/Mar/18

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 1.1.4.51, 1.2.0.2
Fix Version/s: None

Type: Bug
Reporter: nikos kon
Resolution: Duplicate Votes: 1
Labels: None

Issue Links:
Duplicate
duplicates MCPE-18055 Renamed Spawned Eggs Do Not Apply Nam... Resolved
Confirmation Status: Unconfirmed
Platform: Windows

 Description   

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



 Comments   
Comment by nikos kon [ 02/Aug/17 ]

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!

Comment by Nevan John Thomas [ 02/Aug/17 ]

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

Generated at Sat Jan 11 15:41:28 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.