Class FindNewAttackTargetTask<E extends MobEntity>
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<E>
net.minecraft.entity.ai.brain.task.FindNewAttackTargetTask<E>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status -
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.brain.task.Task
entryCondition -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidclearAttackTarget(E p_233987_1_) private LivingEntitygetAttackTarget(E p_233985_1_) private booleanisCurrentTargetDeadOrRemoved(E p_233986_1_) private booleanisCurrentTargetInDifferentLevel(E p_233983_1_) private static <E extends LivingEntity>
booleanisTiredOfTryingToReachTarget(E p_233982_0_) protected voidstart(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) Methods inherited from class net.minecraft.entity.ai.brain.task.Task
canStillUse, checkExtraStartConditions, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
stopAttackingWhen
-
-
Constructor Details
-
FindNewAttackTargetTask
-
FindNewAttackTargetTask
public FindNewAttackTargetTask()
-
-
Method Details