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 final float
private Mob
private final Mob
private final PathNavigation
private float
private final double
private final 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
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, 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()
-