SPIGOT-1373: Implement EntityTargetEvent for TEMPT.

This can be a high frequency event call. Use with care.

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2016-07-01 11:40:27 +10:00
parent 7f7f1608e8
commit 219cc0b3f4

View File

@ -142,6 +142,11 @@ public class EntityTargetEvent extends EntityEvent implements Cancellable {
* entity
*/
CLOSEST_ENTITY,
/**
* When another entity tempts this entity by having a desired item such
* as wheat in it's hand.
*/
TEMPT,
/**
* A currently unknown reason for the entity changing target.
*/