mojira.dev
MC-161185

summoning a commandblock with a command to summon a FallingSand

when i try to summon a command block that has a summon command for another command block in it it will say:

expected '}' at position 241: ...te:{Name:"<-[HERE]

even if all the caps are in place?

you can recreate it with this

/summon falling_block ~2 ~ ~ {BlockState:{Name:"minecraft:redstone_block",Time:1,Passengers:[{id:"minecraft:falling_block",BlockState:{Name:"minecraft:command_block"},TileEntityData:{Command:"/summon falling_block ~2 ~ ~ {BlockState:{Name:"minecraft:redstone_block"},Time:1}"},Time:1}]}

it's weird that the first command block cares for an optional thing in a summoned object,

if you made a typo in the summoned command blocks command, it sould still be summoned.

because it's just text that should be included in the block

Comments 6

Your command is invalid. Check https://minecraft.gamepedia.com/Commands if you need help with commands.

the command I pasted in is displayed in a wierd way and does not dysfunktion in the right way.

You have not escaped the Command values properly. That makes your command invalid.

the command inside the summoned command block works on it's own

Your command is still incorrect. This is a valid command:

/summon falling_block ~2 ~ ~ {BlockState:{Name:"minecraft:redstone_block",Time:1,Passengers:[{id:"minecraft:falling_block",BlockState:{Name:"minecraft:command_block"},TileEntityData:{Command:"/summon falling_block ~2 ~ ~ {BlockState:{Name:\"minecraft:redstone_block\"},Time:1}"},Time:1}]}

More information here: https://minecraft.gamepedia.com/Commands#Data_tags

thank you i only now get it

Bjarne Crone Søllner

(Unassigned)

Unconfirmed

(Unassigned)

Commands, commands, falling_block, fallingsand, summon

1.14.4

Retrieved