Class LookAroundTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<MobEntity>
net.minecraft.entity.ai.brain.task.LookAroundTask
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/LookAroundTask
intermediary net/minecraft/class_4110
official bwb
-
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 named <init>
Lnet/minecraft/entity/ai/brain/task/LookAroundTask;<init>(II)V
intermediary <init>
Lnet/minecraft/class_4110;<init>(II)V
official <init>
Lbwb;<init>(II)V
-
-
Method Details
-
shouldKeepRunning
- Overrides:
shouldKeepRunning
in classMultiTickTask<MobEntity>
- Mappings:
Namespace Name Mixin selector named shouldKeepRunning
Lnet/minecraft/entity/ai/brain/task/LookAroundTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)Z
intermediary method_18967
Lnet/minecraft/class_4110;method_18967(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)Z
official a
Lbwb;a(Laqm;Lbte;J)Z
-
finishRunning
- Overrides:
finishRunning
in classMultiTickTask<MobEntity>
- Mappings:
Namespace Name Mixin selector named finishRunning
Lnet/minecraft/entity/ai/brain/task/LookAroundTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V
intermediary method_18968
Lnet/minecraft/class_4110;method_18968(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)V
official b
Lbwb;b(Laqm;Lbte;J)V
-
keepRunning
- Overrides:
keepRunning
in classMultiTickTask<MobEntity>
- Mappings:
Namespace Name Mixin selector named keepRunning
Lnet/minecraft/entity/ai/brain/task/LookAroundTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V
intermediary method_18969
Lnet/minecraft/class_4110;method_18969(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)V
official c
Lbwb;c(Laqm;Lbte;J)V
-