Class LookAtMobTask

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

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

    • LookAtMobTask

      public LookAtMobTask()
  • Method Details

    • create

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

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

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

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