From a3c784bcded8ed13bd087233032d7b3ee82c3651 Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Wed, 21 Sep 2011 17:11:53 -0400 Subject: Added DamageCause.STARVATION. --- src/main/java/org/bukkit/event/entity/EntityDamageEvent.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java b/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java index 358a5188..1d871fc8 100644 --- a/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java @@ -149,6 +149,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable { * Damage: 1000 */ SUICIDE, + /** + * Damage caused by starving due to having an empty hunger bar + * + * Damage: 1 + */ + STARVATION, /** * Custom damage. * -- cgit v1.2.3