-
Bug
-
Resolution: Duplicate
-
None
-
Minecraft 1.13.2, Minecraft 18w43b
-
MacOS
-
Unconfirmed
Selectors and scores don't work in the "CustomName" nbt tag of entities.
Steps to reproduce for selectors:
- /summon minecraft:armor_stand ~ ~ ~ {CustomName:"
{\"selector\":\"@p\"}
",CustomNameVisible:true}
- Look at the entity's name, it will say "@p" instead of you own username (see attached screenshot with "@p" in it). In other words it takes @p literally instead of as a selector. It does however accept "selector" as a valid argument, try changing the word "selector" in the command to a random word like "cake" and it will fail, this is why I think it is a bug opposed to a missing feature.
Steps to reproduce for scores:
- /scoreboard objectives add test dummy
- /scoreboard players set @p test 100
- /summon minecraft:armor_stand ~ ~ ~ {CustomName:"{\"score\":{\"name\":\"@p\",\"objective\":\"test\"}}",CustomNameVisible:1b}
- Look at the entity's name, and it will be a blank tiny width name tag (see other attached screenshot), not literal text like the last. Again changing the word "score" to a random word will produce an error.
- duplicates
-
MC-131328 The "score" and "selector" text component isn't being applied properly in all cases
- Resolved