Class WalkTowardsNearestVisibleWantedItemTask

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

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

    • WalkTowardsNearestVisibleWantedItemTask

      public WalkTowardsNearestVisibleWantedItemTask()
  • 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/WalkTowardsNearestVisibleWantedItemTask;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 Lbys;a(FZI)Lbxz;
    • 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/WalkTowardsNearestVisibleWantedItemTask;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 Lbys;a(Ljava/util/function/Predicate;FZI)Lbxz;