2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_1405 net/minecraft/entity/ai/goal/TrackTargetGoal
|
2021-09-20 11:52:01 -04:00
|
|
|
COMMENT A goal that maintains the target of a mob entity. If the goal stops,
|
|
|
|
COMMENT such as because the target is not valid, the target is removed from
|
|
|
|
COMMENT the owner mob.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Compared to other goals, this goal and its subclasses are added
|
|
|
|
COMMENT to the {@linkplain MobEntity#targetSelector target} than the regular
|
|
|
|
COMMENT goal selector, and should use the {@link Goal.Control#TARGET}
|
|
|
|
COMMENT control if it sets the owner's target.
|
2021-04-10 17:41:40 -04:00
|
|
|
FIELD field_30233 UNSET I
|
|
|
|
FIELD field_30234 CAN_TRACK I
|
|
|
|
FIELD field_30235 CANNOT_TRACK I
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_6657 maxTimeWithoutVisibility I
|
|
|
|
FIELD field_6658 checkVisibility Z
|
|
|
|
FIELD field_6659 timeWithoutVisibility I
|
|
|
|
FIELD field_6660 mob Lnet/minecraft/class_1308;
|
|
|
|
FIELD field_6661 checkCanNavigateCooldown I
|
|
|
|
FIELD field_6662 canNavigateFlag I
|
|
|
|
FIELD field_6663 checkCanNavigate Z
|
|
|
|
FIELD field_6664 target Lnet/minecraft/class_1309;
|
2019-07-08 12:09:22 -04:00
|
|
|
METHOD <init> (Lnet/minecraft/class_1308;Z)V
|
2019-05-07 07:19:00 -04:00
|
|
|
ARG 1 mob
|
|
|
|
ARG 2 checkVisibility
|
2019-07-08 12:09:22 -04:00
|
|
|
METHOD <init> (Lnet/minecraft/class_1308;ZZ)V
|
2019-05-07 07:19:00 -04:00
|
|
|
ARG 1 mob
|
2018-11-04 07:22:38 -05:00
|
|
|
ARG 2 checkVisibility
|
2019-04-03 11:43:01 -04:00
|
|
|
ARG 3 checkNavigable
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_6326 getFollowRange ()D
|
|
|
|
METHOD method_6328 canTrack (Lnet/minecraft/class_1309;Lnet/minecraft/class_4051;)Z
|
2018-11-04 07:22:38 -05:00
|
|
|
ARG 1 target
|
2019-05-07 07:19:00 -04:00
|
|
|
ARG 2 targetPredicate
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_6329 canNavigateToEntity (Lnet/minecraft/class_1309;)Z
|
|
|
|
ARG 1 entity
|
|
|
|
METHOD method_6330 setMaxTimeWithoutVisibility (I)Lnet/minecraft/class_1405;
|
|
|
|
ARG 1 time
|