Class RandomlyStopAttackingTask
- java.lang.Object
-
- net.minecraft.entity.ai.brain.task.Task<LivingEntity>
-
- net.minecraft.entity.ai.brain.task.RandomlyStopAttackingTask
-
public class RandomlyStopAttackingTask extends Task<LivingEntity>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
-
Field Summary
Fields Modifier and Type Field Description private int
pacifyDuration
-
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
entryCondition
-
-
Constructor Summary
Constructors Constructor Description RandomlyStopAttackingTask(MemoryModuleType<?> p_i231510_1_, int p_i231510_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
-
-
-
-
Constructor Detail
-
RandomlyStopAttackingTask
public RandomlyStopAttackingTask(MemoryModuleType<?> p_i231510_1_, int p_i231510_2_)
-
-
Method Detail
-
start
protected void start(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_)
- Overrides:
start
in classTask<LivingEntity>
-
-