diff --git a/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java b/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java index 0ffefa5e33..e45fc721c0 100644 --- a/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java +++ b/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java @@ -114,6 +114,15 @@ public interface LivingEntity extends Entity { @Deprecated public Arrow shootArrow(); + /** + * Launches a {@link Projectile} from the entity. + * + * @param projectile Class of the projectile to launch + * + * @return The launched projectile. + */ + public T launchProjectile(Class projectile); + /** * Returns the amount of air that this entity has remaining, in ticks *