Class HitSphere

java.lang.Object
com.hypixel.hytale.server.core.modules.projectile.component.HitSphere
All Implemented Interfaces:
Component<EntityStore>, Cloneable

public class HitSphere extends Object implements Component<EntityStore>
The sphere a projectile uses to hit entities, in place of its axis-aligned HitBox.
  • Constructor Details

    • HitSphere

      public HitSphere(double radius, @Nonnull org.joml.Vector3dc centerOffset)
      Parameters:
      radius - The radius at the projectile's spawn scale.
      centerOffset - The sphere center relative to the projectile position.
  • Method Details