diff --git a/src/main/java/org/bukkit/entity/LivingEntity.java b/src/main/java/org/bukkit/entity/LivingEntity.java index 0ffefa5e..e45fc721 100644 --- a/src/main/java/org/bukkit/entity/LivingEntity.java +++ b/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 *