From 953dad94c2ef059e3b13530a68554d209335d0ef Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Wed, 29 Feb 2012 18:31:20 -0500 Subject: Re-added launchProjectile lost due to incorrect conflict resolution. --- src/main/java/org/bukkit/entity/LivingEntity.java | 9 +++++++++ 1 file changed, 9 insertions(+) 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 * -- cgit v1.2.3