1

Help with summong command blocks

TheGreatMelonn 8/11/19 4:36 am
102
8/11/2019 4:51 am
Im trying to run this command:
/setblock ~ ~1 ~ command_block{Command:'execute as @e[type=item] run data modify entity @s merge value {tag:{display:{Name:"{\"text\":\"test\"}"}}}'}
but it doesn't work. Does anybody have a solution?
Posted by
TheGreatMelonn
Level 1 : New Miner
1

  Have something to say?

JoinSign in

2

Hand-E
08/11/2019 4:51 am
Level 52 : Grandmaster Batman
Ah, yes... "summong". What a legendary word.
1
TheGreatMelonn
08/11/2019 4:37 am
Level 1 : New Miner
Nvm, I just had to double-escape some characters:

/setblock ~ ~1 ~ command_block{Command:'execute as @e[type=item] run data modify entity @s merge value {tag{display:{Name:"{\\"text\\":\\"test\\"}"}}}'}
1

Welcome