mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 09:02:09 -07:00
SPIGOT-2127: Add DamageCause.ENTITY_SWEEP_ATTACK
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -287,6 +287,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
|
|||||||
* Damage: variable
|
* Damage: variable
|
||||||
*/
|
*/
|
||||||
ENTITY_ATTACK,
|
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.
|
* Damage caused when attacked by a projectile.
|
||||||
* <p>
|
* <p>
|
||||||
|
Reference in New Issue
Block a user