mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
Added Target Reasons for Wolf events. Thanks Deaygo!
By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
parent
31e3c65440
commit
d081f1a06f
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
|
* 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
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue