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, tickgetMutexFlags, isPreemptible, setMutexFlags, toStringprivate final DrownedEntity drowned
public GoToBeachGoal(DrownedEntity p_i48911_1_, double p_i48911_2_)
public boolean shouldExecute()
shouldExecute in class MoveToBlockGoalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class MoveToBlockGoalprotected boolean shouldMoveTo(IWorldReader worldIn, BlockPos pos)
shouldMoveTo in class MoveToBlockGoalpublic void startExecuting()
startExecuting in class MoveToBlockGoal