Package net.minecraft
Class class_6971
- Mappings:
Namespace Name official bnsintermediary net/minecraft/class_6971named net/minecraft/class_6971
-
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
requiredMemoryStates -
Constructor Summary
ConstructorsConstructorDescriptionclass_6971(Predicate<class_6975> predicate, Function<class_6975, Optional<? extends LivingEntity>> function, int int2) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfinishRunning(ServerWorld serverWorld, class_6975 class_6975, long long2) private voidmethod_40649(ServerWorld serverWorld, class_6975 class_6975, long long2) protected voidrun(ServerWorld serverWorld, class_6975 class_6975, long long2) protected booleanshouldKeepRunning(ServerWorld serverWorld, class_6975 class_6975, long long2) Methods inherited from class net.minecraft.entity.ai.brain.task.UpdateAttackTargetTask
shouldRunMethods inherited from class net.minecraft.entity.ai.brain.task.Task
getStatus, isTimeLimitExceeded, keepRunning, stop, tick, toString, tryStarting
-
Constructor Details
-
class_6971
public class_6971(Predicate<class_6975> predicate, Function<class_6975, Optional<? extends LivingEntity>> function, int int2)
-
-
Method Details
-
run
- Overrides:
runin classUpdateAttackTargetTask<class_6975>- Mappings:
Namespace Name Mixin selector official aLbns;a(Ladq;Lbnw;J)Vintermediary method_40646Lnet/minecraft/class_6971;method_40646(Lnet/minecraft/class_3218;Lnet/minecraft/class_6975;J)Vnamed runLnet/minecraft/class_6971;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/class_6975;J)V
-
finishRunning
- Overrides:
finishRunningin classTask<class_6975>- Mappings:
Namespace Name Mixin selector official bLbns;b(Ladq;Lbnw;J)Vintermediary method_40647Lnet/minecraft/class_6971;method_40647(Lnet/minecraft/class_3218;Lnet/minecraft/class_6975;J)Vnamed finishRunningLnet/minecraft/class_6971;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/class_6975;J)V
-
method_40649
- Mappings:
Namespace Name Mixin selector official dLbns;d(Ladq;Lbnw;J)Vintermediary method_40649Lnet/minecraft/class_6971;method_40649(Lnet/minecraft/class_3218;Lnet/minecraft/class_6975;J)Vnamed method_40649Lnet/minecraft/class_6971;method_40649(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/class_6975;J)V
-
shouldKeepRunning
- Overrides:
shouldKeepRunningin classTask<class_6975>- Mappings:
Namespace Name Mixin selector official cLbns;c(Ladq;Lbnw;J)Zintermediary method_40648Lnet/minecraft/class_6971;method_40648(Lnet/minecraft/class_3218;Lnet/minecraft/class_6975;J)Znamed shouldKeepRunningLnet/minecraft/class_6971;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/class_6975;J)Z
-