how do I setblock a repeating chain command block? | Minecraft [closed]

I really don't know about the setblock command but a repeating command block can be given with commands as repeating_command_block. You'll need a redstone block or redstone torch adjacent to the command block when it spawns so it can get power. So, like:

/setblock x y z minecraft:repeating_command_block

And then have a redstone block right next to the actual coordinate.

Hope this helps!


There isn't a 'repeating chain command block', whatever that entails. What you seem to want to do is place a repeating one adjacent to a chain one. Then, if there is no command in the repeating one, you use it to create starting impulses for the chain one. Thus, you get a chain command block that repeats its command every 20 t/sec, which is what I understand to be what you need. Not sure as to why you'd need something like that, though.