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
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
clearAttackTarget
(E p_233987_1_) private LivingEntity
getAttackTarget
(E p_233985_1_) private boolean
isCurrentTargetDeadOrRemoved
(E p_233986_1_) private boolean
isCurrentTargetInDifferentLevel
(E p_233983_1_) private static <E extends LivingEntity>
booleanisTiredOfTryingToReachTarget
(E p_233982_0_) protected void
start
(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