Class GoToClosestVillage
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Villager>
net.minecraft.world.entity.ai.behavior.GoToClosestVillage
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final float
Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkExtraStartConditions
(ServerLevel p_23087_, Villager p_23088_) protected void
start
(ServerLevel p_23090_, Villager p_23091_, long p_23092_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
speedModifier
private final float speedModifier -
closeEnoughDistance
private final int closeEnoughDistance
-
-
Constructor Details
-
GoToClosestVillage
public GoToClosestVillage(float p_23077_, int p_23078_)
-
-
Method Details