Class LookAroundTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<MobEntity>
net.minecraft.entity.ai.brain.task.LookAroundTask
- Mappings:
Namespace Name official biw
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.MultiTickTask
MultiTickTask.Status
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
DEFAULT_RUN_TIME, 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.MultiTickTask
getName, getStatus, hasRequiredMemoryState, isTimeLimitExceeded, run, shouldRun, stop, tick, tryStarting
-
Constructor Details
-
LookAroundTask
public LookAroundTask(int minRunTime, int maxRunTime) - Mappings:
Namespace Name Mixin selector official <init>
Lbiw;<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 classMultiTickTask<MobEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbiw;a(Laif;Lbgb;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 classMultiTickTask<MobEntity>
- Mappings:
Namespace Name Mixin selector official b
Lbiw;b(Laif;Lbgb;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 classMultiTickTask<MobEntity>
- Mappings:
Namespace Name Mixin selector official c
Lbiw;c(Laif;Lbgb;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
-