public class BlockBoundingBox extends BoundingBox
maxCorner, minCorner| Constructor and Description |
|---|
BlockBoundingBox(org.bukkit.block.Block block)
Creates a bounding box that is effectively the entire given block.
|
| Modifier and Type | Method and Description |
|---|---|
org.bukkit.util.Vector |
getSize()
Returns the displacement of the maximum corner from the minimum corner.
|
copyOf, fromCorners, fromPositionAndSize, intersects, intersectspublic BlockBoundingBox(org.bukkit.block.Block block)
block - the blockpublic org.bukkit.util.Vector getSize()
BoundingBoxgetSize in class BoundingBoxCopyright © 2021. All rights reserved.