Class FindEntityTask

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

public class FindEntityTask extends Object
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/FindEntityTask
intermediary net/minecraft/class_4106
official bvs
  • Constructor Details

    • FindEntityTask

      public FindEntityTask()
  • Method Details

    • create

      public static <T extends LivingEntity> Task<LivingEntity> create(EntityType<? extends T> type, int maxDistance, MemoryModuleType<T> targetModule, float speed, int completionRange)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/ai/brain/task/FindEntityTask;create(Lnet/minecraft/entity/EntityType;ILnet/minecraft/entity/ai/brain/MemoryModuleType;FI)Lnet/minecraft/entity/ai/brain/task/Task;
      intermediary method_18941 Lnet/minecraft/class_4106;method_18941(Lnet/minecraft/class_1299;ILnet/minecraft/class_4140;FI)Lnet/minecraft/class_7893;
      official a Lbvs;a(Lbsn;ILccg;FI)Lbuw;
    • create

      public static <E extends LivingEntity, T extends LivingEntity> Task<E> create(EntityType<? extends T> type, int maxDistance, Predicate<E> entityPredicate, Predicate<T> targetPredicate, MemoryModuleType<T> targetModule, float speed, int completionRange)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/ai/brain/task/FindEntityTask;create(Lnet/minecraft/entity/EntityType;ILjava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/entity/ai/brain/MemoryModuleType;FI)Lnet/minecraft/entity/ai/brain/task/Task;
      intermediary method_46957 Lnet/minecraft/class_4106;method_46957(Lnet/minecraft/class_1299;ILjava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/class_4140;FI)Lnet/minecraft/class_7893;
      official a Lbvs;a(Lbsn;ILjava/util/function/Predicate;Ljava/util/function/Predicate;Lccg;FI)Lbuw;