Class StrollTask

java.lang.Object
net.minecraft.entity.ai.brain.task.Task<PathAwareEntity>
net.minecraft.entity.ai.brain.task.StrollTask
Direct Known Subclasses:
AquaticStrollTask

public class StrollTask
extends Task<PathAwareEntity>
Mappings:
Namespace Name
official aub
intermediary net/minecraft/class_4818
named net/minecraft/entity/ai/brain/task/StrollTask
  • Field Details

    • speed

      private final float speed
      Mappings:
      Namespace Name Mixin selector
      official d Laub;d:F
      intermediary field_22310 Lnet/minecraft/class_4818;field_22310:F
      named speed Lnet/minecraft/entity/ai/brain/task/StrollTask;speed:F
    • horizontalRadius

      protected final int horizontalRadius
      Mappings:
      Namespace Name Mixin selector
      official b Laub;b:I
      intermediary field_22311 Lnet/minecraft/class_4818;field_22311:I
      named horizontalRadius Lnet/minecraft/entity/ai/brain/task/StrollTask;horizontalRadius:I
    • verticalRadius

      protected final int verticalRadius
      Mappings:
      Namespace Name Mixin selector
      official c Laub;c:I
      intermediary field_22312 Lnet/minecraft/class_4818;field_22312:I
      named verticalRadius Lnet/minecraft/entity/ai/brain/task/StrollTask;verticalRadius:I
  • Constructor Details

    • StrollTask

      public StrollTask​(float speed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laub;<init>(F)V
      intermediary <init> Lnet/minecraft/class_4818;<init>(F)V
      named <init> Lnet/minecraft/entity/ai/brain/task/StrollTask;<init>(F)V
    • StrollTask

      public StrollTask​(float speed, int horizontalRadius, int verticalRadius)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laub;<init>(FII)V
      intermediary <init> Lnet/minecraft/class_4818;<init>(FII)V
      named <init> Lnet/minecraft/entity/ai/brain/task/StrollTask;<init>(FII)V
  • Method Details

    • run

      protected void run​(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
      Overrides:
      run in class Task<PathAwareEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Laub;a(Laav;Larq;J)V
      intermediary method_24594 Lnet/minecraft/class_4818;method_24594(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;J)V
      named run Lnet/minecraft/entity/ai/brain/task/StrollTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;J)V
    • method_33201

      @Nullable protected Vec3d method_33201​(PathAwareEntity pathAwareEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Laub;a(Larq;)Ldiu;
      intermediary method_33201 Lnet/minecraft/class_4818;method_33201(Lnet/minecraft/class_1314;)Lnet/minecraft/class_243;
      named method_33201 Lnet/minecraft/entity/ai/brain/task/StrollTask;method_33201(Lnet/minecraft/entity/mob/PathAwareEntity;)Lnet/minecraft/util/math/Vec3d;