Class StrollTask
java.lang.Object
net.minecraft.entity.ai.brain.task.StrollTask
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/StrollTask
intermediary net/minecraft/class_4818
official bwx
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int[][]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SingleTickTask
<PathAwareEntity> create
(float speed) static SingleTickTask
<PathAwareEntity> create
(float speed, boolean strollInsideWater) static Task
<PathAwareEntity> create
(float speed, int horizontalRadius, int verticalRadius) private static SingleTickTask
<PathAwareEntity> create
(float speed, Function<PathAwareEntity, Vec3d> targetGetter, Predicate<PathAwareEntity> shouldRun) static Task
<PathAwareEntity> createDynamicRadius
(float speed) static Task
<PathAwareEntity> createSolidTargeting
(float speed) findTargetPos
(PathAwareEntity entity) findTargetPos
(PathAwareEntity entity, int horizontalRadius, int verticalRadius)
-
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
Lbwx;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
Lbwx;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
Lbwx;c:[[I
-
-
Constructor Details
-
StrollTask
public StrollTask()
-
-
Method Details
-
create
- 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
Lbwx;a(F)Lbwq;
-
create
- 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
Lbwx;a(FZ)Lbwq;
-
create
- 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
Lbwx;a(FII)Lbvg;
-
createSolidTargeting
- 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
Lbwx;b(F)Lbvg;
-
createDynamicRadius
- 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
Lbwx;c(F)Lbvg;
-
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
Lbwx;a(FLjava/util/function/Function;Ljava/util/function/Predicate;)Lbwq;
-
findTargetPos
- 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
Lbwx;a(Lbtu;)Leww;
-
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
Lbwx;a(Lbtu;II)Leww;
-