Class RandomlyStopAttackingTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<LivingEntity>
net.minecraft.entity.ai.brain.task.RandomlyStopAttackingTask
-
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
entryCondition
-
Constructor Summary
ConstructorDescriptionRandomlyStopAttackingTask
(MemoryModuleType<?> p_i231510_1_, int p_i231510_2_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) Methods inherited from class net.minecraft.entity.ai.brain.task.Task
canStillUse, checkExtraStartConditions, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
pacifyDuration
private final int pacifyDuration
-
-
Constructor Details
-
RandomlyStopAttackingTask
-
-
Method Details
-
start
- Overrides:
start
in classTask<LivingEntity>
-