net.minecraft.world.entity.ai.behavior

public class SetWalkTargetFromAttackTargetIfTargetOutOfReach

extends Behavior<Mob>

bav
net.minecraft.world.entity.ai.behavior.SetWalkTargetFromAttackTargetIfTargetOutOfReach
net.minecraft.class_4822
net.minecraft.unmapped.C_goundjki
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
f_kbsfarrs
WEAPON_REACH_REDUCTION
f_147903_
private final Function<LivingEntity, Float>
c
speedModifier
field_22323
f_ovhcidqc
speed
f_24024_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
a(adi arg0, axj arg1, long arg2)
start(ServerLevel arg0, Mob arg1, long arg2)
method_25945(class_3218 arg0, class_1308 arg1, long arg2)
m_jaaedpnh(C_bdwnwhiu arg0, C_dxkfswlz 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(axh arg0, axh arg1)
setWalkAndLookTarget(LivingEntity arg0, LivingEntity arg1)
method_24605(class_1309 arg0, class_1309 arg1)
m_wdokurlt(C_usxaxydn arg0, C_usxaxydn arg1)
rememberWalkTarget(LivingEntity entity, LivingEntity target)
m_24037_(C_524_ p_24039_, C_524_ arg1)
private void
a(axh arg0)
clearWalkTarget(LivingEntity arg0)
method_24604(class_1309 arg0)
m_rpbrhjoo(C_usxaxydn arg0)
forgetWalkTarget(LivingEntity entity)
m_24035_(C_524_ arg0)