I have a command block in Minecraft. This should place another command block. But the command must be there, which is at the bottom from "Command:".
The problem is: The command block says in the game that there's an error after the second quotation mark ("). According to the game, there should be a bracket}. But if I do that, the command is broken and no longer works.
So the question is: how can I fix / resolve this?
setblock -241 107 -134 minecraft: repeating_command_block {Command: "execute at @p [gamemode = creative] run fill ~ 6 ~ 6 ~ 6 ~ -6 ~ -6 ~ -6 minecraft: acacia_sign {Text1: '{" text ": "", "clickEvent": {"action": "run_command", "value": "tp @p -149 253 -217"}} ', Text2:' {"text": "Klick Mich \\ u2639", "clickEvent": {"action": "run_command", "value": "setblock ~ ~ ~ air"}, "underlined": true, "color": "red"} '} replace minecraft: command_block ", auto:1}
Try the text: remove the quotation marks
And where did you get the order from?
I developed it myself
Your quotation marks within the outer (or the first and last double quotation marks) must be escaped. It will probably work with the backslash.
\ "text \": \ "\",
etc…