Package org.bukkit.util
Interface VoxelShape
public interface VoxelShape
A shape made out of voxels.
 For example, used to represent the detailed collision shape of blocks.
- 
Method SummaryModifier and TypeMethodDescriptionConverts this shape into a collection ofBoundingBoxequivalent to the shape: a bounding box intersects with this block shape if it intersects with any of the shape's bounding boxes.booleanoverlaps(BoundingBox other) Checks if the given bounding box intersects this block shape.
- 
Method Details- 
getBoundingBoxesConverts this shape into a collection ofBoundingBoxequivalent to the shape: a bounding box intersects with this block shape if it intersects with any of the shape's bounding boxes.- Returns:
- shape converted to bounding boxes
 
- 
overlapsChecks if the given bounding box intersects this block shape.- Parameters:
- other- bounding box to test
- Returns:
- true if other overlaps this, false otherwise
 
 
-