diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/event/entity/EntityDamageEvent.java | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java b/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java index 5238cd58..c2b48624 100644 --- a/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java @@ -166,13 +166,13 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable { STARVATION, /** * Damage caused due to an ongoing poison effect - * + * <p /> * Damage: 1 */ POISON, /** * Damage caused by being hit by a damage potion or spell - * + * <p /> * Damage: variable */ MAGIC, @@ -181,6 +181,14 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable { */ WITHER, /** + * Damage caused by being hit by a falling block which deals damage + * <p /> + * <b>Note:</b> Not every block deals damage + * <p /> + * Damage: variable + */ + FALLING_BLOCK, + /** * Custom damage. * <p /> * Damage: variable |