mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-14 13:43:55 +01:00
added 2 new TargetReasons for 1.16 mob behavior
This commit is contained in:
parent
53d5aca783
commit
e034549a33
1 changed files with 8 additions and 0 deletions
|
@ -159,6 +159,14 @@ public class EntityTargetEvent extends EntityEvent implements Cancellable {
|
|||
* as wheat in its hand.
|
||||
*/
|
||||
TEMPT,
|
||||
/**
|
||||
* When the target is in a different dimension
|
||||
*/
|
||||
TARGET_OTHER_LEVEL, // Paper
|
||||
/**
|
||||
* When the target is in creative or spectator gamemode, or the difficulty is peaceful, or other reasons
|
||||
*/
|
||||
TARGET_INVALID, // Paper
|
||||
/**
|
||||
* A currently unknown reason for the entity changing target.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue