Skip to content
[/craft]

max_block_modifications

integerJava 26.2 only

Sets the maximum number of blocks that a single command (/fill, /setblock, etc.) can modify in one tick. Increasing this allows larger fill operations; lowering it protects server performance from oversized commands.

Common values

1024ConservativeLimits to 1,024 blocks — safe for laggy servers.
Java/gamerule max_block_modifications 1024
32768DefaultThe Minecraft default: up to 32,768 block changes per command.
Java/gamerule max_block_modifications 32768
524288Large buildsAllows very large /fill volumes in a single command.
Java/gamerule max_block_modifications 524288

Default: 32768. Restore with /gamerule max_block_modifications 32768

What max_block_modifications does

Sets the maximum number of blocks that a single command (/fill, /setblock, etc.) can modify in one tick. Increasing this allows larger fill operations; lowering it protects server performance from oversized commands.

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

Related gamerules

All Gamerule commandsJava vs Bedrock guide