Class FollowMobGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.FollowMobGoal
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate float
private Mob
private Mob
private PathNavigation
private float
private double
private float
private int
-
Constructor Summary
ConstructorDescriptionFollowMobGoal(Mob p_25271_, double p_25272_, float p_25273_, float p_25274_)
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
mob
-
followPredicate
-
followingMob
-
speedModifier
private final double speedModifier -
timeToRecalcPath
private int timeToRecalcPath -
stopDistance
private final float stopDistance -
oldWaterCost
private float oldWaterCost -
areaSize
private final float areaSize
-
-
Constructor Details
-
FollowMobGoal
-
-
Method Details
-
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
start
public void start() -
stop
public void stop() -
tick
public void tick()
-