Added Target Reasons for Wolf events. Thanks Deaygo!

By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
Bukkit/Spigot 2011-06-18 22:29:07 -04:00
parent 31e3c65440
commit d081f1a06f

View file

@ -91,6 +91,18 @@ public class EntityTargetEvent extends EntityEvent implements Cancellable {
* Currently only occurs in with spiders when there is a high brightness * Currently only occurs in with spiders when there is a high brightness
*/ */
FORGOT_TARGET, FORGOT_TARGET,
/**
* When the target attacks the owner of the entity, so the entity targets it.
*/
TARGET_ATTACKED_OWNER,
/**
* When the owner of the entity attacks the target attacks, so the entity targets it.
*/
OWNER_ATTACKED_TARGET,
/**
* When the entity has no target, so the entity randomly chooses one.
*/
RANDOM_TARGET,
/** /**
* For custom calls to the event * For custom calls to the event
*/ */