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 axgintermediary 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 Modifier and Type Field Description private static intfield_30188Fields 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
-
Field Details
-
field_30188
private static final int field_30188- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official aLaxg;a:Iintermediary field_30188Lnet/minecraft/class_4100;field_30188:Inamed field_30188Lnet/minecraft/entity/ai/brain/task/StopPanickingTask;field_30188:I
-
-
Constructor Details
-
StopPanickingTask
public StopPanickingTask()
-
-
Method Details
-
run
- Overrides:
runin classTask<VillagerEntity>- Mappings:
Namespace Name Mixin selector official aLaxg;a(Labj;Lbis;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 aLaxg;a(Lbis;)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
-