net.minecraft.world.entity.ai.behavior

public class SetWalkTargetFromLookTarget

extends Behavior<LivingEntity>

axl
net.minecraft.world.entity.ai.behavior.SetWalkTargetFromLookTarget
net.minecraft.class_4120
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
speed
f_24081_
private final int
c
closeEnoughDistance
field_19002
completionRange
f_24082_
private final Predicate<LivingEntity>
d
canSetWalkTargetPredicate
field_34049
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(abr arg0, atu arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
m_6114_(C_12_ p_182367_, C_524_ arg1)
protected void
a(abr arg0, atu arg1, long arg2)
start(ServerLevel arg0, LivingEntity arg1, long arg2)
method_18920(class_3218 arg0, class_1309 arg1, long arg2)
run(ServerWorld arg0, LivingEntity arg1, long arg2)
m_6735_(C_12_ p_24088_, C_524_ p_24089_, long arg2)