Class RangedApproachTask

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

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

    • WEAPON_REACH_REDUCTION

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

    • RangedApproachTask

      public RangedApproachTask()
  • Method Details

    • create

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

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