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