public class EntityAISwimming extends EntityAIBase
| Modifier and Type | Field and Description |
|---|---|
private EntityLiving |
theEntity |
| Constructor and Description |
|---|
EntityAISwimming(EntityLiving entitylivingIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldExecute()
Returns whether the EntityAIBase should begin execution.
|
void |
updateTask()
Updates the task
|
continueExecuting, getMutexBits, isInterruptible, resetTask, setMutexBits, startExecutingprivate EntityLiving theEntity
public EntityAISwimming(EntityLiving entitylivingIn)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic void updateTask()
updateTask in class EntityAIBase