public class ChaseBoatGoal extends Goal
Goal.Control
Modifier and Type | Field and Description |
---|---|
private PathAwareEntity |
mob |
private PlayerEntity |
passenger |
private ChaseBoatState |
state |
private int |
updateCountdownTicks |
Constructor and Description |
---|
ChaseBoatGoal(PathAwareEntity mob) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart() |
boolean |
canStop() |
boolean |
shouldContinue() |
void |
start() |
void |
stop() |
void |
tick() |
getControls, setControls, toString
private int updateCountdownTicks
private final PathAwareEntity mob
private PlayerEntity passenger
private ChaseBoatState state
public ChaseBoatGoal(PathAwareEntity mob)
public boolean shouldContinue()
shouldContinue
in class Goal