static class AbstractFishEntity.SwimGoal extends RandomSwimmingGoal
| Modifier and Type | Field and Description |
|---|---|
private AbstractFishEntity |
fish |
creature, executionChance, mustUpdate, speed, x, y, z| Constructor and Description |
|---|
SwimGoal(AbstractFishEntity fish) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldExecute() |
getPositionmakeUpdate, resetTask, setExecutionChance, shouldContinueExecuting, startExecutinggetMutexFlags, isPreemptible, setMutexFlags, tick, toStringprivate final AbstractFishEntity fish
public SwimGoal(AbstractFishEntity fish)
public boolean shouldExecute()
shouldExecute in class RandomWalkingGoal