Updated:

Command modification block limit game rule (max_block_modifications)

The "Command modification block limit" rule is called max_block_modifications in Java 1.21.11 and later, and commandModificationBlockLimit in 1.21.10 and earlier. Sets the most blocks a single /fill, /clone or similar command can change.

Basic data

NameCommand modification block limit
Rule name (Java 1.21.11+)max_block_modifications
Old name (Java 1.21.10 and earlier)commandModificationBlockLimit
Bedrock nameNo rule with the same name
Value typeInteger
Default32768

Commands you can copy

Set to 100000

/gamerule max_block_modifications 100000

Reset to the default (32768)

/gamerule max_block_modifications 32768

Check the current value

/gamerule max_block_modifications

Java 1.21.10 and earlier

/gamerule commandModificationBlockLimit 100000

Notes

Questions

Typing commandModificationBlockLimit gives an error

In Java 1.21.11 and later the rule is called max_block_modifications. Write /gamerule max_block_modifications … instead. Worlds on 1.21.10 and earlier keep the old name.

How do I check the current value?

Run /gamerule max_block_modifications without a value. The current value is shown in chat.

Other game rules