Beta
Static
doesBeta
The volume to test against
The world block location to test
If the location is either inside or more than 0 blocks away, the function will return false. If the location is directly contacting the outer surface of the BlockVolume, the function will return true.
Static
doesBeta
The volume to test against
The volume to test
If the outer faces of both block volumes touch and are directly adjacent at any point, return true.
Static
equalsBeta
Return true if two block volumes are identical
Static
getBeta
Fetch a BlockLocationIterator that represents all of the block world locations within the specified volume
This function can't be called in read-only mode.
Static
getBeta
Return a BoundingBox object which represents the validated min and max coordinates of the volume
This function can't be called in read-only mode.
Static
getStatic
getStatic
getStatic
getBeta
Get a Vector3 object where each component represents the number of blocks along that axis
This function can't be called in read-only mode.
Static
intersectsStatic
isStatic
translateBeta
Amount of blocks to move by
Returns a new BlockVolume object which represents the new volume
Block Volume Utils is a utility class that provides a number of useful functions for the creation and utility of @minecraft-server.BlockVolume objects