mojira.dev
MC-109887

In Summoned Command Block's Command, \ Is Missing

In Summoned Command Block's Command, \ Is Missing

Command:

/summon falling_block ~ ~2 ~ {TileID:137,Time:1,TileEntityData:{Command:"/say \\"}}

Summoned Command Block's Command:

/say \

If

/say \\\\ -> /say \\
/say \\\\\\ -> /say \\\

Attachments

Comments 1

The backslash is an escape character allowing the bypass of other characters (namely quotation marks, as well as escape characters via your command) from breaking syntax and to instead be used literally.

For example, if you wanted to include a quotation mark as part of string data, you would have to escape it with a backslash:

Command:"/say Hello \"in\" quotes."

Since you escaped a backslash character, that next backslash will be used as a literal value.

송민제

(Unassigned)

Unconfirmed

Minecraft 1.10.2, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1

Retrieved