Class StrollTask

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

public class StrollTask extends Object
Mappings:
Namespace Name
official bjc
intermediary net/minecraft/class_4818
named net/minecraft/entity/ai/brain/task/StrollTask
  • Field Details

    • DEFAULT_HORIZONTAL_RADIUS

      private static final int DEFAULT_HORIZONTAL_RADIUS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbjc;a:I
      intermediary field_30157 Lnet/minecraft/class_4818;field_30157:I
      named DEFAULT_HORIZONTAL_RADIUS Lnet/minecraft/entity/ai/brain/task/StrollTask;DEFAULT_HORIZONTAL_RADIUS:I
    • DEFAULT_VERTICAL_RADIUS

      private static final int DEFAULT_VERTICAL_RADIUS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbjc;b:I
      intermediary field_30158 Lnet/minecraft/class_4818;field_30158:I
      named DEFAULT_VERTICAL_RADIUS Lnet/minecraft/entity/ai/brain/task/StrollTask;DEFAULT_VERTICAL_RADIUS:I
    • RADII

      private static final int[][] RADII
      Mappings:
      Namespace Name Mixin selector
      official c Lbjc;c:[[I
      intermediary field_40995 Lnet/minecraft/class_4818;field_40995:[[I
      named RADII Lnet/minecraft/entity/ai/brain/task/StrollTask;RADII:[[I
  • Constructor Details

    • StrollTask

      public StrollTask()
  • Method Details

    • create

      public static SingleTickTask<PathAwareEntity> create(float speed)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjc;a(F)Lbiv;
      intermediary method_47014 Lnet/minecraft/class_4818;method_47014(F)Lnet/minecraft/class_7894;
      named create Lnet/minecraft/entity/ai/brain/task/StrollTask;create(F)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;
    • create

      public static SingleTickTask<PathAwareEntity> create(float speed, boolean strollInsideWater)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjc;a(FZ)Lbiv;
      intermediary method_47018 Lnet/minecraft/class_4818;method_47018(FZ)Lnet/minecraft/class_7894;
      named create Lnet/minecraft/entity/ai/brain/task/StrollTask;create(FZ)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;
    • create

      public static Task<PathAwareEntity> create(float speed, int horizontalRadius, int verticalRadius)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjc;a(FII)Lbhm;
      intermediary method_47015 Lnet/minecraft/class_4818;method_47015(FII)Lnet/minecraft/class_7893;
      named create Lnet/minecraft/entity/ai/brain/task/StrollTask;create(FII)Lnet/minecraft/entity/ai/brain/task/Task;
    • createSolidTargeting

      public static Task<PathAwareEntity> createSolidTargeting(float speed)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjc;b(F)Lbhm;
      intermediary method_47025 Lnet/minecraft/class_4818;method_47025(F)Lnet/minecraft/class_7893;
      named createSolidTargeting Lnet/minecraft/entity/ai/brain/task/StrollTask;createSolidTargeting(F)Lnet/minecraft/entity/ai/brain/task/Task;
    • createDynamicRadius

      public static Task<PathAwareEntity> createDynamicRadius(float speed)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjc;c(F)Lbhm;
      intermediary method_47027 Lnet/minecraft/class_4818;method_47027(F)Lnet/minecraft/class_7893;
      named createDynamicRadius Lnet/minecraft/entity/ai/brain/task/StrollTask;createDynamicRadius(F)Lnet/minecraft/entity/ai/brain/task/Task;
    • create

      private static SingleTickTask<PathAwareEntity> create(float speed, Function<PathAwareEntity,Vec3d> targetGetter, Predicate<PathAwareEntity> shouldRun)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjc;a(FLjava/util/function/Function;Ljava/util/function/Predicate;)Lbiv;
      intermediary method_47017 Lnet/minecraft/class_4818;method_47017(FLjava/util/function/Function;Ljava/util/function/Predicate;)Lnet/minecraft/class_7894;
      named create Lnet/minecraft/entity/ai/brain/task/StrollTask;create(FLjava/util/function/Function;Ljava/util/function/Predicate;)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;
    • findTargetPos

      @Nullable private static @Nullable Vec3d findTargetPos(PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjc;a(Lbgc;)Ledu;
      intermediary method_47020 Lnet/minecraft/class_4818;method_47020(Lnet/minecraft/class_1314;)Lnet/minecraft/class_243;
      named findTargetPos Lnet/minecraft/entity/ai/brain/task/StrollTask;findTargetPos(Lnet/minecraft/entity/mob/PathAwareEntity;)Lnet/minecraft/util/math/Vec3d;
    • findTargetPos

      @Nullable private static @Nullable Vec3d findTargetPos(PathAwareEntity entity, int horizontalRadius, int verticalRadius)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjc;a(Lbgc;II)Ledu;
      intermediary method_47021 Lnet/minecraft/class_4818;method_47021(Lnet/minecraft/class_1314;II)Lnet/minecraft/class_243;
      named findTargetPos Lnet/minecraft/entity/ai/brain/task/StrollTask;findTargetPos(Lnet/minecraft/entity/mob/PathAwareEntity;II)Lnet/minecraft/util/math/Vec3d;