Class LookAroundTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<MobEntity>
net.minecraft.entity.ai.brain.task.LookAroundTask
- Mappings:
Namespace Name official bdyintermediary net/minecraft/class_4110named 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
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.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>Lbdy;<init>(II)Vintermediary <init>Lnet/minecraft/class_4110;<init>(II)Vnamed <init>Lnet/minecraft/entity/ai/brain/task/LookAroundTask;<init>(II)V
-
-
Method Details
-
shouldKeepRunning
- Overrides:
shouldKeepRunningin classTask<MobEntity>- Mappings:
Namespace Name Mixin selector official aLbdy;a(Lafo;Lbbh;J)Zintermediary method_18967Lnet/minecraft/class_4110;method_18967(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;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 classTask<MobEntity>- Mappings:
Namespace Name Mixin selector official bLbdy;b(Lafo;Lbbh;J)Vintermediary method_18968Lnet/minecraft/class_4110;method_18968(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;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 classTask<MobEntity>- Mappings:
Namespace Name Mixin selector official cLbdy;c(Lafo;Lbbh;J)Vintermediary method_18969Lnet/minecraft/class_4110;method_18969(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)Vnamed keepRunningLnet/minecraft/entity/ai/brain/task/LookAroundTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V
-