Package net.minecraft.entity.ai.goal
Class FollowBoatGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.FollowBoatGoal
-
public class FollowBoatGoal extends Goal
-
-
Field Summary
Fields Modifier and Type Field Description private BoatGoalscurrentGoalprivate PlayerEntityfollowingprivate CreatureEntitymobprivate inttimeToRecalcPath
-
Constructor Summary
Constructors Constructor Description FollowBoatGoal(CreatureEntity p_i48939_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanContinueToUse()booleancanUse()booleanisInterruptable()voidstart()voidstop()voidtick()
-
-
-
Field Detail
-
timeToRecalcPath
private int timeToRecalcPath
-
mob
private final CreatureEntity mob
-
following
private PlayerEntity following
-
currentGoal
private BoatGoals currentGoal
-
-
Constructor Detail
-
FollowBoatGoal
public FollowBoatGoal(CreatureEntity p_i48939_1_)
-
-
Method Detail
-
isInterruptable
public boolean isInterruptable()
- Overrides:
isInterruptablein classGoal
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUsein classGoal
-
-