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 avm
intermediary net/minecraft/class_4100
named 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 void
run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
private static boolean
wasHurtByNearbyEntity(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:
run
in classTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector official a
Lavm;a(Laav;Lbgy;J)V
intermediary method_20645
Lnet/minecraft/class_4100;method_20645(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
named run
Lnet/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 a
Lavm;a(Lbgy;)Z
intermediary method_19557
Lnet/minecraft/class_4100;method_19557(Lnet/minecraft/class_1646;)Z
named wasHurtByNearbyEntity
Lnet/minecraft/entity/ai/brain/task/StopPanickingTask;wasHurtByNearbyEntity(Lnet/minecraft/entity/passive/VillagerEntity;)Z
-