max_block_modifications
integerJava 26.2 onlySets 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 102432768DefaultThe Minecraft default: up to 32,768 block changes per command.
Java
/gamerule max_block_modifications 32768524288Large buildsAllows very large /fill volumes in a single command.
Java
/gamerule max_block_modifications 524288Default: 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.