Class GoToLookTargetTask

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

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

    • GoToLookTargetTask

      public GoToLookTargetTask()
  • 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/GoToLookTargetTask;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 Lcaf;a(FI)Lbzj;
    • 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/GoToLookTargetTask;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 Lcaf;a(Ljava/util/function/Predicate;Ljava/util/function/Function;I)Lbzj;