ClassAbilityProjectileCarrier

public final class ClassAbilityProjectileCarrier implements Listener, AutoCloseable

Owns the invisible arrows used as physical collision carriers for class abilities. The arrow never supplies damage itself. Its first native or FMM collision claims the flight, removes the carrier and invokes the server-authoritative ability impact once.

Functions

Link copied to clipboard
public void close()
Link copied to clipboard
public void enforceSuppressedVanillaCarrierDamage(EntityDamageByEntityEvent event)
Link copied to clipboard
public static boolean isCarrier(Projectile projectile)
True for current and stale carriers so neither can fall through to vanilla/FMM damage.
Link copied to clipboard
public void retireCarrierOnProjectileHit(ProjectileHitEvent event)
Link copied to clipboard
public void suppressVanillaCarrierDamage(EntityDamageByEntityEvent event)
Link copied to clipboard
public static boolean tryModeledImpact(Projectile projectile, Entity underlyingEntity)
Called by the optional FMM bridge when its OBB, rather than Bukkit, owns the collision.