Class LookAroundTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<MobEntity>
net.minecraft.entity.ai.brain.task.LookAroundTask
- Mappings:
Namespace Name official bgwintermediary 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.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 official <init>Lbgw;<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 classMultiTickTask<MobEntity>- Mappings:
Namespace Name Mixin selector official aLbgw;a(Lahn;Lbeh;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 classMultiTickTask<MobEntity>- Mappings:
Namespace Name Mixin selector official bLbgw;b(Lahn;Lbeh;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 classMultiTickTask<MobEntity>- Mappings:
Namespace Name Mixin selector official cLbgw;c(Lahn;Lbeh;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
-