Class WalkToNearestVisibleWantedItemTask

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

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

    • WalkToNearestVisibleWantedItemTask

      public WalkToNearestVisibleWantedItemTask()
  • Method Details

    • create

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

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