Class WalkToNearestVisibleWantedItemTask

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

public class WalkToNearestVisibleWantedItemTask extends Object
Mappings:
Namespace Name
official bow
intermediary net/minecraft/class_4815
named net/minecraft/entity/ai/brain/task/WalkToNearestVisibleWantedItemTask
  • Constructor Details

    • WalkToNearestVisibleWantedItemTask

      public WalkToNearestVisibleWantedItemTask()
  • Method Details

    • create

      public static Task<LivingEntity> create(float speed, boolean requiresWalkTarget, int radius)
      Mappings:
      Namespace Name Mixin selector
      official a Lbow;a(FZI)Lbod;
      intermediary method_46943 Lnet/minecraft/class_4815;method_46943(FZI)Lnet/minecraft/class_7893;
      named create Lnet/minecraft/entity/ai/brain/task/WalkToNearestVisibleWantedItemTask;create(FZI)Lnet/minecraft/entity/ai/brain/task/Task;
    • create

      public static <E extends LivingEntity> Task<E> create(Predicate<E> startCondition, float speed, boolean requiresWalkTarget, int radius)
      Mappings:
      Namespace Name Mixin selector
      official a Lbow;a(Ljava/util/function/Predicate;FZI)Lbod;
      intermediary method_46947 Lnet/minecraft/class_4815;method_46947(Ljava/util/function/Predicate;FZI)Lnet/minecraft/class_7893;
      named create Lnet/minecraft/entity/ai/brain/task/WalkToNearestVisibleWantedItemTask;create(Ljava/util/function/Predicate;FZI)Lnet/minecraft/entity/ai/brain/task/Task;