Mojira Archive
MC-132887

Selector not working with /summon

I found an issue with the new strict json in the CustomName tag.

/summon minecraft:pig ~ ~ ~ {CustomName:"{\"selector\":\"@s\"}"}

I ran this command in game chat and it summoned a pig with name @s instead of my name, didn't work either for @p. I attached a screenshot if this is not clear.

Duplicate

Stefano

2018-07-06, 04:09 PM

2018-07-06, 04:23 PM

2018-07-06, 04:12 PM

0

0

Unconfirmed

CustomName, JSON, selector-syntax-help

Minecraft 1.13-pre6

-