Package net.minecraft.entity.ai.goal
Class FollowMobGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FollowMobGoal
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
private MobEntity
private final MobEntity
private final PathNavigator
private float
private final double
private final float
private int
-
Constructor Summary
ConstructorDescriptionFollowMobGoal
(MobEntity p_i47417_1_, double p_i47417_2_, float p_i47417_4_, float p_i47417_5_) -
Method Summary
Methods inherited from class net.minecraft.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
public FollowMobGoal(MobEntity p_i47417_1_, double p_i47417_2_, float p_i47417_4_, float p_i47417_5_)
-
-
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()
-