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