Re-added launchProjectile lost due to incorrect conflict resolution.
This commit is contained in:
parent
8a458ca273
commit
953dad94c2
@ -114,6 +114,15 @@ public interface LivingEntity extends Entity {
|
|||||||
@Deprecated
|
@Deprecated
|
||||||
public Arrow shootArrow();
|
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
|
* Returns the amount of air that this entity has remaining, in ticks
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user