Class LookAroundTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<MobEntity>
net.minecraft.entity.ai.brain.task.LookAroundTask
public class LookAroundTask extends Task<MobEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status -
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates -
Constructor Summary
Constructors Constructor Description LookAroundTask(int minRunTime, int maxRunTime) -
Method Summary
Modifier and Type Method Description protected voidfinishRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2)protected voidkeepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2)protected booleanshouldKeepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2)Methods inherited from class net.minecraft.entity.ai.brain.task.Task
getStatus, isTimeLimitExceeded, run, shouldRun, stop, tick, toString, tryStarting
-
Constructor Details
-
LookAroundTask
public LookAroundTask(int minRunTime, int maxRunTime)
-
-
Method Details
-
shouldKeepRunning
- Overrides:
shouldKeepRunningin classTask<MobEntity>
-
finishRunning
- Overrides:
finishRunningin classTask<MobEntity>
-
keepRunning
- Overrides:
keepRunningin classTask<MobEntity>
-