Class LookAtMobTask

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

public class LookAtMobTask extends Object
Mappings:
Namespace Name
official bjj
intermediary net/minecraft/class_4119
named net/minecraft/entity/ai/brain/task/LookAtMobTask
  • Constructor Details

    • LookAtMobTask

      public LookAtMobTask()
  • Method Details

    • create

      public static Task<LivingEntity> create(SpawnGroup spawnGroup, float maxDistance)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjj;a(Lbfw;F)Lbhm;
      intermediary method_47061 Lnet/minecraft/class_4119;method_47061(Lnet/minecraft/class_1311;F)Lnet/minecraft/class_7893;
      named create Lnet/minecraft/entity/ai/brain/task/LookAtMobTask;create(Lnet/minecraft/entity/SpawnGroup;F)Lnet/minecraft/entity/ai/brain/task/Task;
    • create

      public static SingleTickTask<LivingEntity> create(EntityType<?> type, float maxDistance)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjj;a(Lbfh;F)Lbiv;
      intermediary method_47057 Lnet/minecraft/class_4119;method_47057(Lnet/minecraft/class_1299;F)Lnet/minecraft/class_7894;
      named create Lnet/minecraft/entity/ai/brain/task/LookAtMobTask;create(Lnet/minecraft/entity/EntityType;F)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;
    • create

      public static SingleTickTask<LivingEntity> create(float maxDistance)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjj;a(F)Lbiv;
      intermediary method_47056 Lnet/minecraft/class_4119;method_47056(F)Lnet/minecraft/class_7894;
      named create Lnet/minecraft/entity/ai/brain/task/LookAtMobTask;create(F)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;
    • create

      public static SingleTickTask<LivingEntity> create(Predicate<LivingEntity> predicate, float maxDistance)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjj;a(Ljava/util/function/Predicate;F)Lbiv;
      intermediary method_47065 Lnet/minecraft/class_4119;method_47065(Ljava/util/function/Predicate;F)Lnet/minecraft/class_7894;
      named create Lnet/minecraft/entity/ai/brain/task/LookAtMobTask;create(Ljava/util/function/Predicate;F)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;