Class PlayDeadTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<AxolotlEntity>
net.minecraft.entity.ai.brain.task.PlayDeadTask
public class PlayDeadTask extends Task<AxolotlEntity>
-
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 PlayDeadTask() -
Method Summary
Modifier and Type Method Description protected voidrun(ServerWorld serverWorld, AxolotlEntity axolotlEntity, long long2)protected booleanshouldKeepRunning(ServerWorld serverWorld, AxolotlEntity axolotlEntity, long long2)protected booleanshouldRun(ServerWorld serverWorld, AxolotlEntity axolotlEntity)Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, stop, tick, toString, tryStarting
-
Constructor Details
-
PlayDeadTask
public PlayDeadTask()
-
-
Method Details
-
shouldRun
- Overrides:
shouldRunin classTask<AxolotlEntity>
-
shouldKeepRunning
protected boolean shouldKeepRunning(ServerWorld serverWorld, AxolotlEntity axolotlEntity, long long2)- Overrides:
shouldKeepRunningin classTask<AxolotlEntity>
-
run
- Overrides:
runin classTask<AxolotlEntity>
-