mojira.dev
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.

Linked issues

Attachments

Comments 2

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Stefano

(Unassigned)

Unconfirmed

CustomName, JSON, selector-syntax-help

Minecraft 1.13-pre6

Retrieved