Class WalkTowardClosestAdultTask

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

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

    • WalkTowardClosestAdultTask

      public WalkTowardClosestAdultTask()
  • Method Details

    • create

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

      public static SingleTickTask<PassiveEntity> create(UniformIntProvider executionRange, Function<LivingEntity,Float> speed)
      Mappings:
      Namespace Name Mixin selector
      official a Lbho;a(Lbdi;Ljava/util/function/Function;)Lbjb;
      intermediary method_46897 Lnet/minecraft/class_5355;method_46897(Lnet/minecraft/class_6019;Ljava/util/function/Function;)Lnet/minecraft/class_7894;
      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;