13
0
geforkt von Mirrors/Paper

added 2 new TargetReasons for 1.16 mob behavior

Dieser Commit ist enthalten in:
Jake Potrebic 2020-07-03 15:05:54 -07:00
Ursprung 53d5aca783
Commit e034549a33

Datei anzeigen

@ -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.
*/