yarn/mappings/net/minecraft/entity/ai/goal/TrackTargetGoal.mapping

36 lines
1.5 KiB
Plaintext

CLASS net/minecraft/class_1405 net/minecraft/entity/ai/goal/TrackTargetGoal
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.
FIELD field_30233 UNSET I
FIELD field_30234 CAN_TRACK I
FIELD field_30235 CANNOT_TRACK I
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;
METHOD <init> (Lnet/minecraft/class_1308;Z)V
ARG 1 mob
ARG 2 checkVisibility
METHOD <init> (Lnet/minecraft/class_1308;ZZ)V
ARG 1 mob
ARG 2 checkVisibility
ARG 3 checkNavigable
METHOD method_6326 getFollowRange ()D
METHOD method_6328 canTrack (Lnet/minecraft/class_1309;Lnet/minecraft/class_4051;)Z
ARG 1 target
ARG 2 targetPredicate
METHOD method_6329 canNavigateToEntity (Lnet/minecraft/class_1309;)Z
ARG 1 entity
METHOD method_6330 setMaxTimeWithoutVisibility (I)Lnet/minecraft/class_1405;
ARG 1 time