net.minecraft.entity.ai
Class EntityAIRestrictSun
java.lang.Object
net.minecraft.entity.ai.EntityAIBase
net.minecraft.entity.ai.EntityAIRestrictSun
public class EntityAIRestrictSun
- extends EntityAIBase
Method Summary |
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 |
EntityAIRestrictSun
public EntityAIRestrictSun(EntityCreature par1EntityCreature)
shouldExecute
public boolean shouldExecute()
- Returns whether the EntityAIBase should begin execution.
- Specified by:
shouldExecute
in class EntityAIBase
startExecuting
public void startExecuting()
- Execute a one shot task or start executing a continuous task
- Overrides:
startExecuting
in class EntityAIBase
resetTask
public void resetTask()
- Resets the task
- Overrides:
resetTask
in class EntityAIBase