Retiring EntityDamageByProjectileEvent in favor of EntityDamageEvent.
By: sunkid <sunkid@iminurnetz.com>
This commit is contained in:
@@ -16,8 +16,21 @@ public interface Projectile extends Entity {
|
||||
/**
|
||||
* Set the shooter of this projectile
|
||||
*
|
||||
* @param shooter
|
||||
* the {@link LivingEntity} that shot this projectile
|
||||
* @param shooter the {@link LivingEntity} that shot this projectile
|
||||
*/
|
||||
public void setShooter(LivingEntity shooter);
|
||||
|
||||
/**
|
||||
* Determine if this projectile should bounce or not when it hits.
|
||||
*
|
||||
* @return true if it should bounce.
|
||||
*/
|
||||
public boolean doesBounce();
|
||||
|
||||
/**
|
||||
* Set whether or not this projectile should bounce or not when it hits something.
|
||||
*
|
||||
* @param doesBounce whether or not it should bounce.
|
||||
*/
|
||||
public void setBounce(boolean doesBounce);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user