added 2 new TargetReasons for 1.16 mob behavior

This commit is contained in:
Jake Potrebic
2020-07-03 15:05:54 -07:00
parent 53d5aca783
commit e034549a33

View File

@@ -159,6 +159,14 @@ public class EntityTargetEvent extends EntityEvent implements Cancellable {
* as wheat in its hand. * as wheat in its hand.
*/ */
TEMPT, 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. * A currently unknown reason for the entity changing target.
*/ */