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 BoatGoals
currentGoal
private PlayerEntity
following
private CreatureEntity
mob
private int
timeToRecalcPath
-
Constructor Summary
Constructors Constructor Description FollowBoatGoal(CreatureEntity p_i48939_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canContinueToUse()
boolean
canUse()
boolean
isInterruptable()
void
start()
void
stop()
void
tick()
-
-
-
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:
isInterruptable
in classGoal
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUse
in classGoal
-
-