getSurfaceAreaLocations
Calculates the locations on the surface of the cuboid defined by two positions.
The method returns a sequence of all Location objects that lie on the surface of the cuboid. The surface includes all blocks on any of the six faces.
Return
A sequence of Location objects that represent all positions on the surface of the cuboid.
Parameters
pos1
The first corner of the cuboid. Must belong to the same world as pos2.
pos2
The second corner of the cuboid. Must belong to the same world as pos1.
Throws
if either pos1 or pos2 does not have an associated world, or if the two locations belong to different worlds.