net.minecraft.world.entity.ai.behavior

public class BackUpIfTooClose<E extends Mob>

extends Behavior<E>

art
net.minecraft.world.entity.ai.behavior.BackUpIfTooClose
net.minecraft.class_4807
net.minecraft.unmapped.C_bkmohoxx
net.minecraft.entity.ai.brain.task.AttackTask
net.minecraft.entity.ai.brain.task.AttackStrafingTask
net.minecraft.server.v1_16_R3.BehaviorRetreat

Field summary

Modifier and TypeField
private final int
b
tooCloseDistance
field_22285
f_fnsqztlf
distance
field_233853_b_
private final float
c
strafeSpeed
field_22286
f_xkbdzhwb
forwardMovement
field_233854_c_

Constructor summary

ModifierConstructor
public (int distance, float forwardMovement)

Method summary

Modifier and TypeMethod
protected boolean
a(aag arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_24552(class_3218 arg0, E arg1)
m_uposnwjg(C_bdwnwhiu arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
func_212832_a_(ServerWorld arg0, E arg1)
protected void
a(aag arg0, E arg1, long arg2)
start(ServerLevel arg0, E arg1, long arg2)
method_24553(class_3218 arg0, E arg1, long arg2)
m_ykfaiclm(C_bdwnwhiu arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
func_212831_a_(ServerWorld arg0, E arg1, long arg2)
private boolean
a(E arg0)
isTargetVisible(E arg0)
method_24551(E arg0)
m_nxkcuttu(E arg0)
isAttackTargetVisible(E entity)
func_233855_a_(E arg0)
private boolean
b(E arg0)
isTargetTooClose(E arg0)
method_24554(E arg0)
m_okrkoymz(E arg0)
isNearAttackTarget(E entity)
func_233856_b_(E arg0)
private LivingEntity
c(E arg0)
getTarget(E arg0)
method_24555(E arg0)
m_znguxane(E arg0)
getAttackTarget(E entity)
func_233857_c_(E arg0)