mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-09-18 21:45:12 +00:00
Added Target Reasons for Wolf events. Thanks Deaygo!
This commit is contained in:
parent
230d6dfa7f
commit
cdd73612bf
1 changed files with 12 additions and 0 deletions
|
@ -91,6 +91,18 @@ public class EntityTargetEvent extends EntityEvent implements Cancellable {
|
|||
* Currently only occurs in with spiders when there is a high brightness
|
||||
*/
|
||||
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
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue