Class WalkTowardsLookTargetTask

java.lang.Object
net.minecraft.entity.ai.brain.task.WalkTowardsLookTargetTask

public class WalkTowardsLookTargetTask extends Object
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/WalkTowardsLookTargetTask
intermediary net/minecraft/class_7297
official cam
  • 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
      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;
      intermediary method_47130 Lnet/minecraft/class_7297;method_47130(Ljava/util/function/Function;Ljava/util/function/Predicate;IIF)Lnet/minecraft/class_7893;
      official a Lcam;a(Ljava/util/function/Function;Ljava/util/function/Predicate;IIF)Lbxz;