Class FindEntityTask

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

public class FindEntityTask extends Object
Mappings:
Namespace Name
official boz
intermediary net/minecraft/class_4106
named net/minecraft/entity/ai/brain/task/FindEntityTask
  • 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
      official a Lboz;a(Lblz;ILbvn;FI)Lbod;
      intermediary method_18941 Lnet/minecraft/class_4106;method_18941(Lnet/minecraft/class_1299;ILnet/minecraft/class_4140;FI)Lnet/minecraft/class_7893;
      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;
    • 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
      official a Lboz;a(Lblz;ILjava/util/function/Predicate;Ljava/util/function/Predicate;Lbvn;FI)Lbod;
      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;
      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;