Class WalkTowardClosestAdultTask

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

public class WalkTowardClosestAdultTask extends Object
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/WalkTowardClosestAdultTask
intermediary net/minecraft/class_5355
official bve
  • Constructor Details

    • WalkTowardClosestAdultTask

      public WalkTowardClosestAdultTask()
  • Method Details

    • create

      public static SingleTickTask<PassiveEntity> create(UniformIntProvider executionRange, float speed)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/ai/brain/task/WalkTowardClosestAdultTask;create(Lnet/minecraft/util/math/intprovider/UniformIntProvider;F)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;
      intermediary method_46896 Lnet/minecraft/class_5355;method_46896(Lnet/minecraft/class_6019;F)Lnet/minecraft/class_7894;
      official a Lbve;a(Lbqc;F)Lbws;
    • create

      public static SingleTickTask<PassiveEntity> create(UniformIntProvider executionRange, Function<LivingEntity,Float> speed)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/ai/brain/task/WalkTowardClosestAdultTask;create(Lnet/minecraft/util/math/intprovider/UniformIntProvider;Ljava/util/function/Function;)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;
      intermediary method_46897 Lnet/minecraft/class_5355;method_46897(Lnet/minecraft/class_6019;Ljava/util/function/Function;)Lnet/minecraft/class_7894;
      official a Lbve;a(Lbqc;Ljava/util/function/Function;)Lbws;