command block setblock doesn't work if the comand inside has a "
I am doing a setblock of a command block with a command inside but I noticed that if the command inside had " in it , it wouldn't work.
command :
/setblock ~0 ~ ~ minecraft:repeating_command_block[facing=up]{Command:"execute if entity @a[scores={animalsBred=10000..},tag=!proceeded1] run tellraw @a ["",{"text":"GG a "},{"selector":"@a[scores={animalsBred=10000..},tag=!proceeded1]"},{"text":" pour avoir remplis l'objectif de la stat animalsBred"}]"}
Environment
Minecraft JAVA edition on 1.13-PRE3
(if usefull) NVIDIA GPU and AMD CPU
Created Issue:
command block setblock doesn't work if the comand inside has a "
I am doing a setblock of a command block with a command inside but I noticed that if tha command inside had " in it , it wouldn't work.
command :
/setblock ~0 ~ ~ minecraft:repeating_command_block[facing=up]{Command:"execute if entity @a[scores={animalsBred=10000..},tag=!proceeded1] run tellraw @a ["",{"text":"GG a "},{"selector":"@a[scores={animalsBred=10000..},tag=!proceeded1]"},{"text":" pour avoir remplis l'objectif de la stat animalsBred"}]"} Environment
Minecraft JAVA edition on 1.13-PRE3
(if usefull) NVIDIA GPU and AMD CPU
I am doing a setblock of a command block with a command inside but I noticed that if tha command inside had " in it , it wouldn't work.
command :
/setblock ~0 ~ ~ minecraft:repeating_command_block[facing=up]{Command:"execute if entity @a[scores={animalsBred=10000..},tag=!proceeded1] run tellraw @a ["",{"text":"GG a "},{"selector":"@a[scores={animalsBred=10000..},tag=!proceeded1]"},{"text":" pour avoir remplis l'objectif de la stat animalsBred"}]"} I am doing a setblock of a command block with a command inside but I noticed that if tha command inside had " in it , it wouldn't work.
command :
/setblock ~0 ~ ~ minecraft:repeating_command_block[facing=up]\{Command:"execute if entity @a[scores={animalsBred=10000..},tag=!proceeded1] run tellraw @a ["",\{"text":"GG a "},\{"selector":"@a[scores={animalsBred=10000..},tag=!proceeded1]"},\{"text":" pour avoir remplis l'objectif de la stat animalsBred"}]"}
I am doing a setblock of a command block with a command inside but I noticed that if tha command inside had " in it , it wouldn't work.
command :
/setblock ~0 ~ ~ minecraft:repeating_command_block[facing=up]\{Command:"execute if entity @a[scores={animalsBred=10000..},tag=!proceeded1] run tellraw @a ["",\{"text":"GG a "},\{"selector":"@a[scores={animalsBred=10000..},tag=!proceeded1]"},\{"text":" pour avoir remplis l'objectif de la stat animalsBred"}]"}
I am doing a setblock of a command block with a command inside but I noticed that if tha command inside had " in it , it wouldn't work.
command :
/setblock ~0 ~ ~ minecraft:repeating_command_block[facing=up]\{Command:"execute if entity @a[scores={animalsBred=10000..},tag=!proceeded1] run tellraw @a ["",{"text":"GG a "},{"selector":"@a[scores={animalsBred=10000..},tag=!proceeded1]"},{"text":" pour avoir remplis l'objectif de la stat animalsBred"}]"}
Ones not zones
I am doing a setblock of a command block with a command inside but I noticed that if th
acommand inside had " in it , it wouldn't work.
command :
/setblock ~0 ~ ~ minecraft:repeating_command_block[facing=up]{Command:"execute if entity @a[scores={animalsBred=10000..},tag=!proceeded1] run tellraw @a ["",{"text":"GG a "},{"selector":"@a[scores={animalsBred=10000..},tag=!proceeded1]"},{"text":" pour avoir remplis l'objectif de la stat animalsBred"}]"}I am doing a setblock of a command block with a command inside but I noticed that if the command inside had " in it , it wouldn't work.
command :
/setblock ~0 ~ ~ minecraft:repeating_command_block[facing=up]{Command:"execute if entity @a[scores={animalsBred=10000..},tag=!proceeded1] run tellraw @a ["",{"text":"GG a "},{"selector":"@a[scores={animalsBred=10000..},tag=!proceeded1]"},{"text":" pour avoir remplis l'objectif de la stat animalsBred"}]"}
Escape the quotation marks with backslashes.
I dont really understand which quotation marks, the ones in the tellraw or the Command:" one.