public class EntityAIRestrictSun extends EntityAIBase
| Constructor and Description |
|---|
EntityAIRestrictSun(EntityCreature creature) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetTask()
Resets the task
|
boolean |
shouldExecute()
Returns whether the EntityAIBase should begin execution.
|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
continueExecuting, getMutexBits, isInterruptible, setMutexBits, updateTaskpublic EntityAIRestrictSun(EntityCreature creature)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic void startExecuting()
startExecuting in class EntityAIBasepublic void resetTask()
resetTask in class EntityAIBase