Class GhastHitbox
-
- All Implemented Interfaces:
public final class GhastHitbox
-
-
Constructor Summary
Constructors Constructor Description GhastHitbox(String hitboxString)GhastHitbox(Vector offset, Double scale, Float rotation, Boolean visible)
-
Method Summary
Modifier and Type Method Description final VectorgetOffset()final DoublegetScale()final FloatgetRotation()final BooleangetVisible()final Vectoroffset(Float angle)Offset rotated around the baseEntity's yaw final BoundingBoxboundingBox(Location center)-
-
Method Detail
-
getOffset
final Vector getOffset()
-
getRotation
final Float getRotation()
-
getVisible
final Boolean getVisible()
-
offset
final Vector offset(Float angle)
Offset rotated around the baseEntity's yaw
- Parameters:
angle- Yaw of baseEntity- Returns:
Rotated offset vector
-
boundingBox
final BoundingBox boundingBox(Location center)
-
-
-
-