Class FindWalkTargetTask

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

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

    • MIN_RUN_TIME

      private static final int MIN_RUN_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbfw;a:I
      intermediary field_30186 Lnet/minecraft/class_4117;field_30186:I
      named MIN_RUN_TIME Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;MIN_RUN_TIME:I
    • MAX_RUN_TIME

      private static final int MAX_RUN_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lbfw;d:I
      intermediary field_30187 Lnet/minecraft/class_4117;field_30187:I
      named MAX_RUN_TIME Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;MAX_RUN_TIME:I
    • walkSpeed

      private final float walkSpeed
      Mappings:
      Namespace Name Mixin selector
      official e Lbfw;e:F
      intermediary field_18375 Lnet/minecraft/class_4117;field_18375:F
      named walkSpeed Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;walkSpeed:F
    • maxHorizontalDistance

      private final int maxHorizontalDistance
      Mappings:
      Namespace Name Mixin selector
      official f Lbfw;f:I
      intermediary field_19352 Lnet/minecraft/class_4117;field_19352:I
      named maxHorizontalDistance Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;maxHorizontalDistance:I
    • maxVerticalDistance

      private final int maxVerticalDistance
      Mappings:
      Namespace Name Mixin selector
      official g Lbfw;g:I
      intermediary field_19353 Lnet/minecraft/class_4117;field_19353:I
      named maxVerticalDistance Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;maxVerticalDistance:I
  • Constructor Details

    • FindWalkTargetTask

      public FindWalkTargetTask(float walkSpeed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbfw;<init>(F)V
      intermediary <init> Lnet/minecraft/class_4117;<init>(F)V
      named <init> Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;<init>(F)V
    • FindWalkTargetTask

      public FindWalkTargetTask(float walkSpeed, int maxHorizontalDistance, int maxVerticalDistance)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbfw;<init>(FII)V
      intermediary <init> Lnet/minecraft/class_4117;<init>(FII)V
      named <init> Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;<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 Lbfw;a(Lafo;Lbbo;J)V
      intermediary method_18996 Lnet/minecraft/class_4117;method_18996(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;J)V
      named run Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;J)V
    • updateWalkTarget

      private void updateWalkTarget(PathAwareEntity entity, ChunkSectionPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfw;a(Lbbo;Lhq;)V
      intermediary method_20430 Lnet/minecraft/class_4117;method_20430(Lnet/minecraft/class_1314;Lnet/minecraft/class_4076;)V
      named updateWalkTarget Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;updateWalkTarget(Lnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/util/math/ChunkSectionPos;)V
    • updateWalkTarget

      private void updateWalkTarget(PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfw;a(Lbbo;)V
      intermediary method_20429 Lnet/minecraft/class_4117;method_20429(Lnet/minecraft/class_1314;)V
      named updateWalkTarget Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;updateWalkTarget(Lnet/minecraft/entity/mob/PathAwareEntity;)V