Class InteractionHitbox

    • Constructor Detail

      • InteractionHitbox

        InteractionHitbox(Object hitboxObject)
      • InteractionHitbox

        InteractionHitbox(String hitboxString)
      • InteractionHitbox

        InteractionHitbox(Vector offset, Float width, Float height)
    • Method Detail

      • 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)