Class LookAroundTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<MobEntity>
net.minecraft.entity.ai.brain.task.LookAroundTask
public class LookAroundTask extends Task<MobEntity>
- Mappings:
Namespace Name official att
intermediary net/minecraft/class_4110
named net/minecraft/entity/ai/brain/task/LookAroundTask
-
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 LookAroundTask(int minRunTime, int maxRunTime)
-
Method Summary
Modifier and Type Method Description protected void
finishRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2)
protected void
keepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2)
protected boolean
shouldKeepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2)
Methods inherited from class net.minecraft.entity.ai.brain.task.Task
getStatus, isTimeLimitExceeded, run, shouldRun, stop, tick, toString, tryStarting
-
Constructor Details
-
LookAroundTask
public LookAroundTask(int minRunTime, int maxRunTime)- Mappings:
Namespace Name Mixin selector official <init>
Latt;<init>(II)V
intermediary <init>
Lnet/minecraft/class_4110;<init>(II)V
named <init>
Lnet/minecraft/entity/ai/brain/task/LookAroundTask;<init>(II)V
-
-
Method Details
-
shouldKeepRunning
- Overrides:
shouldKeepRunning
in classTask<MobEntity>
- Mappings:
Namespace Name Mixin selector official a
Latt;a(Laav;Larj;J)Z
intermediary method_18967
Lnet/minecraft/class_4110;method_18967(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)Z
named shouldKeepRunning
Lnet/minecraft/entity/ai/brain/task/LookAroundTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)Z
-
finishRunning
- Overrides:
finishRunning
in classTask<MobEntity>
- Mappings:
Namespace Name Mixin selector official b
Latt;b(Laav;Larj;J)V
intermediary method_18968
Lnet/minecraft/class_4110;method_18968(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)V
named finishRunning
Lnet/minecraft/entity/ai/brain/task/LookAroundTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V
-
keepRunning
- Overrides:
keepRunning
in classTask<MobEntity>
- Mappings:
Namespace Name Mixin selector official c
Latt;c(Laav;Larj;J)V
intermediary method_18969
Lnet/minecraft/class_4110;method_18969(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)V
named keepRunning
Lnet/minecraft/entity/ai/brain/task/LookAroundTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V
-