public interface VoxelShape
Modifier and Type | Method and Description |
---|---|
Collection<BoundingBox> |
getBoundingBoxes()
Converts this shape into a collection of
BoundingBox equivalent
to the shape: a bounding box intersects with this block shape if it
intersects with any of the shape's bounding boxes. |
boolean |
overlaps(BoundingBox other)
Checks if the given bounding box intersects this block shape.
|
@NotNull Collection<BoundingBox> getBoundingBoxes()
BoundingBox
equivalent
to the shape: a bounding box intersects with this block shape if it
intersects with any of the shape's bounding boxes.boolean overlaps(@NotNull BoundingBox other)
other
- bounding box to testCopyright © 2022. All rights reserved.