mojira.dev
MC-123826

Renaming entities using commands doesn't work

/data merge entity @e[type=armor_stand,limit=1,sort=nearest] {CustomName:"Test"}
or
/data merge entity @e[type=villager,limit=1,sort=nearest] {CustomName:Willam}
shows what's in the attachment but does nothing else

Linked issues

Attachments

Comments 1

CustomName uses TextComponents now.

/data merge entity @e[type=armor_stand,limit=1,sort=nearest] {CustomName:"{\"text\":\"Test\"}"}

Big Meg

(Unassigned)

Unconfirmed

Minecraft 18w01a

Retrieved