Class WalkTowardsLookTargetTask
java.lang.Object
net.minecraft.entity.ai.brain.task.WalkTowardsLookTargetTask
- Mappings:
Namespace Name official bnk
intermediary net/minecraft/class_7297
named net/minecraft/entity/ai/brain/task/WalkTowardsLookTargetTask
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Task<LivingEntity>
create
(Function<LivingEntity, Optional<LookTarget>> lookTargetFunction, Predicate<LivingEntity> predicate, int completionRange, int searchRange, float speed)
-
Constructor Details
-
WalkTowardsLookTargetTask
public WalkTowardsLookTargetTask()
-
-
Method Details
-
create
public static Task<LivingEntity> create(Function<LivingEntity, Optional<LookTarget>> lookTargetFunction, Predicate<LivingEntity> predicate, int completionRange, int searchRange, float speed) - Mappings:
Namespace Name Mixin selector official a
Lbnk;a(Ljava/util/function/Function;Ljava/util/function/Predicate;IIF)Lbky;
intermediary method_47130
Lnet/minecraft/class_7297;method_47130(Ljava/util/function/Function;Ljava/util/function/Predicate;IIF)Lnet/minecraft/class_7893;
named create
Lnet/minecraft/entity/ai/brain/task/WalkTowardsLookTargetTask;create(Ljava/util/function/Function;Ljava/util/function/Predicate;IIF)Lnet/minecraft/entity/ai/brain/task/Task;
-