SPIGOT-2127: Add DamageCause.ENTITY_SWEEP_ATTACK

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2016-12-23 22:39:29 +11:00
parent b238d93a96
commit 8d53d7c5a6

View file

@ -287,6 +287,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
* Damage: variable
*/
ENTITY_ATTACK,
/**
* Damage caused when an entity attacks another entity in a sweep attack.
* <p>
* Damage: variable
*/
ENTITY_SWEEP_ATTACK,
/**
* Damage caused when attacked by a projectile.
* <p>