mojira.dev
MCPE-135716

Renaming players with GameTest will not allow you to target

When using gametest to rename players you can't select them using

  1. rename player using <player>.nameTag = "new name"

  2. /testfor RomanMender3164{{}}

  3. will say no matching selectors

Linked issues

Comments 5

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Is this still an issue in the latest version? If yes, can you please add it to the affected versions (or mention it if you are not the reporter)?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

still a Problem with 1.18.10

Can you please provide more detailed steps for how to rename a player?

This ticket will automatically reopen when you reply.

  1. Get the PlayerData of a player. Eg: world.getPlayers()

  2. Change the nameTag: player.nameTag="TestName"

  3. Try to teleport that player via chat command: /tp "(Gamertag)" @s

Jack Triff

(Unassigned)

747295

Confirmed

Multiple

Win 10, 19042.1110

1.17.10, 1.18.10

Retrieved