net.minecraft.world.entity.ai.behavior

public class BabyFollowAdult<E extends AgeableMob>

extends Behavior<E>

bco
net.minecraft.world.entity.ai.behavior.BabyFollowAdult
net.minecraft.class_5355
net.minecraft.entity.ai.brain.task.WalkTowardClosestAdultTask
net.minecraft.src.C_566_
net.minecraft.world.entity.ai.behavior.BehaviorFollowAdult

Field summary

Modifier and TypeField
private final UniformInt
a
followRange
field_25357
executionRange
f_22468_
private final Function<LivingEntity, Float>
d
speedModifier
field_25358
speed
f_22469_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(afo arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_29521(class_3218 arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
m_6114_(C_12_ p_147424_, E arg1)
protected void
a(afo arg0, E arg1, long arg2)
start(ServerLevel arg0, E arg1, long arg2)
method_29522(class_3218 arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
m_6735_(C_12_ p_147427_, E p_147428_, long arg2)
private AgeableMob
a(E arg0)
getNearestAdult(E arg0)
method_29520(E arg0)
getNearestVisibleAdult(E entity)
m_147429_(E arg0)