calculateVolume
Calculates the volume of a rectangular cuboid defined by two locations.
Return
The volume of the cuboid in block units.
Parameters
pos1
The first corner of the cuboid.
pos2
The opposite corner of the cuboid.
Calculates the volume of a rectangular cuboid defined by two locations.
The volume of the cuboid in block units.
The first corner of the cuboid.
The opposite corner of the cuboid.