Class LookAroundTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<MobEntity>
net.minecraft.entity.ai.brain.task.LookAroundTask
- Mappings:
Namespace Name intermediary net/minecraft/class_4110official biunamed 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfinishRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2) protected voidkeepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2) protected booleanshouldKeepRunning(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 intermediary <init>Lnet/minecraft/class_4110;<init>(II)Vofficial <init>Lbiu;<init>(II)Vnamed <init>Lnet/minecraft/entity/ai/brain/task/LookAroundTask;<init>(II)V
-
-
Method Details
-
shouldKeepRunning
- Overrides:
shouldKeepRunningin classMultiTickTask<MobEntity>- Mappings:
Namespace Name Mixin selector intermediary method_18967Lnet/minecraft/class_4110;method_18967(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)Zofficial aLbiu;a(Laif;Lbfz;J)Znamed shouldKeepRunningLnet/minecraft/entity/ai/brain/task/LookAroundTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)Z
-
finishRunning
- Overrides:
finishRunningin classMultiTickTask<MobEntity>- Mappings:
Namespace Name Mixin selector intermediary method_18968Lnet/minecraft/class_4110;method_18968(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)Vofficial bLbiu;b(Laif;Lbfz;J)Vnamed finishRunningLnet/minecraft/entity/ai/brain/task/LookAroundTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V
-
keepRunning
- Overrides:
keepRunningin classMultiTickTask<MobEntity>- Mappings:
Namespace Name Mixin selector intermediary method_18969Lnet/minecraft/class_4110;method_18969(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)Vofficial cLbiu;c(Laif;Lbfz;J)Vnamed keepRunningLnet/minecraft/entity/ai/brain/task/LookAroundTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V
-