mojira.dev
MC-129967

/setblock with repeating command blocks doesn't work

Using the setblock command to place a repeating command block with a command inside of it. Only occurs when setting with a command in it. For example: "/setblock ~ ~ ~ minecraft:repeating_command_block" works but "/setblock ~ ~ ~ minecraft:repeating_command_block{Command:"/say hi"}" doesn't work

Comments 4

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Cannot reproduce. Works as expected.

Remember that in 1.13 change the format!
(same as the Give)

The correct way would be like this: "/setblock ~ ~1 ~ minecraft:repeating_command_block{Command:"/say hi"} destroy"

Anthony Cooper

(Unassigned)

Unconfirmed

Minecraft 18w20c

Retrieved