public class EntityAIRestrictSun extends EntityAIBase
Modifier and Type | Field and Description |
---|---|
private EntityCreature |
entity |
Constructor and Description |
---|
EntityAIRestrictSun(EntityCreature creature) |
Modifier and Type | Method and Description |
---|---|
void |
resetTask() |
boolean |
shouldExecute() |
void |
startExecuting() |
getMutexBits, isInterruptible, setMutexBits, shouldContinueExecuting, updateTask
private final EntityCreature entity
public EntityAIRestrictSun(EntityCreature creature)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAIBase
public void resetTask()
resetTask
in class EntityAIBase