Minecraft – How to /setblock a powered repeater

minecraft-commandsminecraft-java-editionminecraft-redstone

Trying to /setblock a powered repeater, my questions are:

  1. How do I setblock a powered repeater?

  2. If I setblock a powered repeater, will it take 1 tick to power the block in front of it or will it instantly power the block in front of it (on the same tick that the repeater is set)?

  3. I'm trying to setblock a redstone device that both powers the block in front of it and unpowers itself the tick after it is set – should I use powered repeaters or powered comparators?

Best Answer

I am not sure you can, but you could just /setblock a repeater in front of a redstone block. Or you could use /data to modify its NBT data.