static class TurtleEntity.GoToWaterGoal extends MoveToBlockGoal
Modifier and Type | Field and Description |
---|---|
private TurtleEntity |
turtle |
creature, destinationBlock, field_203112_e, movementSpeed, runDelay, timeoutCounter
Modifier | Constructor and Description |
---|---|
private |
GoToWaterGoal(TurtleEntity turtle,
double speedIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
boolean |
shouldMove() |
protected boolean |
shouldMoveTo(IWorldReader worldIn,
BlockPos pos) |
func_220725_g, getIsAboveDestination, getRunDelay, getTargetDistanceSq, searchForDestination, startExecuting, tick
getMutexFlags, isPreemptible, resetTask, setMutexFlags, toString
private final TurtleEntity turtle
private GoToWaterGoal(TurtleEntity turtle, double speedIn)
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class MoveToBlockGoal
public boolean shouldExecute()
shouldExecute
in class MoveToBlockGoal
public boolean shouldMove()
shouldMove
in class MoveToBlockGoal
protected boolean shouldMoveTo(IWorldReader worldIn, BlockPos pos)
shouldMoveTo
in class MoveToBlockGoal