If you set the commandModificationBlockLimit gamerule to 0 and try to use a fill command to only change one block, it will not work, as expected. But if you use a setblock command instead, it will still work, bypassing the set limit.
Steps to reproduce:
Set the commandModificationBlockLimit gamerule to 0
Run "/setblock ~ ~ ~ stone"
❌ The block is placed
What I expected:
"Too many blocks in the specified area (maximum 0, specified 1)"
What I observed:
1 block is placed, bypassing the set limit of 0
To see the gamerule functioning properly:
Set the commandModificationBlockLimit gamerule to 0
Run "/fill ~ ~ ~ ~ ~ ~ stone"
✔ It throws an error ("Too many blocks in the specified area (maximum 0, specified 1)")
Attachments
Comments 3
Thank you for your report!
However, this issue is Invalid.
You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit Minecraft Suggestions on Reddit or visit the Feedback website.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
The changelog explicitly stated it's for fill and clone. Setblock was not mentioned.