Class LookAroundTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<MobEntity>
net.minecraft.entity.ai.brain.task.LookAroundTask
- Mappings:
Namespace Name official awj
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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>
Lawj;<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
Lawj;a(Labr;Latv;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
Lawj;b(Labr;Latv;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
Lawj;c(Labr;Latv;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
-