Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Tests whether the blocks in two regions match.
Permission Level | Game Directors |
---|---|
Requires Cheats? | Yes |
Usage
Test for blocks
/testforblocks <begin: x y z> <end: x y z> <destination: x y z> [mode: TestForBlocksMode]
Test whether the blocks in one area defined by begin
and end
match the blocks in a destination
with an optional test for blocks mode
.
Arguments
begin: x y z
: position Avector
[x y z] that along withend
of two opposite corners of a rectangular region to test for.destination: x y z
: position Required. Avector
[x y z] of the lower northwest corner to test for.end: x y z
: position Required. Avector
[x y z] that along withbegin
of two opposite corners of a rectangular region to test for.mode
: TestForBlocksMode Optional. Eithermasked
where air blocks will match any destination, or defaultall
which matches all blocks including air.
Enums
TestForBlocksMode
Enum of Test for Blocks Modes
Values
masked
Maskedall
All