public class SleepAtHomeTask extends Task<LivingEntity>
Task.Status
Modifier and Type | Field and Description |
---|---|
private long |
field_220552_a |
Constructor and Description |
---|
SleepAtHomeTask() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isTimedOut(long gameTime) |
protected void |
resetTask(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected boolean |
shouldContinueExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected boolean |
shouldExecute(ServerWorld worldIn,
LivingEntity owner) |
protected void |
startExecuting(ServerWorld worldIn,
LivingEntity entityIn,
long gameTimeIn) |
protected boolean shouldExecute(ServerWorld worldIn, LivingEntity owner)
shouldExecute
in class Task<LivingEntity>
protected boolean shouldContinueExecuting(ServerWorld worldIn, LivingEntity entityIn, long gameTimeIn)
shouldContinueExecuting
in class Task<LivingEntity>
protected void startExecuting(ServerWorld worldIn, LivingEntity entityIn, long gameTimeIn)
startExecuting
in class Task<LivingEntity>
protected boolean isTimedOut(long gameTime)
isTimedOut
in class Task<LivingEntity>
protected void resetTask(ServerWorld worldIn, LivingEntity entityIn, long gameTimeIn)
resetTask
in class Task<LivingEntity>