net.minecraft.world.entity.ai.behavior

public class BackUpIfTooClose<E extends Mob>

extends Behavior<E>

ave
net.minecraft.world.entity.ai.behavior.BackUpIfTooClose
net.minecraft.class_4807
net.minecraft.entity.ai.brain.task.AttackTask
net.minecraft.src.C_567_
net.minecraft.world.entity.ai.behavior.BehaviorRetreat

Field summary

Modifier and TypeField
private final int
a
tooCloseDistance
field_22285
distance
f_22489_
private final float
c
strafeSpeed
field_22286
forwardMovement
f_22490_

Constructor summary

ModifierConstructor
public (int distance, float forwardMovement)

Method summary

Modifier and TypeMethod
protected boolean
a(abr arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_24552(class_3218 arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
m_6114_(C_12_ p_22503_, E arg1)
protected void
a(abr arg0, E arg1, long arg2)
start(ServerLevel arg0, E arg1, long arg2)
method_24553(class_3218 arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
m_6735_(C_12_ p_22506_, E p_22507_, long arg2)
private boolean
a(E arg0)
isTargetVisible(E arg0)
method_24551(E arg0)
isAttackTargetVisible(E entity)
m_22508_(E arg0)
private boolean
b(E arg0)
isTargetTooClose(E arg0)
method_24554(E arg0)
isNearAttackTarget(E entity)
m_22510_(E arg0)
private LivingEntity
c(E arg0)
getTarget(E arg0)
method_24555(E arg0)
getAttackTarget(E entity)
m_22512_(E arg0)