Overhaul entity damage structure...

By: angelsl <angelsl@rpm>
This commit is contained in:
Bukkit/Spigot
2011-01-03 19:24:05 +08:00
parent d3240391ad
commit 38d64f8661
4 changed files with 155 additions and 83 deletions

View File

@@ -325,6 +325,11 @@ public abstract class Event {
*/
ENTITY_DAMAGEDBY_ENTITY (Category.LIVING_ENTITY),
/**
* Called when a LivingEntity is damaged with no source.
*/
ENTITY_DAMAGED(Category.LIVING_ENTITY),
/**
* Called when a LivingEntity dies
*/