net.minecraft.world.entity.ai.behavior

public class SetWalkTargetFromLookTarget

extends Behavior<LivingEntity>

bez
net.minecraft.world.entity.ai.behavior.SetWalkTargetFromLookTarget
net.minecraft.class_4120
net.minecraft.unmapped.C_iyiccpwt
net.minecraft.entity.ai.brain.task.GoTowardsLookTarget
net.minecraft.entity.ai.brain.task.GoTowardsLookTarget
net.minecraft.src.C_629_
net.minecraft.world.entity.ai.behavior.BehaviorLookWalk

Field summary

Modifier and TypeField
private final Function<LivingEntity, Float>
a
speedModifier
field_18378
f_kwnimsef
speed
speed
f_24081_
private final int
d
closeEnoughDistance
field_19002
f_kfhfgctl
completionRange
completionRange
f_24082_
private final Predicate<LivingEntity>
e
canSetWalkTargetPredicate
field_34049
f_zassuutw
predicate
predicate
f_182357_

Constructor summary

ModifierConstructor
public (float speed, int completionRange)
public (Predicate<LivingEntity> predicate, Function<LivingEntity, Float> speed, int completionRange)

Method summary

Modifier and TypeMethod
protected boolean
a(afo arg0, bbf arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
m_pwowjghk(C_bdwnwhiu arg0, C_usxaxydn arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
m_6114_(C_12_ p_182367_, C_524_ arg1)
protected void
a(afo arg0, bbf arg1, long arg2)
start(ServerLevel arg0, LivingEntity arg1, long arg2)
method_18920(class_3218 arg0, class_1309 arg1, long arg2)
m_thxoqxcz(C_bdwnwhiu arg0, C_usxaxydn arg1, long arg2)
run(ServerWorld arg0, LivingEntity arg1, long arg2)
run(ServerWorld arg0, LivingEntity arg1, long arg2)
m_6735_(C_12_ p_24088_, C_524_ p_24089_, long arg2)