From 8d53d7c5a640551674cd315ff9260edb758850c9 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Fri, 23 Dec 2016 22:39:29 +1100 Subject: [PATCH] SPIGOT-2127: Add DamageCause.ENTITY_SWEEP_ATTACK By: md_5 --- .../java/org/bukkit/event/entity/EntityDamageEvent.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java b/paper-api/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java index d0e66c6d98..d4143945fe 100644 --- a/paper-api/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java @@ -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. + *

+ * Damage: variable + */ + ENTITY_SWEEP_ATTACK, /** * Damage caused when attacked by a projectile. *