mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
Re-added launchProjectile lost due to incorrect conflict resolution.
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
parent
c180de46e2
commit
b004c409f0
1 changed files with 9 additions and 0 deletions
|
@ -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 extends Projectile> T launchProjectile(Class<? extends T> projectile);
|
||||
|
||||
/**
|
||||
* Returns the amount of air that this entity has remaining, in ticks
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue