mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 12:43:52 -07:00
Added Target Reasons for Wolf events. Thanks Deaygo!
By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user