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, intersects
public BlockBoundingBox(org.bukkit.block.Block block)
block
- the blockpublic org.bukkit.util.Vector getSize()
BoundingBox
getSize
in class BoundingBox
Copyright © 2021. All rights reserved.