Class GoTowardsLookTargetTask

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

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

    • GoTowardsLookTargetTask

      public GoTowardsLookTargetTask()
  • Method Details

    • create

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

      public static SingleTickTask<LivingEntity> create(Predicate<LivingEntity> predicate, Function<LivingEntity,Float> speed, int completionRange)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjx;a(Ljava/util/function/Predicate;Ljava/util/function/Function;I)Lbjb;
      intermediary method_47109 Lnet/minecraft/class_4120;method_47109(Ljava/util/function/Predicate;Ljava/util/function/Function;I)Lnet/minecraft/class_7894;
      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;