Package net.minecraft
Class class_5753
public class class_5753 extends Task<LivingEntity>
-
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 class_5753()
-
Method Summary
Modifier and Type Method Description protected void
finishRunning(ServerWorld serverWorld, LivingEntity livingEntity, long long2)
protected void
keepRunning(ServerWorld serverWorld, LivingEntity livingEntity, long long2)
private Optional<Integer>
method_33194(LivingEntity livingEntity)
protected boolean
shouldKeepRunning(ServerWorld serverWorld, LivingEntity livingEntity, long long2)
Methods inherited from class net.minecraft.entity.ai.brain.task.Task
getStatus, isTimeLimitExceeded, run, shouldRun, stop, tick, toString, tryStarting
-
Constructor Details
-
class_5753
public class_5753()
-
-
Method Details
-
method_33194
-
shouldKeepRunning
protected boolean shouldKeepRunning(ServerWorld serverWorld, LivingEntity livingEntity, long long2)- Overrides:
shouldKeepRunning
in classTask<LivingEntity>
-
keepRunning
- Overrides:
keepRunning
in classTask<LivingEntity>
-
finishRunning
- Overrides:
finishRunning
in classTask<LivingEntity>
-