mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 11:45: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
|
* entity
|
||||||
*/
|
*/
|
||||||
CLOSEST_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.
|
* A currently unknown reason for the entity changing target.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user