Place A Repeating Command Block
Create a repeating command block at your location
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Places a repeating command block that executes a command every redstone tick when powered. Repeating command blocks run continuously if powered, making them essential for automatic farms and redstone contraptions. They run in the order: repeating → chain → impulse.
/setblock ~ ~ ~ repeating_command_block39 characters
- Java: yes
- Bedrock: yes
- Command block: no
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste the command and press Enter.
- Right-click the block and add a command to execute.
- Power the block with redstone to make it run.
Related commands
Place a Command Block
Create a command block at your location for automation
Place A Chain Command Block
Create a chain command block for sequential command execution
Set a Single Block
Place one block at a specific spot
Place a Chest
Instantly place a chest at a specific location
Place a Zombie Mob Spawner
Place a working mob spawner that continuously spawns zombies
Set Sculk Sensor Block
Place a sculk sensor for redstone detection