Skip to content
[/craft]

command_blocks_work

booleanJava 26.2 only

Controls whether command blocks execute their stored commands. When false, command blocks are silenced — they receive redstone signals but do not run any commands.

Enable command_blocks_work

Command blocks execute their commands normally when powered.

Java/gamerule command_blocks_work true

Disable command_blocks_work

Command blocks are inactive — they receive power but do not run commands.

Java/gamerule command_blocks_work false

Default: true. Restore with /gamerule command_blocks_work true

What command_blocks_work does

Controls whether command blocks execute their stored commands. When false, command blocks are silenced — they receive redstone signals but do not run any commands.

command_blocks_work is a Java Edition-only gamerule and is not available in Bedrock.

Related gamerules

All Gamerule commandsJava vs Bedrock guide