Class WakeUpTask
public class WakeUpTask extends Task<LivingEntity>
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description WakeUpTask() -
Method Summary
Modifier and Type Method Description protected voidrun(ServerWorld world, LivingEntity entity, long time)protected booleanshouldRun(ServerWorld world, LivingEntity entity)Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
-
Constructor Details
-
WakeUpTask
public WakeUpTask()
-
-
Method Details
-
shouldRun
- Overrides:
shouldRunin classTask<LivingEntity>
-
run
- Overrides:
runin classTask<LivingEntity>
-