Added EXPLOSION_PRIMED event.

By: culturespy <culturespy@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-02-03 21:59:42 -05:00
parent 13a3b24c47
commit 8d18ce772e
4 changed files with 64 additions and 0 deletions

View File

@@ -533,6 +533,20 @@ public abstract class Event {
*/
ENTITY_EXPLODE (Category.LIVING_ENTITY),
/**
* Called when an entity has made a decision to explode.
*
* Provides an opportunity to act on the entity, change the explosion radius,
* or to change the fire-spread flag.
*
* Canceling the event negates the entity's decision to explode.
* For EntityCreeper, this resets the fuse but does not kill the Entity.
* For EntityFireball and EntityTNTPrimed....?
*
* @see org.bukkit.event.entity.EntityExplodeTriggerEvent
*/
EXPLOSION_PRIMED (Category.LIVING_ENTITY),
/**
* Called when an entity targets another entity
*