mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 09:17:36 +01:00
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:
parent
7f7f1608e8
commit
219cc0b3f4
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user