of
@NotNull
Creates a bounding box from two corner vectors.
Return
the bounding box
Since
1.15.2
Parameters
min
the minimum corner vector
max
the maximum corner vector
Creates a bounding box centered at the origin with the given dimensions.
Return
the centered bounding box
Since
1.15.2
Parameters
x
the width (X-axis)
y
the height (Y-axis)
z
the depth (Z-axis)
@NotNull
Creates a bounding box from explicit min/max coordinates.
This method automatically ensures that min values are less than or equal to max values.
Return
the normalized bounding box
Since
1.15.2
Parameters
minX
the first X coordinate
minY
the first Y coordinate
minZ
the first Z coordinate
maxX
the second X coordinate
maxY
the second Y coordinate
maxZ
the second Z coordinate