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>
- Mappings:
Namespace Name official avmintermediary net/minecraft/class_4100named net/minecraft/entity/ai/brain/task/StopPanickingTask
-
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 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>- Mappings:
Namespace Name Mixin selector official aLavm;a(Laav;Lbgy;J)Vintermediary method_20645Lnet/minecraft/class_4100;method_20645(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)Vnamed runLnet/minecraft/entity/ai/brain/task/StopPanickingTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
-
wasHurtByNearbyEntity
- Mappings:
Namespace Name Mixin selector official aLavm;a(Lbgy;)Zintermediary method_19557Lnet/minecraft/class_4100;method_19557(Lnet/minecraft/class_1646;)Znamed wasHurtByNearbyEntityLnet/minecraft/entity/ai/brain/task/StopPanickingTask;wasHurtByNearbyEntity(Lnet/minecraft/entity/passive/VillagerEntity;)Z
-