Class AttackStrafingTask<E extends MobEntity>
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<E>
net.minecraft.entity.ai.brain.task.AttackStrafingTask<E>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
private final int
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) private LivingEntity
private boolean
isTargetTooClose
(E p_233856_1_) private boolean
isTargetVisible
(E p_233855_1_) 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, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
tooCloseDistance
private final int tooCloseDistance -
strafeSpeed
private final float strafeSpeed
-
-
Constructor Details
-
AttackStrafingTask
public AttackStrafingTask(int p_i231509_1_, float p_i231509_2_)
-
-
Method Details