Class GoTowardsLookTargetTask

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

public class GoTowardsLookTargetTask extends Object
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/GoTowardsLookTargetTask
intermediary net/minecraft/class_4120
official bxq
  • Constructor Details

    • GoTowardsLookTargetTask

      public GoTowardsLookTargetTask()
  • Method Details

    • create

      public static SingleTickTask<LivingEntity> create(float speed, int completionRange)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/ai/brain/task/GoTowardsLookTargetTask;create(FI)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;
      intermediary method_47104 Lnet/minecraft/class_4120;method_47104(FI)Lnet/minecraft/class_7894;
      official a Lbxq;a(FI)Lbwu;
    • create

      public static SingleTickTask<LivingEntity> create(Predicate<LivingEntity> predicate, Function<LivingEntity,Float> speed, int completionRange)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/ai/brain/task/GoTowardsLookTargetTask;create(Ljava/util/function/Predicate;Ljava/util/function/Function;I)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;
      intermediary method_47109 Lnet/minecraft/class_4120;method_47109(Ljava/util/function/Predicate;Ljava/util/function/Function;I)Lnet/minecraft/class_7894;
      official a Lbxq;a(Ljava/util/function/Predicate;Ljava/util/function/Function;I)Lbwu;