Added events for endermen pickup/placement blocks and methods to get/set the block that an enderman is holding. Thanks Wizjany

By: Wizjany <wizjany@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-09-17 20:18:43 -04:00
parent ae629bb348
commit 032a212512
6 changed files with 126 additions and 2 deletions

View File

@@ -679,13 +679,24 @@ public abstract class Event implements Serializable {
* @see org.bukkit.event.entity.ProjectileHitEvent
*/
PROJECTILE_HIT (Category.ENTITY),
/**
* Called when a LivingEntity is regains health
*
* @see org.bukkit.event.entity.EntityRegainHealthEvent
*/
ENTITY_REGAIN_HEALTH (Category.LIVING_ENTITY),
/**
* Called when an Enderman picks a block up
*
* @see org.bukkit.event.entity.EndermanPickupEvent
*/
ENDERMAN_PICKUP (Category.LIVING_ENTITY),
/**
* Called when an Enderman places a block
*
* @see org.bukkit.event.entity.EndermanPlaceEvent
*/
ENDERMAN_PLACE (Category.LIVING_ENTITY),
/**
* WEATHER EVENTS