Class ChildFollowNearestAdultTask<E extends AgeableEntity>
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<E>
net.minecraft.entity.ai.brain.task.ChildFollowNearestAdultTask<E>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) private AgeableEntity
getNearestAdult
(E p_233852_1_) protected void
start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) Methods inherited from class net.minecraft.entity.ai.brain.task.Task
canStillUse, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
followRange
-
speedModifier
private final float speedModifier
-
-
Constructor Details
-
ChildFollowNearestAdultTask
-
-
Method Details
-
checkExtraStartConditions
- Overrides:
checkExtraStartConditions
in classTask<E extends AgeableEntity>
-
start
- Overrides:
start
in classTask<E extends AgeableEntity>
-
getNearestAdult
-