static class TurtleEntity.WanderInWaterGoal extends MoveToTargetPosGoal
Goal.Control| Modifier and Type | Field and Description |
|---|---|
private TurtleEntity |
turtle |
cooldown, lowestY, mob, speed, targetPos, tryingTime| Modifier | Constructor and Description |
|---|---|
private |
WanderInWaterGoal(TurtleEntity turtle,
double speed) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStart() |
protected boolean |
isTargetPos(WorldView world,
BlockPos pos) |
boolean |
shouldContinue() |
boolean |
shouldResetPath() |
findTargetPos, getDesiredSquaredDistanceToTarget, getInterval, getTargetPos, hasReached, start, startMovingToTarget, tickcanStop, getControls, setControls, stop, toStringprivate final TurtleEntity turtle
private WanderInWaterGoal(TurtleEntity turtle, double speed)
public boolean shouldContinue()
shouldContinue in class MoveToTargetPosGoalpublic boolean canStart()
canStart in class MoveToTargetPosGoalpublic boolean shouldResetPath()
shouldResetPath in class MoveToTargetPosGoalprotected boolean isTargetPos(WorldView world, BlockPos pos)
isTargetPos in class MoveToTargetPosGoal