The commandModificationBlockLimit gamerule does not apply to the /execute if blocks command.
Attachments
Comments 5
That makes total sense, but the same result can be achieved using /execute store result score result score run clone ~ ~ ~ ~32 ~32 ~32 [somewhere] masked
The whole purpose of /execute if blocks is to check for/count blocks in an area without altering the world and then run other commands based on the result.
Having to use /clone when there is an /execute subcommand dedicated to doing the same thing faster because it's still limited by block count while any other command isn't makes /execute if blocks useless in that regard.
Screenshots attached
Confirmed and leaving this open for Mojang declaration on whether this is functioning as intended or not; better to be safe than sorry, just in case. 🙂
23w03a snapshot article does state:
"GAME RULES
Added
commandModificationBlockLimit
, controlling the maximum number of blocks changed in one execution ofclone
,fill
andfillbiome
"