net.minecraft.world.entity.ai.behavior

public class SetWalkTargetFromAttackTargetIfTargetOutOfReach

extends Behavior<Mob>

bbm
net.minecraft.world.entity.ai.behavior.SetWalkTargetFromAttackTargetIfTargetOutOfReach
net.minecraft.class_4822
net.minecraft.entity.ai.brain.task.RangedApproachTask
net.minecraft.src.C_627_
net.minecraft.world.entity.ai.behavior.BehaviorWalkAwayOutOfRange

Field summary

Modifier and TypeField
private static final int
a
PROJECTILE_ATTACK_RANGE_BUFFER
field_30166
WEAPON_REACH_REDUCTION
f_147903_
private final Function<LivingEntity, Float>
c
speedModifier
field_22323
speed
f_24024_

Constructor summary

ModifierConstructor
public (float speed)
public (Function<LivingEntity, Float> speed)

Method summary

Modifier and TypeMethod
protected void
a(adw arg0, aya arg1, long arg2)
start(ServerLevel arg0, Mob arg1, long arg2)
method_25945(class_3218 arg0, class_1308 arg1, long arg2)
run(ServerWorld arg0, MobEntity arg1, long arg2)
m_6735_(C_12_ p_24033_, C_526_ p_24034_, long arg2)
private void
a(axy arg0, axy arg1)
setWalkAndLookTarget(LivingEntity arg0, LivingEntity arg1)
method_24605(class_1309 arg0, class_1309 arg1)
rememberWalkTarget(LivingEntity entity, LivingEntity target)
m_24037_(C_524_ p_24039_, C_524_ arg1)
private void
a(axy arg0)
clearWalkTarget(LivingEntity arg0)
method_24604(class_1309 arg0)
forgetWalkTarget(LivingEntity entity)
m_24035_(C_524_ arg0)