Class StrollTask

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

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

    • DEFAULT_HORIZONTAL_RADIUS

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

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

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

    • StrollTask

      public StrollTask()
  • Method Details

    • create

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

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

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

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

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

      private static SingleTickTask<PathAwareEntity> create(float speed, Function<PathAwareEntity,Vec3d> targetGetter, Predicate<PathAwareEntity> shouldRun)
      Mappings:
      Namespace Name Mixin selector
      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;
      intermediary method_47017 Lnet/minecraft/class_4818;method_47017(FLjava/util/function/Function;Ljava/util/function/Predicate;)Lnet/minecraft/class_7894;
      official a Lbwz;a(FLjava/util/function/Function;Ljava/util/function/Predicate;)Lbws;
    • findTargetPos

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

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