Class RangedApproachTask

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

public class RangedApproachTask extends Object
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/RangedApproachTask
intermediary net/minecraft/class_4822
official bxm
  • Field Details

    • WEAPON_REACH_REDUCTION

      private static final int WEAPON_REACH_REDUCTION
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named WEAPON_REACH_REDUCTION Lnet/minecraft/entity/ai/brain/task/RangedApproachTask;WEAPON_REACH_REDUCTION:I
      intermediary field_30166 Lnet/minecraft/class_4822;field_30166:I
      official a Lbxm;a:I
  • Constructor Details

    • RangedApproachTask

      public RangedApproachTask()
  • Method Details

    • create

      public static Task<MobEntity> create(float speed)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/ai/brain/task/RangedApproachTask;create(F)Lnet/minecraft/entity/ai/brain/task/Task;
      intermediary method_47094 Lnet/minecraft/class_4822;method_47094(F)Lnet/minecraft/class_7893;
      official a Lbxm;a(F)Lbvi;
    • create

      public static Task<MobEntity> create(Function<LivingEntity,Float> speed)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/ai/brain/task/RangedApproachTask;create(Ljava/util/function/Function;)Lnet/minecraft/entity/ai/brain/task/Task;
      intermediary method_47098 Lnet/minecraft/class_4822;method_47098(Ljava/util/function/Function;)Lnet/minecraft/class_7893;
      official a Lbxm;a(Ljava/util/function/Function;)Lbvi;