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 voidfinishRunning(ServerWorld serverWorld, LivingEntity livingEntity, long long2)protected voidkeepRunning(ServerWorld serverWorld, LivingEntity livingEntity, long long2)private Optional<Integer>method_33194(LivingEntity livingEntity)protected booleanshouldKeepRunning(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:
shouldKeepRunningin classTask<LivingEntity>
-
keepRunning
- Overrides:
keepRunningin classTask<LivingEntity>
-
finishRunning
- Overrides:
finishRunningin classTask<LivingEntity>
-