Class StopPanickingTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<VillagerEntity>
net.minecraft.entity.ai.brain.task.StopPanickingTask
public class StopPanickingTask extends Task<VillagerEntity>
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description StopPanickingTask() -
Method Summary
Modifier and Type Method Description protected voidrun(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)private static booleanwasHurtByNearbyEntity(VillagerEntity entity)Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, shouldRun, stop, tick, toString, tryStarting
-
Constructor Details
-
StopPanickingTask
public StopPanickingTask()
-
-
Method Details
-
run
- Overrides:
runin classTask<VillagerEntity>
-
wasHurtByNearbyEntity
-