Retiring EntityDamageByProjectileEvent in favor of EntityDamageEvent.
This commit is contained in:
@@ -77,6 +77,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
|
||||
* Damage: variable
|
||||
*/
|
||||
ENTITY_ATTACK,
|
||||
/**
|
||||
* Damage caused when attacked by a projectile.
|
||||
*
|
||||
* Damage: variable
|
||||
*/
|
||||
PROJECTILE,
|
||||
/**
|
||||
* Damage caused by being put in a block
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user