Entity damage hooks

This commit is contained in:
angelsl
2011-01-03 16:11:36 +08:00
committed by Dinnerbone
parent 4540538e04
commit bc585f5892
6 changed files with 196 additions and 2 deletions

View File

@@ -318,12 +318,12 @@ public abstract class Event {
* Called when a LivingEntity is damaged by the environment (for example,
* falling or lava)
*/
ENTITY_DAMAGED_ENVIRONMENT (Category.LIVING_ENTITY),
ENTITY_DAMAGEDBY_BLOCK (Category.LIVING_ENTITY),
/**
* Called when a LivingEntity is damaged by another LivingEntity
*/
ENTITY_DAMAGED (Category.LIVING_ENTITY),
ENTITY_DAMAGEDBY_ENTITY (Category.LIVING_ENTITY),
/**
* Called when a LivingEntity dies