Class StopPanickingTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<VillagerEntity>
net.minecraft.entity.ai.brain.task.StopPanickingTask
- Mappings:
Namespace Name official bgu
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
FieldsFields inherited from class net.minecraft.entity.ai.brain.task.Task
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Field Details
-
MAX_DISTANCE
private static final int MAX_DISTANCE- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbgu;a:I
intermediary field_30188
Lnet/minecraft/class_4100;field_30188:I
named MAX_DISTANCE
Lnet/minecraft/entity/ai/brain/task/StopPanickingTask;MAX_DISTANCE:I
-
-
Constructor Details
-
StopPanickingTask
public StopPanickingTask()
-
-
Method Details
-
run
- Overrides:
run
in classTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbgu;a(Lagg;Lbtp;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
Lbgu;a(Lbtp;)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
-