public class PacifyTask
extends Task<LivingEntity>
- Mappings:
Namespace |
Name |
official |
asr |
intermediary |
net/minecraft/class_4808 |
named |
net/minecraft/entity/ai/brain/task/PacifyTask |
-
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 int |
duration |
|
-
-
Method Summary
-
Field Details
-
duration
private final int duration
- Mappings:
Namespace |
Name |
Mixin selector |
official |
b |
Lasr;b:I |
intermediary |
field_22287 |
Lnet/minecraft/class_4808;field_22287:I |
named |
duration |
Lnet/minecraft/entity/ai/brain/task/PacifyTask;duration:I |
-
Constructor Details
-
PacifyTask
- Mappings:
Namespace |
Name |
Mixin selector |
official |
<init> |
Lasr;<init>(Lazf;I)V |
intermediary |
<init> |
Lnet/minecraft/class_4808;<init>(Lnet/minecraft/class_4140;I)V |
named |
<init> |
Lnet/minecraft/entity/ai/brain/task/PacifyTask;<init>(Lnet/minecraft/entity/ai/brain/MemoryModuleType;I)V |
-
Method Details
-
run
- Overrides:
run
in class Task<LivingEntity>
- Mappings:
Namespace |
Name |
Mixin selector |
official |
a |
Lass;a(Laav;Lari;J)V |
intermediary |
method_18920 |
Lnet/minecraft/class_4097;method_18920(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V |
named |
run |
Lnet/minecraft/entity/ai/brain/task/Task;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V |