mojira.dev
MCPE-157773

If you summon an unnamed npc and then name it and enter the npc name given to the command [name="NPC's NAME"], the command does not recognize the npc.

If you summon an unnamed npc and then name it and enter the npc name given to the command [name="NPC's NAME"], the command does not recognize the npc. In the past, the command could recognize npc's name but now the command only can recognize that was named npc when it was summoned.

Steps of Reproduce

  1. Summon a npc

  2. Name the npc

  3. Type [name="NPC's NAME"] in a command

Expected results

The command can recognize the npc.

Observed results

The command cannot recognize the npc.

Linked issues

Comments 3

The floating name on the top of the npc's head is not the real name, the real name is the name used when summoning with "/summon", or the name of the item "spawn_egg" named with the anvil

Can confirm on Windows 10.

@yuan_xi When you summon an NPC with a name, that name also gets carried over to the name above its head, indicating that that is the NPC's real name. I believe there shouldn't be two different names for the NPC.

Thank you for your report!
We're tracking this issue in MCPE-124633, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

Chessmania6724

(Unassigned)

Unconfirmed

Multiple

commands, education-edition, npc

1.19.0, 1.19.2 Hotfix

Retrieved