mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 19:55:52 -07: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:
@@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user