mojira.dev
MC-259443

Gamerule commandModificationBlockLimit does not apply to execute if blocks

The commandModificationBlockLimit gamerule does not apply to the /execute if blocks command.

Attachments

Comments 5

23w03a snapshot article does state:

"GAME RULES

  • Added commandModificationBlockLimit, controlling the maximum number of blocks changed in one execution of clone, fill and fillbiome"

if blocks is not a modification.

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. 🙂

This is a feature request. Please send feedback to feedback.minecraft.net.

AlexWithADuck

(Unassigned)

Confirmed

Commands

23w04a, 23w05a

Retrieved