This would allow you to check if all the bocks within the area are that specific block. This would allow checking of areas without having to set aside a space that players cannot get to for checking.
Format would be as follows
/execute if blocks ~ ~ ~ ~10 ~10 ~10 minecraft:air
Please sign in to leave a comment.