Added suffocation damage as an event.

This commit is contained in:
sk89q
2011-01-20 00:49:29 -08:00
parent d58b59b5cd
commit 8613231dc0

View File

@@ -93,6 +93,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
*
* Damage: fall height - 3.0
*/
SUFFOCATION,
/**
* Damage caused by being put in a block
*
* Damage: 1
*/
FALL,
/**
* Damage caused by direct exposure to fire