mojira.dev
MC-123774

You cannot test for names with name= anymore

As the title already says, it will not succeed:

name="{\"text\":\"Test\"}"

and

name=Test

will not find anything, even when summoning an entity with that exact value for CustomName, or a player with that name is online.

Linked issues

Comments 5

It seems like summoning entities also requires custom names to be JSON compliant, but this makes no sense, and additionally does not find entities by name at all.

That is intentional.

Also won't allow to find players by name...

It simply does not work at all. Can confirm. Worked in 17w50a.

I was using the nbt selector when it didn't work in 18w01a 🙂

user-f2760

Nathan Adams

Confirmed

Minecraft 18w01a

Minecraft 18w02a

Retrieved